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
winsorizeDearall Thank you for everything Please, can someone tell me what is the correct command for the pan…
question about sem in stataHello I am working on mediation effect using stata SEM. My indepedent variable is binary which answ…
Out-of sample prediction with user written commandHi, I have fitted a multi trajectory model using the user written command traj. Downloadable from (…
How to display variable labels in the graph generated by pstest?Hi everyone, I'd like to compare the covariates for the treatment and control group before and afte…
Bar labels for rbarHi Statalists, I am plotting range bars, where each range bar represents a period spent in bed, sta…
Subscribe to:
Post Comments (Atom)
0 Response to Help: Multiple constraints for clogit
Post a Comment