Hello,
I have a retrospective cohort of 145000 subjects. My exposed group has 526 subjects, and I would like to have two unexposed groups by age, sex, and time in follow-up.
The exposed group is followed up from the ending date of the sickness episode until event or end of follow-up.
The first unexposed group should start the follow-up at the same time-point (and have same age and sex). Hence, I want to match them by FREQUENCY MATCHING method. This unexposed group is selected by the criteria of NOT having any sickness episode. However, I have several registers of them in the form of episodes of employment. So my idea was to use the starting date of the employment episode of the unexposed group closest to the ending date of the sickness episode of the exposed to match. This way, I would start the follow up on similar time points and follow them up until event.
The second unexposed group is selected by the criteria of HAVING a sickness episode with a different diagnosis than the exposed group. Same as the first unexposed group the follow-up should start on he same time-point, and they should have same age and sex. In this case, my idea is to match by the ending date of the sickness episode of the exposed with the ending date of the sickness episode of the unexposed.
I have read two discussions about frequency matching on the forums:
https://www.statalist.org/forums/for...age-and-gender
https://www.statalist.org/forums/for...uency-matching
And applied the codes recomended but:
1. I am not quite sure on how to interpret the outputs.
2. It doesn´t give me 1:1 match, the resulting database has half of the exposed.
If anyone could help me with this I would be very grateful.
Thanks!
Related Posts with Frequency Matching in a retrospective cohort: output and matching for follow up time
Create change variable for timeseries data.Hi, my problem is twofold. I downloaded a database containing gvkey, sic code, year (1995 - 2005), y…
How to do a special histogram like this in Stata?Hello, I saw a histogram by group like below. I want to use the classical Stata data auto.dta to mim…
Getting selected variables from cvlassoMy read of "help cvlasso" is that e(varXmodel) should contain only variables chosen by cvlasso. Howe…
combine Several observations to one observation in a given yearDear all, I need to get the SUM of Var 1. for each ID observation in 2016, for example, A person w…
Omitted variable in logistic regressionHi , I have a problem with the Logit regression result in Stata. Some of the dummy variables have be…
Subscribe to:
Post Comments (Atom)
0 Response to Frequency Matching in a retrospective cohort: output and matching for follow up time
Post a Comment