Re: [R] sampling weights in package lme4

2012-01-24 Thread peter dalgaard
On Jan 24, 2012, at 20:41 , Thomas Lumley wrote: > It's not meant for sampling weights. It's meant for precision > weights. How best to include sampling weights in mixed models is a > research problem at the moment, but you can rely on getting the wrong > answer if you just use the weights= arg

Re: [R] sampling weights in package lme4

2012-01-24 Thread Thomas Lumley
On Tue, Jan 24, 2012 at 6:19 PM, Mohd masood wrote: > > Dear All > I am trying to include sampling weights in multilavel regression analysis > using packege lme4 using following codes > > print(fm1 <- lmer(DC~sex+age+smoker+alcohol+fruits(1|setting), > dataset,REML = FALSE), corr = FALSE) > prin

[R] sampling weights in package lme4

2012-01-24 Thread Mohd masood
Dear All I am trying to include sampling weights in multilavel regression analysis using packege lme4 using following codes print(fm1 <- lmer(DC~sex+age+smoker+alcohol+fruits(1|setting), dataset,REML = FALSE), corr = FALSE) print(fm2 <- lmer(DC~sex+age+smoker+alcohol+fruits(1|setting), d