[R] Predict

From: Matthias Eggenberger <megg_at_gmx.ch>
Date: Tue 19 Jul 2005 - 21:22:35 EST


When I callculate a linear model, then I can compute via confint the confidencial intervals. the interval level can be chosen. as result, I get the parameter of the model according to the interval level.

On the other hand, I can compute the prediction-values for my model as well with predict(object, type=c("response") etc.). Here I have also the possibility to chose a level for the confidential intervals. the output are the calculatet values for the fit, the lower and upper level.

the problem now is, that when I calculate the values through the linear model function with the parameter values I get from confint() an I compare them with the values I get from predict() these values differ extremely. Why is that so? Does the command predict() calculate the values through an other routine? That means the command predict() doesn't use the same parameters to calculate the prediction-values than the ones given by confint()?

Greetings Matthias

-- 
GMX DSL = Maximale Leistung zum minimalen Preis!

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Jul 19 21:27:57 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:48 EST