i do not know what is the difference between predict() and coef()
i use the two function give me different result 
zz = predict(xy.lm,list(T8=T8))
ss = coef(xy.lm)[1]+(coef(xy.lm)[2])*T8
where is t8 is the data used in prediction did not use in the fitting in
training sample where every sample is 15 value


--
View this message in context: 
http://r.789695.n4.nabble.com/what-is-the-difference-between-using-function-predict-and-coef-in-prediction-tp4173961p4173961.html
Sent from the R help mailing list archive at Nabble.com.

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

Reply via email to