Description Usage Arguments Value Examples
Least Squares Prediction
1 | LS.predict(model, newdata = NULL)
|
model |
output from |
newdata |
input data to predict new output |
In-sample prediction vector if newdata
not supplied. Otherwise out-of-sample prediction given by input newdata
1 2 3 | df = data.frame(y = c(1,2,3,4), x = c(2,5,3,1))
m = LS.model(y~x, data=df)
LS.predict(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.