search for: girija

Displaying 3 results from an estimated 3 matches for "girija".

Did you mean: dirija
2013 Jul 17
2
EWMA error
hi, Could anyone help me in solving the following error: I have 5 stocks returns data (returns) EWMA = matrix(nrow=T,ncol=5) # create a matrix to hold the covariance matrix for each t lambda = 0.94 S<-cov(returns) # initial (t=1) covariance matrix EWMA[1,] = c(S)[c(1,4,2)] ---ERROR # extract the variances and covariancefor (i in 2:T) { # loop
2013 Mar 14
1
evtree
hi I got the following error in 'evtree'. could u help pl. Error in if (var(mf[, nVariables]) <= 0) stop("variance of the denpendent variable is 0") : argument is of length zero [[alternative HTML version deleted]]
2013 Jul 26
1
number of items to replace is not a multiple of replacement length
Hi All, I have 5 stock values and i am calculating EWMA followed the logic as given ind following link.[ http://www.orecastingfinancialrisk.com/3.html<http://www.forecastingfinancialrisk.com/3.html> ] library('tseries') returns[,1]<-returns[,1]-mean(returns[,1]) returns[,2]<-returns[,2]-mean(returns[,2]) returns[,3]<-returns[,3]-mean(returns[,3])