Dear all,
I'm working with a messy data set with approximately 870 observations at the moment.
After using the command missings table, I realised that 91 observations have 99 missing values out of 108 variables. I used missings list, min(99) to see which observations
account for this.
Now, I want to drop these observations from the data set. I wonder if there is a command that would use the information produced by missings list, min(99) to drop these observations?
Can anyone help? I've been looking for a solution for quite some time, without success.
Thank you.
Related Posts with Droping observations with x amount of missing values
Looping replace functionHello all, I am new to STATA and trying to loop replace function. Is there a way to improve my code?…
Loop for generating new variablesHi all, I am a new user to STATA--can you help me loop the generate new variable command? Is there a…
Retrieve the "at legend" on top of margins tableHi, I'm using margins to calculate about 3600 predicted values in a loop, using the option at() wit…
Mi impute pmm nearest neighbor matchingHello, I am using mi impute pmm command and I have a question regarding nearest neighbor matching. I…
Combine two age group variables, tell stata to use youngest ageHi, I am a criminology student analysing survey data. I have two age grouped variables which I would…
Subscribe to:
Post Comments (Atom)
0 Response to Droping observations with x amount of missing values
Post a Comment