Frequency weights in R (multilevel using lme4) -
i'm building multilevel model lme4 (two levels: class , student level educational data). i'm using iccs 2009 data: http://www.iea.nl/iccs_2009.html). iccs 2009 advise use weights. made “within-school student weight” product of class , student level weight factors. made sums of weights equal sample size. question: how can specify in r want use weight frequency weight. have use "survey" package?
iccs complex survey (see chapter 3 of user guide) , r survey package cannot (yet) handle multi-level models - can read bottom of this post more detail
if don't care standard errors, of functions in lme4
have weights=
argument should give reasonable guesses.. standard errors wrong.
the iccs 2009 user guide recommends other software on pdf page 33 of 112.
Comments
Post a Comment