[R] ls.diag and lsfit very basic question
Hello, Is the "std.dev" component of ls.diag( lsfit(x,y) ) the sample standard deviation of the residuals of the fit? I have ls.diag(lsfit(xx,yy))$std.dev different from sd(lsfit(xx,yy)$residuals) where xx and yy are vectors of 5 elements. Regards, __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] An introduction to R: 6.3.2
The $ notation, such as accountants$statef, shouldn't it be The $ notation, such as accountants$home, instead? regards, __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] runsd {caTools} crashes R 64bit on winxp64bit with a very large vector
Hello I have a 3.5 million elements numeric vector x. I'm trying to calculate the rolling std dev of the previous 144 elements. rsd144<-runsd(x, 144, center=0, endrule="NA") this crashes R (ie on the console disappears and the Rgui.exe process is not there anymore) with smaller vectors, the crash does not occur. regards, [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.