I could really need some help with a new variable.
I have data on patients who had antibiotics and patients who had a culture taken.
I want a variable containing patients who had antibiotics and/or had a culture taken.
Can anyone tell me if this will contain the right patients?
gen CulAnt=1 if Cult==1| ant==1
I can't seem to get it to work with both &|.
Thank you!
Related Posts with And/Or
Key Variables - Different Lengths: Need to Correct or RecreateGood evening - I am appending / pooling recent surveys from a number of countries. I realized that t…
Problems with country sector fixed effectsDear all, I have a problem with my stata commands. I am estimating the effect of a gender wage gap …
RDD GeographicHello! I'd like to work with RDD geographic, but i don't find nothing in stata' help about the prog…
Loading HCUP data onto STATA15 IC Software?I'm trying to open my KID 2016 data onto STATA IC15 software using the Load Program, but I'm unable …
looking for helpDear all, I am doing my thesis using ivregress 2sls. I face problem to export the first stage result…
Subscribe to:
Post Comments (Atom)
0 Response to And/Or
Post a Comment