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?
Panel data Mixed Logit modelI developed a transport choice model (car, AV, and SAV). The software produces model generic not alt…
Synthetic ControlHi. I want to create a synthetic state for my study using the command synth. However my data is at …
Question about panel dataDear all, I am currently working on my MSc thesis in Finance and I use data from Orbis. I need to co…
Creating new variable: 'flows' of newborn babies from CPS dataHi everyone, I am using CPS data and I am trying to estimate the effect of a policy change on the s…
Missing value: Generating a new variable but only missing values have been generatedHello, I am working on a firm level panel data. I am trying to create a new variable by subtracting…
Subscribe to:
Post Comments (Atom)
0 Response to How to find observations who meet two criteriea?
Post a Comment