I have a small data set laid out in longitudinal format,
* Example generated by -dataex-.
clear
input byte (id success)
1 0
1 .
1 .
1 .
2 1
2 0
2 0
2 0
3 .
3 .
3 .
3 .
4 .
4 .
4 .
end
I want to drop all missing values in the dataset. How can I use Stata code to do this?
Thank you!
Related Posts with How can I correctly remove the missing values within group in Stata?
Data visualization: Dotplot w/ labelled ylinesDear Stata users, I am trying to make a dotplot similar to the one below, except I would have liked…
How to remove vertical line from do-file editorHello there, Is there a way to disable a vertical line from do-file editor? It is not comfortable t…
Extrem RRR value in logit regressionHi I am running mlogit to for knowing which places immigrants choose to live initially. my dependent…
Load themes for the text editor instead of using the menuHi all, I was just wondering. Is there a way to load theme packages directly to Stata instead of fi…
Date variable conversion from string formatHi everyone, I have date variables in the following format - yyyymmdd_hhmmss I've looked at the exi…
Subscribe to:
Post Comments (Atom)
0 Response to How can I correctly remove the missing values within group in Stata?
Post a Comment