Hi,
I was wondering if someone could help with defining multiple constraint using clogit. I have Stata version 14 & 15. The following works:
constraint 1 logprice = 1.132817
clogit target logprice norm_probs, group(raceid) constraint(1)
However, what I will like to do is define a constraint for the coefficient of logprice & norm_probs.
What I have done so far is:
. constraint 1 logprice = 1.132817
. constraint 2 norm_probs = 1.425557
clogit target logprice norm_probs, group(raceid) constraints(1 2)
I kept getting the following err0r message :'
redundant or inconsistent constraints
r(412);'
Any help will be highly appreciated!
Thanks,
Larry
Related Posts with Help: Multiple constraints for clogit
R (109) error codeHello all, apologies if this is a silly Q but I am a very newbie in Stata and just learning it! I …
Comparing string values within the same variableHi folks, I have a database with +70k observations. I am looking at school principals turnover of +…
Weak instrument test for RE estimationHello! I was wondering if anyone could provide me with some guidance as to what weak instrument test…
How to create new variables from date variables?Hi, I am working with a medicinal tests dataset. Three tests can be prescribed. The doctor can pres…
Difference in Difference Model: Refine the definition of treatment and control groupHi all, I try to establish a standard DiD model with fixed effect to investigate the impacts of a m…
Subscribe to:
Post Comments (Atom)
0 Response to Help: Multiple constraints for clogit
Post a Comment