Displaying 2 results from an estimated 2 matches for "logitmod".
Did you mean:
logitmodel
2011 May 13
0
effects package for adjusted predictions
...ns after GLM type models.? 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 variabl...
2012 Apr 07
0
Resumen de R-help-es, Vol 38, Envío 13
...t en el mismo gráfico utiliza:
lines(x,pnorm(5.59-0.1058*X),lty=2)#el pnorm es la inversa del probit y los
valores de intercepto y pendiente son los valores estimados del modelo
probit.
los modelos ajustados de donde se obtuvieron los valores de ordenada y
pendiente anteriormente nombrados fueron:
logitmod <- glm (cbind(damage,6-damage)~temp,family=binomial,orings)
probitmod<-glm(cbind(damage,6-damage)~temp,family=binomial(link=probit),orings)
saludos!
>
>
> ---------- Mensaje reenviado ----------
> From: sofia andrea ospina valencia <zphya@yahoo.es>
> To: "r-help-es...