search for: nummi

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

Did you mean: numdi
2000 Nov 30
3
g-inverse
Is there any routine to obtain a g-inverse of a matrix in R or S-PLUS? Tapio Nummi University of Tampere Finland -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject...
2001 Mar 07
1
cross-validation
...y<-c(96,88,105,111,107,113,132,122,135,131) > > theta.fit<-function(x,y){lsfit(x,y)$coef} > theta.predict<-function(fit,x){ + cbind(1,x) %*% fit} > results <- crossval(cbind(x,x^2),y,theta.fit,theta.predict) Error in cbind(1, x) %*% fit : non-conformable arguments Tapio Nummi University of Tampere Finland -------------- next part -------------- An HTML attachment was scrubbed... URL: https://stat.ethz.ch/pipermail/r-help/attachments/20010307/d825e038/attachment.html