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
Optimize by minimizing the value of an equation to get a parameter value for each observationDear Everyone, Software Used: STATA 15.1 I am trying to get a parameter value (R) for each observa…
Generate a variable with the count of the value 3 across several variablesHi, I would like to generate a variable that contains the count of the value 3 across several column…
Fractional Dynamic ProbitHello all, for my master thesis on bank's NPL, after having estimated the determinants of bad loan w…
Difference in Difference with multiple treatment periods and multiple treatmentsGood day all! This is my first post on Stata list. Please let me know if any additional information …
GMM Xtabond2Hi friends, This is my first experience for GMM. help me, please. I should examine the relationshi…
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