[R] The function predict

2008-02-11 Thread Carla Rebelo
Good Morning!

May you help me? I need to understand the function predict. I need to 
understand the algorithm implemented, the calculations associated. Where 
can I find this information?

Thank You!

__
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.


Re: [R] The function predict

2008-02-11 Thread Dieter Menne
Carla Rebelo crebelo at liaad.up.pt writes:

 May you help me? I need to understand the function predict. I need to 
 understand the algorithm implemented, the calculations associated. Where 
 can I find this information?

In the documentation: 

predict is a generic function for predictions from the results of various model
fitting functions. The function invokes particular methods which depend on the
class of the first argument.

There is no information available for the default predict function, but there is
information for the predict.XXX implementations mentioned further below:

See Also

predict.glm, predict.lm, predict.loess, predict.nls, predict.poly,
predict.princomp, predict.smooth.spline.

For time-series prediction, predict.ar, predict.Arima, predict.arima0,
predict.HoltWinters, predict.StructTS.

For details, you should look into the examples provided with predict.lm (as the
simplest starter), and the code.

Dieter

__
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.