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
How to deal with non-linear relationships in linear modelsDear all, I estimated a linear regression model on multiply imputed data. I regress income on a ran…
marginal effects after bayesian mlogitDear all, I'm running a bayesian mlogit model using the "bayes:" prefix and I'm trying to compute ma…
Using mixed model after coarsened exact matching (CEM)I am using coarsened exact matching (CEM) to match my treatment-control groups. As a result, the mat…
PPML Prediction, Dependent Variable on Both SidesHi all, I'm using a gravity model to predict migration through PPML. The dependent variable is Migr…
Trimming percentiles within each age categoryHello stata-users, I have come across code for trimming data globally but not what I am specifically…
Subscribe to:
Post Comments (Atom)
0 Response to About clogit in interventional study
Post a Comment