Hello. I would like to ask your help about clogit.
Interventional study was conducted, the data was like as below.
no, age, sex, i.group, pre/post, hypertension
1, 24, F, inter, pre, yes
2, 30, m, control, pre, no
3, 38, f, inter, pre, no
1, 24, F, inter, post, no
2, 30, m, control, post, no
3, 38, f, inter, post,no
I would like to conduct clogit for hypertension presence as binary outcome.
clogit HT age sex i.group, group(no)
But the result was error as below.
--------
. clogit HT age sex education i.group_co, group(no)
note: multiple positive outcomes within groups encountered.
note: 440 groups (880 obs) dropped because of all positive or
all negative outcomes.
note: age omitted because of no within-group variance.
note: sex omitted because of no within-group variance.
note: education omitted because of no within-group variance.
note: 2.group_co omitted because of no within-group variance.
note: 3.group_co omitted because of no within-group variance.
redundant or inconsistent constraints
-----------
Where was the wrong?
I'm looking forward to your support.
Regards,
Related Posts with About clogit in interventional study
glm: individual contribution to log-likelihoodDear Statalisters, is there a way to obtain the individual contribution to the log-likelihood when u…
Latent Class analyses .Hi to everybody.. I run a latent class model using the command "traj" The better model is the model…
Drop all observations with similar variables, except for the earliest?Dear statalists I have struggled with a problem in STATA 16.0 for a couple of days now, and hope th…
Exact Wilcoxon Signed Rank testHello, I hope this is the right place to ask. I am currently using the exact wilcoxon signed rank te…
tsline command with maximum observationsDear Stata community, I am running the tsline command for a graph of average male unemployment by c…
Subscribe to:
Post Comments (Atom)
0 Response to About clogit in interventional study
Post a Comment