How do I keep multiple answers when I want state to delete some of the observations?
Normally I write the following, if I want to keep only one answer.
keep if xx==1
But now I want to keep more than one answer, why I guess that I should command something like:
keep if (xx=1), (xx==2)
But it doesnt work..
Related Posts with keep with multiple answers
Training sample for lasso and them making out of sample predictionsDear All I have created a loop to generate forecasts using a lasso regressions that (I hope) are co…
Spatial Panel Data - matsize Hello everyone. hope you are fine and safe. I have Data for 134 countries from 2004 to 2018. When I…
Change in probablity of being downgraded as the explanatory variable change from the bottom (30%) to the top (30%) of the sampleDear all, I am sorry to bother you. I was wondering how one could calculate the change in probablit…
quantile regression with fixed effects in a panel with T=2Hello Statalist, please I would like to ask for help. I am trying to run quantile regression in my i…
Interpretation of clogithet regression (discrete choice experiment)Hi all, For my masterhtesis I've performed a discrete choice experiment. Currently I'm running diff…
Subscribe to:
Post Comments (Atom)
0 Response to keep with multiple answers
Post a Comment