search for: rollingregression

Displaying 2 results from an estimated 2 matches for "rollingregression".

2008 Aug 05
0
unexpected problem
Dear R users, I have run into a very unexpected problem and I was hoping someone could explain it to me. I have a 650 000 by 12 matrix and I want to perform a rolling regression on it, width 36 or 48, using the package performanceAnalytics. ie: rol.lm<-rollingRegression(lm(y~x1+x2+x3+x4+x5),data=denise,width=36) The regressions occur without a problem and I store my output (coefficients, standard errors and r squared value of each regression) in a matrix. No error or warning comes up. Eventually I realise that some of the R squared values have turned up to be N...
2008 Jul 27
0
Rolling regression - o/p selected coefficients
Hi everyone, Using the rolling regression function - rollingRegression(formula, data, width, ...) - is there a way to output only selected coefficients to a results matrix. For e.g. if I only wanted the slope coefficients to be recorded, how would I go about doing this? Thanks, Michael -- View this message in context: http://www.nabble.com/Rolling-regression---o-p-...