Displaying 1 result from an estimated 1 matches for "calmi".
Did you mean:
calm
2007 Jul 04
2
Loop and cbind
Hi, I would like to apply the following function for i between 1 and 12, and
then construct a list of the return series.
for (i in 1:12){
ewma[i] <- emaTA(calm[[i]]^2,0.03)
standard[i]<- calm[[i]]/sqrt(ewma[i])
standard <- cbind(standard[i])
}
But it does not work. Could anyone give me some advice how can I achieve
this? Many thanks
--
View this message in context: