Hi
I want to browse or tabulate those patients who fullfill two criteriea from an variable in my dataset.
ID attendance
1 1
1 1
1 2
2 3
2 3
2 3
3 1
3 1
3 2
How can I write an syntax that can find those with both 1 & 2 in my attendance variable?
ID var is string and attendance is num
Thank u..
Kind regards Frank
Related Posts with How to find observations who meet two criteriea?
Conversion of monthly sting variable into monthly float variable for time series analysisHello everyone i am really new to stata and i have an econometrics paper due in a couple days and i …
Problem with directoryHi Stata Community, I've used maptile many times before, but recently bought a new computer. All th…
Generating Dummy variables based on Monthly periodHello everyone i am really new to stata and i have an econometrics paper due in a couple days and i …
Panel data: Creating a variable that identifies respondents who answered a question at least once in a given survey yearGreetings, I'm running Stata 15.1 on OSX and working with panel data. My goal is to assess temporal…
Generating Dummy variables based on Monthly periodHello everyone i am really new to stata and i have an econometrics paper due in a couple days and i …
Subscribe to:
Post Comments (Atom)
0 Response to How to find observations who meet two criteriea?
Post a Comment