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?
To construct a composite variable from multiple categorical variablesMy question may be simple. I tried to find a possible answer to my question, but failed to do so. I…
Calculating total or sum without own observation classHi, I have a crossection of electric vehicle (EV). charging stations, and can identify the network a…
Overall CI for a multileveled independent variable in a binomial logistic regressionHello, I'm trying to get an overall CI for an independent variable in a binomial logistic regression…
Can rangestat or asrol solve this problem? creating statistics within industry in a rolling fashionDear All I have panel data that includes year, quarter, month and week, firm, industry, and (firm) …
Long table and wide tableHi , all! If I have two sheets ,sheet1 shows every students‘ score got in the exam and sheet2 contai…
Subscribe to:
Post Comments (Atom)
0 Response to How can I correctly remove the missing values within group in Stata?
Post a Comment