Displaying 3 results from an estimated 3 matches for "farnlyck".
Did you mean:
farnlycke
2009 Oct 29
3
Trouble retrieving data (.xls) from folder on my computer.
Using gdata on windows and im having trouble to retrieve an excel file from a
folder on my computer.
This is my dummy:
R > download.file("http://people.su.se/~lundh/data/cpi_kpix.rda",
+ "cpi_kpix.rda")
R > URL <- "http://people.su.se/"
R > PATH <- "~lundh/data/"
R > FILE <- "cpi_kpix.rda"
R >
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:
2009 Nov 24
1
Subscript out of bounds
Hi!
Trying to make a forecast, and get the following error message:
Error in NextMethod("[<-") : subscript out of bounds
The script is as follows:
> Forecast.A <- ts(matrix(NA, nrow=25, ncol = 1,
+ dimnames = list(c(), c("Outcome"))),
+ start = c(2006, 10), frequency = 12)
> for (i in 1:25) {
+ j <- i + 321
+ Data <- window(omxr, end = time(omxr)[j])
+