Hello,
I am currently working with a complete dataset with all firms in a country. However, I only want to use some of the firms for my analysis. How is it possible to keep multiple observations at the same time in order to constrict the values in my dataset.
I tried keep if =="XX" for every observation that I needed to keep, but then it just kept the first observation. I also tried drop if!="XX" for every observation, but that also did not work.
Would appreciate your help! Thank you!
Related Posts with Keeping mutliple observations
heteroskedasticityCan anyone tell me how to test heteroskedasticity for Pooled OLS please? …
Right way to generate a dataset of estimates of treatment effect by year and their CI's as well as the year FEDear all, I want yearly coefficients of treat with their confidence intervals as well as the year f…
how to graph t test results with mean, confidence interval, and significance levelI saw a nice graph in a paper, do we have user-written command to graph t test results with mean, co…
How to interpret xtsktest results of panel dataHow to interpret xtsktest results of panel data and is it okay to run without OLS and Random Effect …
Exporting Percentage with asdocHi Attaullah Shah I am using asdoc command in stata it is very useful, and i am thankful for you. …
Subscribe to:
Post Comments (Atom)
0 Response to Keeping mutliple observations
Post a Comment