search for: causality

Displaying 20 results from an estimated 132 matches for "causality".

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 Tobia...
2011 Apr 14
1
Automatically extract info from Granger causality output
...ame: 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) {models=lapply(y2, function(x) VAR(cbind(x,y1),ic="SC") ); results=lapply(models,function(x) causality(x,cause="y1")); print(results)} Count<-Granger(y1,y2) which produces the following output (I have printed only part of it (for Granger causality of bs on ml)): $ml $ml$Granger Granger causality H0: y1 do not Granger-cause x data: VAR object x F-Test = 0.2772, df1 = 1, df2...
2020 Oct 29
1
R: sim1000G
Hi, I am using the sim1000G R package to simulate data for case/control study. I can not figure out how to manipulate this code to be able to generate 10% or 50% causal SNPs in R. This is whole code provided as example on GitHub: library(sim1000G) vcf_file = "region-chr4-357-ANK2.vcf.gz" #nvariants = 442, ss=1000 vcf = readVCF( vcf_file, maxNumberOfVariants = 442 ,min_maf =
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...
2006 Apr 06
1
Look What 911 Will Cost in Canada
Check out the proposed prices when this is approved. BELL CANADA REPORT ON THE ECONOMIC EVALUATION FOR THE TARIFF REVISION OF Bell Canada's Access Services Tariff Item 315 ? Zero-Dialed Emergency Call Routing Service (0-ECRS) *2 March 2006 TABLE OF CONTENTS Page 1.0 GENERAL 3 1.1 Purpose of the Study 3 2.0 SERVICE DESCRIPTION 3 2.1 Service Characteristics 3 2.2
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...
2007 Mar 28
1
.duplicate question
I am using the vars package and it calls a function causality() which then calls something called .duplicate. I had to modify the causality function slightly for my purposes and I called it my.causality() but now the .duplicate function is no longer known to the my.causality function. I'm fairly certain that this is due to my lack of expertise in R but i...
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]]
2020 Nov 01
0
R: sim1000G
Hi Berina, I'm not an expert on genetics. I haven't looked at the package. And I've only glanced at your question. So, this is probably not the best response. But as no one else has responded, here's some comments: (1) Have you checked if there's a function in the package to do what you want? The remainder of these questions assume that you have, and the answer is no. (2)
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 receiving the of...
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 tes...
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...
2012 Apr 09
0
freelance consulting opportunity for R expert (causal inference & data visualization)
SELECTION FOR CONSULTANTS BY THE WORLD BANK REQUEST FOR EXPRESSIONS OF INTEREST All Submissions must be made via the World Bank Group's "eConsult2" system. Please go to: https://wbgeconsult2.worldbank.org/wbgec/index.html Click on "Business Opportunities", and find the following assignment: Assignment Title: 1067014 - Statistical Analyst with Extensive Experience in
2018 Mar 21
0
Confidence intervals for the Instrumental Variable estimators of TWO causal effects
Dear all, I am using the Instrumental Variable approach to estimate the causal effects of TWO endogenous variables in a Mendelian Randomization study. As long as point estimation is concerned, I have no problem: both "ivreg" in library "AER" and "tsls" in library "sem" do the job perfectly. The problems begin when I try to obtain confidence intervals for
2007 Feb 22
0
is a time series regression model a causal forecasting model?
I have a semantics question, I am reading Bowerman and O'Connell and they state that forecasting models fall into two categories, univariate and causal. My question is whether a time series regression model that relates the time series of interest to functions of time such as the day of the week or month of the year could be considered a causal model? thanks, spencer [[alternative HTML
2010 Nov 19
0
test for causality
Hi users ı cant find and also do nonlinear garnger causality R codes, Is anyone send me an example??? thanks lots of -- View this message in context: http://r.789695.n4.nabble.com/test-for-causality-tp835483p3050981.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]]
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.
2003 Nov 15
5
correlation and causality examples
Dear All, I'am looking for examples showing that correlation does not imply causality, the targeted audience consists of undergraduate students (their first year at the university but in the BioMathStat track). All practicals are under R. I was able to extract this from R datasets: ### begin data(sunspots) data(lynx) spots <- window(sunspots, freq = 1, start = 1880, end = 1900)...
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 coherence between two vari...