Displaying 1 result from an estimated 1 matches for "hijob".
Did you mean:
hijos
2011 May 13
0
effects package for adjusted predictions
...odels.? However, I am having problems
figuring out how to produce an adjusted mean.? For example, using the
following two lines, I can get predictions when phd varies from 1 to
5, female set to 0 and enrol set to its mean, and then use the plot to
get predicted probability plot.
logitmod <- glm(hijob~female+enrol+phd, data=mydta,
family=binomial(lin="logit"))
plot(effect("phd", logitmod, xlevels=list(phd=1:5), given.values=c(female=0)))
But I couldn't figure out how to get just one predicted probability
with a given set of values for independent variables (for example,...