I am working on a project for a professor, and I have been asked to construct a confidence interval for the likelihood ratio test from clogit() using R.
clogit(obesity_status ~ bmi + strata(pair), data = twindata)
It looks like clogit() returns 3 p-values for the likelihood ratio test, Wald test, and score test. More specifically, when I run summary(model)
, it returns:
Likelihood ratio test= 2.41 on 1 df, p=0.02
Wald test = 3.25 on 1 df, p=0.06
Score (logrank) test = 4.42 on 1 df, p=0.02
But, when I run confint(model)
, it gives me a confidence interval of:
0.7, 95
But how could this be if the p-value for the LRT is < 0.05? Is it because it's returning a CI based on the Wald test? If so, is there a way to get the confidence interval based on the likelihood ratio test with p = 0.02?
Thank you for your help.