search for: granger

Displaying 20 results from an estimated 46 matches for "granger".

2011 Apr 14
1
Automatically extract info from Granger causality output
Dear Community, this is my first programming in R and I am stuck with a problem. I have the following code which automatically calculates Granger causalities from a variable, say e.g. "bs" as below, to all other variables in the data frame: log.returns<-as.data.frame( lapply(daten, function(x) diff(log(ts(x))))) y1<-log.returns$bs y2<- log.returns[,!(names(log.returns) %in% "bs")] Granger<- function(y1,y2) {m...
2011 Mar 03
2
Multivariate Granger Causality Tests
Dear Community, For my masters thesis I need to perform a multivariate granger causality test. I have found a code for bivariate testing on this page (http://www.econ.uiuc.edu/~econ472/granger.R.txt), which I think would not be useful for the multivariate case. Does anybody know a code for a multivariate granger causality test. Thank you in advance. Best Regards -- View thi...
2010 Dec 01
1
Wiener-Granger Causality Test in R
Hello dudes. I'm developing VAR analysis based on suggestions made by Horváth in its paper Canonical Correlation Analysis and Wiener-Granger Causality Tests. That's the reason I'm looking for if there's any R package to develop Wiener - Granger Causality Test. Thanks a lot for your unvaluable help. Regards from Mexico [[alternative HTML version deleted]]
2011 Apr 04
1
Granger Causality in a VAR Model
Dear Community, I am new to R and have a question concerning the causality () test in the vars package. I need to test whether, say, the variable y Granger causes the variable x, given z as a control variable. I estimated the VAR model as follows: >model<-VAR(cbind(x,y,z),p=2) Then I did the following: >causality(model, cause="y"). I thing this tests the Granger causality of y on the vector (x,z), though. How can I implement the t...
2008 Jul 02
2
Optimal lag selection in Granger Causality tests
Dear R Users, Can someone point me to a R package which will help me optimally choose a lag for Granger Causality testing ? Many thanks in advance, Tolga Generally, this communication is for informational purposes only and it is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. In the event you are receiv...
2008 Jun 28
1
Converting the results of granger.test into a matrix
Dear R Users, The granger.test command in the MSBVAR package estimates all possible bivariate Granger causality tests for m variables. If one passes a data frame with 3 rows, it returns 6 granger tests in two rows, one for the F-statistic and another for the p-value. For example: > a<-rnorm(1:10) > b<-c(lag...
2010 Nov 03
0
Granger causality with panel data (econometrics question)
Hi folks, I am trying to perform a Granger causality analysis with panel data. There are some packages around for panel data analysis and Granger causality. However, I have found neither a package for both panel data and Granger causality nor any R procedures (homogenous/heterogenous causality hypotheses, related tests such as Wald, uni...
2010 Aug 23
2
Engle Granger Test in R
Hi, Please tell me the R codes for Engle Granger Test of cointegration. TIA Aditya
2007 Apr 09
1
Modified Sims test
Does anyone know of a package that includes the Modified Sims test [Gewerke, 1983, Sims, 1972]? This test is used in econometrics and is a kind of alternative to the Granger test [Granger, 1969], which is in the package lmtest. Thanks in advance, chris Refernces: Gewerke, J., R. Meese, and W. Dent (1983), "Comparing Alternative Tests of Causality in Temporal Systems: Analytic Results and Experimental Evidence." Journal of Econometrics, 83, 161-194. Gran...
2013 Apr 30
0
Panel Granger Causality Tests
Hi, I was wondering if there is a package/function for Panel Granger non-causality tests? I am interested in Toda-Yamamoto procedure in panel data setting. Thank you, -- View this message in context: http://r.789695.n4.nabble.com/Panel-Granger-Causality-Tests-tp4665834.html Sent from the R help mailing list archive at Nabble.com.
2013 May 04
0
Panel Granger Non-Causality Tests in R
Hi, I was wondering if there is a package/function for Panel Granger non-causality tests? I am interested in Toda-Yamamoto like procedure for panel models. Thank you, -- View this message in context: http://r.789695.n4.nabble.com/Panel-Granger-Non-Causality-Tests-in-R-tp4666316.html Sent from the R help mailing list archive at Nabble.com.
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 > This works fine in granger.test from the MSBVAR package:...
2005 Oct 06
4
Backup Maildir
...'m not sure if a full back up is the best way to do backups. I know with my fileserver i do weekly full backup and daily incremental which would file on those type of files. I guess my question to the group is, how do you guys backup Maildir? whats the best way of doing it? -- Gabe Granger Pancentric results-driven communications and e-solutions +44 (0) 20 8877 0230 http://www.pancentric.com
2009 Nov 16
2
test for causality
Hi useRs.. I cant figure out how to test for causality using causality() in vars package I have two datasets (A, B) and i want to test if A (Granger)cause B. How do I write the script? I dont understand ?causality. How do I get x to "contain" A and B. Further using the command VAR() to specify x, I dont either understand. Kind regards Tobias -- View this message in context: http://old.nabble.com/test-for-causality-tp26373931p263739...
2003 Jun 10
1
Regression output labels
...ot;output" stand for: "xlag(x,-1)GE" "xD.GE" "xD.lag(diff(x), -i)GE" "xD.D.lag(diff(x), -i)GE" Thanks for the clarifications -- I don't want to "misspeculate" on the actual interpretations, here... Also... 2. When an Engle-Granger test is run on multiple independent variables, only one cointegration vector is returned. Can one tell "which vector" -- or what two variables' relationship -- is being identified for the R output. Likewise, if I run a Johansen test, does R "tell me" specifically which pa...
2008 Dec 03
2
Spectral Analysis of Time Series in R
...ould be happy if I could at least get a functional estimate of the spectral density matrix. I guess this should work because R can plot the kernel density estimator of the spectral density, so it should be possible to extract the underlying function estimate. (3) Is there any possibility to do Granger Causality in R? That means fitting an VAR model and testing if some coefficients are zero. Thank you very much in advance! Best Regards, Alexander T
2012 Jul 28
4
quantreg Wald-Test
...ing the quantreg package. Well, here we go, I appreciate every little comment or help as I really do not know how to tell R what I want it to do^^ My situation is as follows: I have a data set containing a (dependent) vector Y and the regressor X. My aim is to check whether the two variables do not granger-cause each other in quantiles. I started to compute via quantreg for a single tau:= q: rq(Y_t~Y_(t-1)+Y_(t-2)+...+X_(t-1)+X_(t-2)+...,tau=q) This gives me the quantile regression coefficients. Now I want to check whether all the coefficients of X are equal to zero (for this specific tau). Can I do...
2017 Dec 09
2
NUT Restart Issue
I am using Ubuntu 16.04 LTS using NUT 2.7.4 with an APC Back-UPS RS1000G. The problem is I do test shutdown using sudo upsmon -c fsd and my computer shuts down ok but no matter how long I wait it never turns back on. Is there a way to fix this. I am using the usbhid-ups driver. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 Apr 20
1
Convergent Cross Mapping
Dear All, I am looking for an R implementation of the convergent cross mapping method (see http://bit.ly/XN8OZX and http://www.uvm.edu/~cdanfort/csc-reading-group/sugihara-causality-science-2012.pdf ) The method is presented as an improvement over Granger causality ( http://bit.ly/XN8ydi ), but its implementation (involving shadows of multidimensional manifolds) must be quite some work... Does anybody know if there is an R implementation somewhere? Cheers Lorenzo
2012 Jul 14
1
Quantile Regression - Testing for Non-causalities in quantiles
Dear all, I am searching for a way to compute a test comparable to Chuang et al. ("Causality in Quantiles and Dynamic Stock Return-Volume Relations"). The aim of this test is to check wheter the coefficient of a quantile regression granger-causes Y in a quantile range. I have nearly computed everything but I am searching for an estimator of the density of the distribution at several points of the distribution. As the quantreg-package of Roger Koenker is also able to compute confidence intervalls for quantile regression (which also co...