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
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
Comment