[R] predict.glm and continous variables

From: line <linekris_at_stud.ntnu.no>
Date: Wed 16 Mar 2005 - 00:42:29 EST


I am using the predict function to transform logit values from a glm to probabilities, (predict(model,type="response",se=T))..  Everything is going very well for the categorical variables where I get one value for the slope of each level and one value for standard error for each level.
The problem occurs when I whant to do the same for my continous variables. Instead of getting one value for the slope and and one value of SE for each variable (like what pops up in the summary in a univariate glm) I get a slope and SE value for every datapoint in the variable.

I hope someone knows the solution to my problem.



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 Wed Mar 16 00:55:09 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:47 EST