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?
Coefplot merging coefficients of multiple regressions by categoryI am running two regressions with the same independent variable but different dependent variable twi…
Bootstrapped confidence intervalsHello, I have to use bootstrapping to add 90% confidence intervals to a ratio. How could I do that? …
count models with random parameters (when the data is not panel data)I have a question about count models with random parameters. Is it possible to, for example, provide…
-xtivreg with interaction termDear, I am deploying a 2SLS-regression model, including an interaction term of which one of the var…
The e(sample) function evaluates to 0 when it is not defined (and not to missing as I expected). Where is this documented?Good afternoon, To my surprise I learn to today that the e(sample) function when undefined evaluate…
Subscribe to:
Post Comments (Atom)
0 Response to How to find observations who meet two criteriea?
Post a Comment