Message-ID: <1323372972239-4173961.post@n4.nabble.com>
Date: 2011-12-08T19:36:12Z
From: tony333
Subject: what is the difference between using function predict() and coef() in prediction
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.