Displaying 1 result from an estimated 1 matches for "unlogith".
2006 Jun 14
2
lmer binomial model overestimating data?
...1 rg1:n1
reg1 0.169
reg2 -0.066 -0.191
nutrient1 0.178 0.231 -0.034
amd1 -0.074 -0.044 -0.052 -0.078
reg1:ntrnt1 0.157 0.307 -0.180 0.562 -0.002
reg2:ntrnt1 -0.028 -0.154 0.236 0.141 0.033 -0.378
> X <- mod @ X
> fitted <- X %*% fixef(mod)
>
> unlogitH <- function(x) {( 1 + exp(-x) )^-1}
> (result <- data.frame(Raw.Data=with(dat.tb2,
+ tapply(tfb, list(reg:nutrient:amd),
+ mean ) ),
+ Fitted.Estimates=with(dat.tb2,
+ tapply(fitted, list(reg:nutrient:amd),...