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
Plot different variables in panel dataDear all I want to plot two different variables in my panel data and merge it in one graph Such as …
Displaying a Complex TableGood morning everyone! I'm quite new to STATA and try to display a complex table, but even after ho…
mkspline coefficient interpretation in case of statistical insignificant How can I understand the values of '"p>|t|"? If the p-value of the coefficient is not statistica…
Propensity score matchingGood morning, I would like to evaluate an effect of a shock (my treatment, let's call T) in a varia…
Generating observation in statahey all, Can anyone help me to generate 1000 observation of the F distribution with parameters diffe…
Subscribe to:
Post Comments (Atom)
0 Response to keep with multiple answers
Post a Comment