lm model......

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

lm model......

akshay kulkarni
dear members,
                            I am a day trader based in INDIA. I use R for my research.

I have simple question: Does the predict() function in R in linear regression model take into account the residuals?
Or it just calculates the new value from the fitted coefficients of the formula,  as got from the lm model?

I could have looked into the code of predict() function but I thought I could get more insightful answer from experts in this mailing list...

very many thanks for your time and effort....
yours sincerely,

        [[alternative HTML version deleted]]

[hidden email] mailing list -- To UNSUBSCRIBE and more, see
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.