[R] How to analyze observations list-wise deleted?

From: Chengshan Liu <chengshanliu_at_gmail.com>
Date: Sat, 15 Dec 2007 23:14:50 +0800

I am using lrm in Design package for a project using logit analysis. I think lrm is very useful for providing information about the number of missing values due to the inclusion of each variable.

My first questions is: How to explore those observations that are automatically deleted from the lrm?
For example, in a data I have more than 6,000 observations but after list-wise deletion I have only 2,411 observations, where there are 583 observations for the dependent variable of value 1 and 1,828 for the value 0.

One independent variable of the model "cDisagLW" accounts for the deletion of 2,598 observations and I think this could cause problem in regression result. So, could you show me a way to find out "who" are those 2,598 observations?

A further question is, how to make a subset of the original data that contains these 2,411 valid observations? With this dataset, I like to explore the underlying distribution of the regression data and contrast to the original data of 6,000 observations.

Thank you in advance.


Frank C.S. Liu
Assistant Professor,                      
Graduate Institute of Political Science   E-mail: frankcsliu_at_gmail.com
National Sun Yat-sen University (NYSYU)   Office:+886.7.525.2000 #5555
Kaohsiung, Taiwan 804, R.O.C.             FAX:+886.7.525.5540

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Sat 15 Dec 2007 - 15:22:44 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 15 Dec 2007 - 15:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.