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?
Calcultating Household Diet score(HDDS)I trying to calculate an HDDS score which is basically a sum of food types that a household has cons…
how to back-transform valuesDear Stata users, I have run a mixed model using a natural log-transformed dependent variable (eGFR…
Univariate Diagnostic Accuracy commandsHello, I am trying to perform a univariate Diagnostic accuracy using 2x 2 values in STATA. As I have…
area specific linear time trend codingthe data is monthly level data. Coding of the time index variables are as follows: Year: 2005-2018…
Problem using bysort, egen, mean(), and weight togetherHello, I am doing my best to follow all the statalist guidelines. My apologies if I am still lackin…
Subscribe to:
Post Comments (Atom)
0 Response to How can I correctly remove the missing values within group in Stata?
Post a Comment