Re: [R] How to test frequency independence (in a 2 by 2 table) withmany missing values

2009-07-25 Thread Tal Galili
>>> >>> ##And here are the Monte-Carlo simulations >>> >>> library(lme4) >>> >>> bootstraps=200 >>> estim=matrix(0,nrow=bootstraps,ncol=2) >>> >>> for(i in 1:bootstraps){ >>> id=rep(1:100,each=2) >>>

Re: [R] How to test frequency independence (in a 2 by 2 table) withmany missing values

2009-07-24 Thread Daniel Malter
on: Tal Galili [mailto:tal.gal...@gmail.com] Gesendet: Friday, July 24, 2009 7:07 PM An: Robert A LaBudde Cc: Daniel Malter; r-help@r-project.org Betreff: Re: [R] How to test frequency independence (in a 2 by 2 table) withmany missing values Hello dear Robert and Daniel, I read your replies with much

Re: [R] How to test frequency independence (in a 2 by 2 table) withmany missing values

2009-07-24 Thread Tal Galili
> estim[i,]=...@fixef >> } >> >> mean(estim[,1]) >> #mean estimate of the intercept from 200 MC-simulations >> #should be close to zero (no intercept in the linear.predictor) >> >> mean(estim[,2]) >> #mean estimate of the 'test' fixed effect fr

Re: [R] How to test frequency independence (in a 2 by 2 table) withmany missing values

2009-07-24 Thread Robert A LaBudde
on: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Im Auftrag von Tal Galili Gesendet: Friday, July 24, 2009 1:23 PM An: r-help@r-project.org Betreff: [R] How to test frequency independence (in a 2 by 2 table) withmany missing values Hello dear R help group. My question is statist

Re: [R] How to test frequency independence (in a 2 by 2 table) withmany missing values

2009-07-24 Thread Daniel Malter
ailto:r-help-boun...@r-project.org] Im Auftrag von Tal Galili Gesendet: Friday, July 24, 2009 1:23 PM An: r-help@r-project.org Betreff: [R] How to test frequency independence (in a 2 by 2 table) withmany missing values Hello dear R help group. My question is statistical and not R specific, yet I hope