search for: causal

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

Did you mean: casual
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 To...
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) {models=l...
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 = 0.0005,max_maf = 0.01) #lowest MAF dim( vcf$gt1 ) #rows represent number of v...
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 messa...
2006 Apr 06
1
Look What 911 Will Cost in Canada
...and Methodology 5 5.2 Number of Customers 5 5.3 Number of 0-ECRS Calls 5 5.4 Bell Canada Average 0-ECRS Call Duration 5 5.5 Estimates of Demand Quantities 5 6.0 PHASE II COSTS 6 6.1 Study Assumptions 6 6.2 Study Period 7 6.3 Financial Parameters and Tax Rates 7 6.4 Cost Inclusions 7 6.4.1 Expenses Causal to the Service 7 6.4.2 Capital Causal to the Service 8 6.4.3 Capital Causal to Demand 8 6.4.4 Expenses Causal to Demand 8 6.4.5 Phase II Cost Summary 9 7.0 3RD PARTY ACQUISITION COSTS AND COSTS OF UNDERLYING CATEGORY I COMPETITOR SERVICE COMPONENTS 9 1.0 GENERAL 1.1 Purpose of the Study 1. The...
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 tes...
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 bu...
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
...-casual? B. On Fri, Oct 30, 2020 at 10:37 PM Berina Zametica UNI <s0bezame at uni-bonn.de> wrote: > > 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 = > 0.0005,max_maf = 0.01) #lowest MAF >...
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...
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...
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 sever...
2012 Apr 09
0
freelance consulting opportunity for R expert (causal inference & data visualization)
...roup'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 "R": Applications for Causal Inference and Visualizing Data ASSIGNMENT DESCRIPTION Seeking a short-term consultant with extensive expertise in statistical analysis, specifically "R" expertise for causal inference and visualizing data. Causal inference refers to propensity score matching, regression discontinuity d...
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 conf...
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 version deleted]]
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 = 19...
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 v...