Dear Mixed Moels User group:
 
I am using lmer2 for mixed modeling. Could you please tell me how can I extract the "df (degree of freedom)" and "estfun (estimating functions)" for the following model?
 
wtd.mixed<-lmer2(ddimer~race+steroid+psi+sofa+apache + (1|subject), method="ML", data=final, cluster="id", weights=w)
 
I tried the following codes (similar to the model fitted by lm):
 
- for the degree of freedom (error message in the red):
 >so <- summary(wtd.mixed)
> so$df[1:6] 
NULL
Warning message:
$ operator not defined for this S4 class, returning NULL in: so$df 
 
-for the estimating functions:
psi <- estfun(wtd.mixed)
         Error in estfun(wtd.mixed) : no applicable method for "estfun"
 
If you could help me in extracting these two quantities from the built model, I would really appreciate it. 
 
NOTE, if it is not possible to extract these two quantities from lmer2 (or lmer), I would greatly appreciate if you could named an R package from which I could extract these quantities for further use. 
 
Thank you. 
 
Sattar


       
____________________________________________________________________________________



	[[alternative HTML version deleted]]


