I want to study the association between type of drug and outcome across different age groups. I used conditional logistic regression to get odds ratios (ORs) in different age groups.
Variables:
outcome (yes,no)
drug_type (A,B,C,D)
age_group (1,2,3)
st (identifier for risk set)
Model I ran and corresponding output:
clogit outcome i.drug_type##i.age_group, group(st) or
--------------------------------------------------------------------------------------------
outcome | Odds ratio Std. err. z P>|z| [95% conf. interval]
---------------------------+----------------------------------------------------------------
drug_type |
B | 1.401484 .3490681 1.36 0.175 .8601599 2.28348
C | 1.580983 .3958329 1.83 0.067 .9678556 2.58252
D | 1.679786 .4356232 2.00 0.045 1.010438 2.792533
|
age_group |
2 | 1 (omitted)
3 | 1 (omitted)
|
drug_type#age_group |
B#2 | .5123651 .1357484 -2.52 0.012 .3048304 .8611938
B#3 | .5191763 .141965 -2.40 0.017 .3037806 .8872985
C#2 | .4235481 .1130875 -3.22 0.001 .2509756 .7147825
C#3 | .4872329 .1349303 -2.60 0.009 .2831469 .8384196
D#2 | .5134837 .1414099 -2.42 0.016 .2993034 .8809306
D#3 | .5359626 .1530679 -2.18 0.029 .3062218 .9380647
lincom 2.drug_type + 1.age_group#2.drug_type, or
------------------------------------------------------------------------------
outcome | Odds ratio Std. err. z P>|z| [95% conf. interval]
-------------+----------------------------------------------------------------
(1) | 1.401484 .3490681 1.36 0.175 .8601599 2.28348
------------------------------------------------------------------------------
My question:
1) Is it correct for the lincom command that I used to generate the interpretation of "at age group1, compared with using drug A, using drug B increased the risk of outcome by 40% (i.e., 1.40-1)"?
2) if not correct, what should be the correct command?
I want to know:
at age group1, the odds ratios for drug B vs. drug A; drug C vs. drug A; drug D vs. drug A, regarding the outcome
at age group2, the odds ratios for drug B vs. drug A; drug C vs. drug A; drug D vs. drug A, regarding the outcome
at age group3, the odds ratios for drug B vs. drug A; drug C vs. drug A; drug D vs. drug A, regarding the outcome
Variables:
outcome (yes,no)
drug_type (A,B,C,D)
age_group (1,2,3)
st (identifier for risk set)
Model I ran and corresponding output:
clogit outcome i.drug_type##i.age_group, group(st) or
--------------------------------------------------------------------------------------------
outcome | Odds ratio Std. err. z P>|z| [95% conf. interval]
---------------------------+----------------------------------------------------------------
drug_type |
B | 1.401484 .3490681 1.36 0.175 .8601599 2.28348
C | 1.580983 .3958329 1.83 0.067 .9678556 2.58252
D | 1.679786 .4356232 2.00 0.045 1.010438 2.792533
|
age_group |
2 | 1 (omitted)
3 | 1 (omitted)
|
drug_type#age_group |
B#2 | .5123651 .1357484 -2.52 0.012 .3048304 .8611938
B#3 | .5191763 .141965 -2.40 0.017 .3037806 .8872985
C#2 | .4235481 .1130875 -3.22 0.001 .2509756 .7147825
C#3 | .4872329 .1349303 -2.60 0.009 .2831469 .8384196
D#2 | .5134837 .1414099 -2.42 0.016 .2993034 .8809306
D#3 | .5359626 .1530679 -2.18 0.029 .3062218 .9380647
lincom 2.drug_type + 1.age_group#2.drug_type, or
------------------------------------------------------------------------------
outcome | Odds ratio Std. err. z P>|z| [95% conf. interval]
-------------+----------------------------------------------------------------
(1) | 1.401484 .3490681 1.36 0.175 .8601599 2.28348
------------------------------------------------------------------------------
My question:
1) Is it correct for the lincom command that I used to generate the interpretation of "at age group1, compared with using drug A, using drug B increased the risk of outcome by 40% (i.e., 1.40-1)"?
2) if not correct, what should be the correct command?
I want to know:
at age group1, the odds ratios for drug B vs. drug A; drug C vs. drug A; drug D vs. drug A, regarding the outcome
at age group2, the odds ratios for drug B vs. drug A; drug C vs. drug A; drug D vs. drug A, regarding the outcome
at age group3, the odds ratios for drug B vs. drug A; drug C vs. drug A; drug D vs. drug A, regarding the outcome
Comment