Re: [R] logistic regression in an incomplete dataset

2010-04-05 Thread Desmond D Campbell
Dear Emmanuel, Thank you. Yes I broadly agree with what you say. I think ML is a better strategy than complete case, because I think its estimates will be more robust than complete case. For unbiased estimates I think ML requires the data is MAR, complete case requires the data is MCAR Anywa

Re: [R] logistic regression in an incomplete dataset

2010-04-05 Thread Desmond D Campbell
Dear JoAnn, Thank you very much for your reply. If that is the case I am surprised. I would have though ML could incorporate study cases with some missingness in them. Furthermore I believe ML estimates should generally be more robust than complete case based estimates. For unbiased estimates I th

[R] logistic regression in an incomplete dataset

2010-04-05 Thread Desmond D Campbell
Dear all, I want to do a logistic regression. So far I've only found out how, in a dataset of complete cases. I'd like to do logistic regression via max likelihood, using all the study cases (complete and incomplete). Can you help? I'm using glm() with family=binomial(logit). If any covariate in