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?
Proportions in stata between 4 groupsHello All, I am trying to calculate proportions along with their difference, P value and CI's betwe…
Identifying specific patterns in longitudinal ratings dataHello forum participants, I am seeking your feedback in relation to the following task associated w…
Stata Dialogue ProgrammingI was searching the documents and internet sources for an example on using radio buttons in dialogue…
Generating a dummy variable for observations within anotherHi everyone, I am having some problems in generating a variable matching two observations within the…
Increasing inner graph region to allow longer categorical x axis labels without overlapping – catplot with splitvallabelsDear Statalist, I am plotting a horizontal bar chart using catplot. Each categorical x axis label is…
Subscribe to:
Post Comments (Atom)
0 Response to How to find observations who meet two criteriea?
Post a Comment