[R-sig-ME] NAs in fixed effects

David Duffy davidD at qimr.edu.au
Thu Jan 6 00:33:28 CET 2011


On Wed, 5 Jan 2011, Henrik Thurfjell wrote:

> I have a rather large dataset which needs one random effect to be 
> analysed properly (group). I also have many explanatory variables, each 
> with a few NAs at different places. I can easily enough fit a model with 
> 2 fixed effects, but as the number of fixed effects increase so does tha 
> NAs as they are not in the same rows. I am no statistician, and this may 
> be a naive question, but is there a way to fit each fixed effect with 
> its full data?

One way out is to impute the missing data, recalling you would have had 
the same problem if you wanted to just fit a fixed effects model.

-- 
| David Duffy (MBBS PhD)                                         ,-_|\
| email: davidD at qimr.edu.au  ph: INT+61+7+3362-0217 fax: -0101  /     *
| Epidemiology Unit, Queensland Institute of Medical Research   \_,-._/
| 300 Herston Rd, Brisbane, Queensland 4029, Australia  GPG 4D0B994A v




More information about the R-sig-mixed-models mailing list