Hello,
I am testing a categorical variable (ethnicity) with a binary outcome (death). I want to obtain a single P value across all categories so I employed the likelihood ratio test for that purpose. but when comparing the null hypothesis model, I don't get any odds ratio (empty space). Yet, I end up with a P value.
I use the following commands:
it is after this command that I get no odds ratio:
Nevertheless, I end up with a single P value after
When the same commands are run for "logistic" (unconditional logistic regression) I do get odds ratio testing the null hypothesis model, which made me suspect that I am doing something incorrect.
Can anyone thankfully help me on the correct way to run a likelihood ratio test for variables tested with conditional logistic regression.
I am testing a categorical variable (ethnicity) with a binary outcome (death). I want to obtain a single P value across all categories so I employed the likelihood ratio test for that purpose. but when comparing the null hypothesis model, I don't get any odds ratio (empty space). Yet, I end up with a P value.
I use the following commands:
clogit death i.ethnicity, group(matchedid) or
store est Danah
clogit death if ethnicity !=. , group(matchedid) or
lrtest Danah
store est Danah
clogit death if ethnicity !=. , group(matchedid) or
lrtest Danah
clogit death if ethnicity !=. , group(matchedid) or
lrtest Danah
Can anyone thankfully help me on the correct way to run a likelihood ratio test for variables tested with conditional logistic regression.
Comment