similar to: Wiener-Granger Causality Test in R

Displaying 20 results from an estimated 800 matches similar to: "Wiener-Granger Causality Test in R"

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%
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 this message in context:
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
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
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:
2010 Oct 13
1
Program BFAST
Hi everybody. I'm using BFAST program and I have some data to be analized (named "META.csv" for example). When I call BFAST in the following way: meta <- read.csv("C:/META.csv") meta.ts<-ts(meta, frequency=12, start = c(2005,9)) dis<-frequency(meta.ts) / length(meta.ts) meta.sc<-bfast(meta.ts, h=dis, max.iter=1) meta.sc$output The last statement has the
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, unit root tests etc.). Of course, someone must have
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 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(a),rnorm(1)) > c<-c(lag(b),rnorm(1)) >
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
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
2008 Dec 03
2
Spectral Analysis of Time Series in R
Dear R Community, I am currently student at the Vienna University of Technology writing my Diploma thesis on causality in time series and doing some analyses of time series in R. I have the following questions: (1) Is there a function in R to estimate the PARTIAL spectral coherence of a multivariate time series? If yes, how does this work? Is there an test in R if the partial spectral
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...
2010 Aug 23
2
Engle Granger Test in R
Hi, Please tell me the R codes for Engle Granger Test of cointegration. TIA Aditya
2010 Dec 29
2
Trying to extract an algorithm from a function
Hi, I'm using package "vars" and I'm trying to extract the algorithm that function "predict" contained in that package in order to understand how does it work. When I type function "VAR" then all its algorithm appears in R, however if I try to do the same with "predict" nothing happens...Is there any possible way to extract the algorithm? Thanks a
2002 Nov 06
0
causality test
Dear list exist a function or package in R for Granger or Johanson causality test thanks in advance Rafael Gutierrez Estad?stico Unidad de Tecnolog?a Cerro Matoso S.A. Ext. 3350 "Este correo y sus anexos pueden ser confidenciales y estar protegidos por derechos de autor. Est?n dirigidos ?nica y exclusivamente para uso de el (los) destinatario(s). Si Usted por error lo ha recibido por
2007 Nov 14
1
Help with K-means Clustering
Hello, I'm new using R. I'm trying to develop a K-means Clustering with R for some data I have, however each time I use that instruction with the same data my cluster means, clustering vector and within cluster sum of square change and I don't understand why because I use the same parameters and the same data. Can anybody explain me why does it happen? Thank you Act. Calef
2012 Nov 06
1
Mixed Data Sampling Regression Models
Hi everybody. I was wondering if there's any package available that can handle Mixed Data Sampling Regression Models. Thanks a lot for your help. [[alternative HTML version deleted]]
2012 Sep 27
1
How does "apply.monthly" function works (xts package)
Hi everybody. I use to work with monthly data, however this is my first time working with weekly data. I have 4 data bases with monthly data and 1 with weekly data, so I want to convert my weekly to monthly data in order to have the same periodicity in all of them. I've read that package xts can help me with this issue, so I have done the following script: