similar to: irfs from a no intercept VAR

Displaying 20 results from an estimated 1000 matches similar to: "irfs from a no intercept VAR"

2007 Oct 12
1
calculate impulse responses
Dear R users, I need perform structural analysis on a no intercept VAR model. Unfortunately the functions irf.VAR and dfev that come with the MSBVAR package only work with objects output by the reduced.form.var function, which seems to only evaluate VAR models with intercept. Is there a way to suppress the estimation of intercept term in reduced.form.var? Do I need to modify the code, and if I
2007 Oct 13
2
a question on impulse responses
Dear R users, I am using the vars package to calculate the impulse response functions and the forecast error variance decomposition of a VAR model. Unfortunately I do not know whether these functions assume unit or one standard deviation shocks. I tried to look into the code of these functions, but in vain: neither irf, nor vars::irf, nor vars:::irf output the code of the functions. Does someone
2007 Oct 11
5
rearrange data columns
Dear R users, I need to to the the following. Let a= 1 2 3 4 5 6 and b= -1 -2 -3 be (2x3) matrices. -4 -5 -6 I need to combine the two matrices into a new (2x6) matrix like this: ab = ( 1 -1 2 -2 3 -3 ) 4 -4 5 -5 6 -6 How can this be done in R? ----------------------------------------------------------------- ?????? ???
2007 Aug 09
0
Interpret impulse response functions from irf in MSBVAR library
Hello, I am wondering if anyone knows how to interpret the values returned by irf function in the MSBVAR library. Some of the literature I have read indicates that impulse responses in the dependent variables are often based on a 1 unit change in the independent variable, but other sources suggest that they are based on a a change of 1 standard deviation. Any ideas which irf uses to compute the
2007 Oct 09
0
weighted symmetric estimator
Dear R users, Has anyone implemented the weighted symmetric estimator, as inaugurated by Park,H. J. and Fuller,W. A,"Alternative estimators and unit root tests for the autoregressive process"? Is there a package that supports such estimation? Any idea how to perform it it R? Regards, Martin Ivanov ----------------------------------------------------------------- ?????? ??? - ??
2013 Mar 30
0
Scoping issue with irf() from {vars}
Dear all: There seems to be a problem with scoping, for irf() in vars, when called within a function. Try the following: ----------------------- testfun <- function(lags){ data(Canada) var.2c <- VAR(Canada, p = lags, type = "const") print(var.2c) } testfun(lags=3) ## Everything OK. Now this: testfun2 <- function(lags){ data(Canada) var.2c <- VAR(Canada, p = lags, type =
2010 Nov 30
3
saving multiple panes to PNG
After searching multiple combinations of keywords over the past two days and downloading n R graphics tutorials, I have not been able to find anything online or in my R books about how to save multiple plot panes to PNG. Specifically, I am using the irf() function in the vars package to generate plots of Impulse Response Functions: > x.data <-
2012 Jul 09
1
Using loops to create matrices where the variables is called with $
Hi there, I am trying to make a VECM model which does a loop to pull of long run impact coefficients. The problem is that to calculate these for a,b,c I use the irf() function and they are stored in irf$a, irf$b, irf$c. What I would really like is to be able to call irf$[variablename(x)] where I can loop through i:n for x and it will pull out the right variable. This is a bit of a waste of time
2011 Feb 04
0
MSBVAR and hc.forecast
attempting to do multivariate modelling in R with known future conditions (in this case variable 'b') using MSBVAR and hc.forecast. The sample code (a paired down representation) does not give anywhere near the expected results - I am assuming that a forecast 8 steps out would approximate 'a' as the sequence 1.1,2.1,3.1,100.1 corresponding to the input set. I have varied the input
2007 Sep 12
1
vars package, impulse response functions ??
I am fitting a reduced form VAR model using VAR in the vars library. I have several endogenous variables, and two exogenous variables. I would like to explore the effects of a shock to one of the exogenous variables on one of the endogenous variables. Using irf in the vars library only calculates the irf for the endogenous variables, this is obviously by design, is there some theoretical
2010 May 30
1
Calling fft from C
Hi I have made a R function 'convolve2' for convolution of two real valued vectors based on Rs 'convolve' with option type="open" - see below. (exp.length and irf.length are variables set in another part of the program) I wish to implement the function convolve2 in C and use it in a function used from R with .Call - e.g. I need to call fft in C. All I can find in the
2008 Sep 04
2
Projecting Survival Curve into the Future
Hello, I have a survivor curve that shows account cancellations during the past 3.5 months.  Fortunately for our business, but unfortunately for my analysis, the survivor curve doesn't yet pass through 50%.  Is there a safe way to extend the survivor curve and estimate at what time we'll hit 50%? We started a new program 3.5 months ago, and I believe that this set of accounts behaves
2011 Aug 22
0
CRAN packages maintained by you
It is A Good Thing to regularize Authors and Maintainers of packages, particularly for citation() and toBibTex(). Could I add a suggested TODO item for the maintainer of package.skeleton and friends to help reinforce this for new packages: - Please add appropriate templates for Author at R in the skeleton DESCRIPTION file generated, indicating the proper format as well as the use of role= to
2008 Jun 01
2
how to analyze time series structures?
h?, I am preparing undergraduate thesis If you help me this would make me feel good. First I need to analyze effect of Dow Jones Industrial average(DJIA)'s return on Istanbul Stock Exchange(ISE). I want to use Markov-Switching Bayesian Vector Autoregression Models (MSBVAR) that is used to examine the effect of a large economy?s stock exchange movement on a small economy?s stock exchange
2018 May 22
0
DCC model simulation in R
Hi, I have used R rmgarch package to implement EGARCH ADCC model from which I can extract conditional covariance matrix. Now I would like to introduce positive and/or negative shocks to see the asymmetric response of covariance. I have come to know that impulse response function (IRF) or volatility IRF is not compatible for any asymmetric models, therefore, the only way to introduce shocks into
2007 Jan 09
0
Random effects and level 1 censoring
I have a question about constructing the likelihood function where there is censoring at level 1 in a two-level random effects sum. In a conventional solution, the likelihood function is constructed using the density for failures and the survivor function for (in this case, right) censored results. Within (for example) an R environment, this is easy to do and gives the same solution as survreg
2008 Aug 17
2
grangertest/lmtest ... what am I doing wrong ?
Dear Achim, R Users, What am I doing wrong in this example ? a<-zoo(rnorm(100),order.by=1:100) b<-lag(a) regr<-na.exclude(merge(a,b)) plot(regr) grangertest(regr[,1],regr[,2],3) > a<-zoo(rnorm(100),order.by=1:100) > b<-lag(a) > regr<-na.exclude(merge(a,b)) > plot(regr) > grangertest(regr[,1],regr[,2],3) Error in solve(vc[ovar, ovar]) : subscript out of bounds
2012 Oct 22
0
"Vars" package: impulse response function
Hello, I'm using VAR models in R in order to obtain impulse responses of stock market shock on US economy. I have series of quarterly changes in real gdp, S&P 500 and quarterly level of unemployment for 1985 - 2012 period. My series are stationary. So I did all the steps below. However I don't understand what do irf function results mean. These are the cumulative orthogonal responses
2009 Jan 04
0
Rattle 2.4.0 (Data Mining GUI using R)
Version 2.4.0 of Rattle has been released to CRAN. The rattle package (http://rattle.togaware.com) is a multi platform (GNU/Linux, Mac/OSX, MS/Windows) GTK based GUI for data mining (for exploring data and building descriptive and predictive models). It has undergone a lot of development over the past year. A companion book introducing data mining using Rattle is under development, with a draft
2009 Jan 04
0
Rattle 2.4.0 (Data Mining GUI using R)
Version 2.4.0 of Rattle has been released to CRAN. The rattle package (http://rattle.togaware.com) is a multi platform (GNU/Linux, Mac/OSX, MS/Windows) GTK based GUI for data mining (for exploring data and building descriptive and predictive models). It has undergone a lot of development over the past year. A companion book introducing data mining using Rattle is under development, with a draft