Hi, I am working with BHPS dataset. I have appended Waves 9 & 10 and have declared it as panel. Using the command xtdes, I could see that not all info are available for all individuals in both waves and would want to drop individuals with info in either wave only. My unique identifier of each individual is pid. As you can see, some individuals have info in both waves (var wave) and some do not. How do I drop those individuals with data not available in both waves?
Array
Related Posts with How to take individuals for which info is available in both waves only?
"No room to add more variables": Stata tries to load empty spreadsheetHi, I am trying to import an Excel spreadsheet the usual way but I am getting an error: Code: . im…
Replace "statsby" by "runby" to save timeHi, I am currently running regressions by group and saving coefficients using "statsby". It turns o…
Estimation of Markov Switching modelsHi, I am estimating a Markov Switching models using the mswitch command. This code runs for country …
Prevalence with multiple variablesHello, I am analyzing a hospital dataset which provides demographic, diagnostic, and procedural data…
Bar Graph with multiples variables and categoriesHi, everyone! I need to perform a bar graph with 2 variables containing 4 categories each. The 2 var…
Subscribe to:
Post Comments (Atom)
0 Response to How to take individuals for which info is available in both waves only?
Post a Comment