Displaying 4 results from an estimated 4 matches for "ilogit".
Did you mean:
logit
2010 Dec 25
2
predict.lrm vs. predict.glm (with newdata)
Hi all
I have run into a case where I don't understand why predict.lrm and
predict.glm don't yield the same results. My data look like this:
set.seed(1)
library(Design); ilogit <- function(x) { 1/(1+exp(-x)) }
ORDER <- factor(sample(c("mc-sc", "sc-mc"), 403, TRUE))
CONJ <- factor(sample(c("als", "bevor", "nachdem", "weil"), 403, TRUE))
LENGTH_DIFF <- sample(-32:25, 403, TRUE)
I fit two models:
model...
2010 Sep 11
3
confidence bands for a quasipoisson glm
...(b_dist_min_new)
x <- seq(-1.496, 1.839, by=0.01)
newdat <- data.frame(b_dist_min_new=x)
y <- predict(gm6, newdata=newdat, type="response")
plot(x,y, type="l", ylim=c(0,15), lty=2, xlab="Distance [scaled log.]", ylab="Number of used plant", las=1)
ilogit<-function(x) exp(x)/(1 + exp(x))
logit <-function(x) log(x/(1 - x))
newdat$logitpred <- predict(gm6, newdata=newdat, type="link")
newdat$sepred <- predict(gm6, newdata=newdat, type="link", se.fit=TRUE)$se.fit
newdat$logitlower <- newdat$logitpred-1.96 * newd...
2012 Apr 07
0
Resumen de R-help-es, Vol 38, Envío 13
...quot; de Julian Faraway en la página 31, en el famoso ejemplo del challenger.
Utiliza la sentencia:
#paquete faraway
plot(damage/6 ~ temp, orings, xlim=c(25,85))
#damage/6 dado que da la proporción de fallos respecto de 6 pruebas
corresponde a una distribución binomial
x <- seq(25,85,1)
lines(x, ilogit(11.66-0.21*x))#la función ilogit del paquete faraway es la
inversa del logit y los valores de intercepto y pendiente corresponden al
ajuste del modelo binomial con función de enlace logit.
De esta manera grafica el logit o digamos el logit estimado del modelo
si deseas graficar el probit en el mi...
2003 May 22
1
faraway package installation failed (PR#3076)
...faraway/help/exb
581 05-05-03 15:32 faraway/help/faithful
530 05-05-03 15:32 faraway/help/foo
558 05-05-03 15:32 faraway/help/gala
757 05-05-03 15:32 faraway/help/halfnorm
531 05-05-03 15:32 faraway/help/hormone
634 05-05-03 15:32 faraway/help/ilogit
559 05-05-03 15:32 faraway/help/irrigation
502 05-05-03 15:32 faraway/help/jsp
494 05-05-03 15:32 faraway/help/kanga
505 05-05-03 15:32 faraway/help/leafblotch
657 05-05-03 15:32 faraway/help/logit
754 05-05-03 15:32 faraway/help/maxadjr
5...