| fitted.spm {} | R Documentation |
Extracts fitted values from a semiparametric regression fit object.
## S3 method for class 'spm': fitted(object,...)
object |
a fitted spm object as produced by spm(). |
... |
other possible arguments. |
Extracts fitted from a semiparametric regression fit object. The fitted are defined to be the set of values obtained when the predictor variable data are substituted into the fitted regression model.
The vector of fitted.
M.P. Wand mwand@uow.edu.au (other contributors listed in SemiPar Users' Manual).
Ruppert, D., Wand, M.P. and Carroll, R.J. (2003)
Semiparametric Regression Cambridge University Press.
http://stat.tamu.edu/~carroll/semiregbook/
Ganguli, B. and Wand, M.P. (2005)
SemiPar 1.0 Users' Manual.
http://www.uow.edu.au/~mwand/SPmanu.pdf
spm
plot.spm
lines.spm
predict.spm
summary.spm
residuals.spm
library(SemiPar) data(fossil) attach(fossil) fit <- spm(strontium.ratio~f(age)) plot(fit) points(age,fitted(fit),col="red")