Displaying 3 results from an estimated 3 matches for "alemtsehai".
2011 Dec 24
1
linear interpolation of time series
Dear R users,
I have two irregular time series say x and y. Each series is supposed to
cover 20 years. The data looks, for instance:
x<-c(200,178, 330, 127, 420) ## only 5 observations out of the expected 20
annual values
y<-c(0.35,-0.18,-0.54,0.78,1.7,-1.1,0.2,1.9,0.49)### only 9 observations of
the expected 20
I need to intepolate each of the series into equally spaced 20 points. Is
2012 Feb 24
4
Table into a list
Hello,
I am looking for a way to transform an array into a list (or a string).
My array has two columns 1 and 2, and I would like to create a list of the
values.
Let's say I have :
x1 x2
1 a b
2 c d
3 e f
4 g h
What I would like to obtain is a,b,c,d,e,f,g,h.
I tried without success melt and reshape ( reshape(my_array,
2011 Dec 12
0
serial.test
Dear R users,
I want to test for serial correlation in each equation of VAR.
The multivariate version of this test, for a vector X of class VAR for
instance is
var.ser<-serial.test(X,lags.pt=16,type="PT.adjusted") ### in the vars
package
Would any of you suggest me how to modify this to test for serial corr. in
each equation of VAR please?
Thanks
Tsegaye
[[alternative HTML