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
Custom one-tailed confidence intervals for coefplotI'm using the community-contributed command from SSC coefplot. The command is described here: http:…
Bar graph troubleArray Code: graph bar (percent), by(year) over(wbsat) over(white) title(SWB) I am trying to make …
nbreg only converges when starting from poisson estimatesI am using nbreg (Stata MP 15.1) to analyze the rate of days on which patients use two different dru…
Interpretation of interaction with time in FE modelDear all, Would you help me to interpret the following models? This is 5 waves data with time-vary…
Trying to save collapsed files - invalid file specification errorHello, I am trying to collapse all files in a folder and replace the old files with the new ones. S…
Subscribe to:
Post Comments (Atom)
0 Response to And/Or
Post a Comment