Hi, I am new to this forum but have been using STATA for a while for very basic statistical analysis. I would appreciate any help:
I have a dataset that has cases and controls matched on age, gender and number of years. So for every 18 year old female case with 2 years data, I have a 18 year old female control with 2 years of data.
I now want to divide my cases into 2 groups, say case1 and case 2. How do I separate the controls that match case 1 (and label them as control 1) and case 2(label them as control 2) so that I could present my analysis to compare age, gender, year matched case 1 with age, gender, year matched control 2, and so on. Please let me know if you need more info to help with this question. Thanks.
Related Posts with How to find the controls from a subset of cases in an already case-control matched sample
Two variables in one histogram graph in StataDear All, Hope you are fine. Could you please help me to create an histogram of two variables (M0 …
HH dataHello please, am new with stata. i want to do household analysis, please what is the way forward …
POOLED OLS, test for heteroskedasticity and autocorrelationHello, everyone. I run a hausman test to help me choose whether I will use random effect (RE) or fix…
Loop over values not workingDear all, I have a panel dataset (panelvar is id and timevar is year). I have been trying to genera…
identifying lagged dependent variable, panel dataDear Stata community, since I am a new Stata user, I apologize if my question is trivial. I tried t…
Subscribe to:
Post Comments (Atom)
0 Response to How to find the controls from a subset of cases in an already case-control matched sample
Post a Comment