Much hinges on whether when you say "variables" you
mean "parameters".
-constraint- is the way to specify linear constraints
on model parameters.
Constraints on your variables are your concern. With
three probabilities in three variables, check that the
sum is 1, and correct otherwise, before entering -ml-.
Nick
[email protected]
Theodore Papageorgiou
> I need to constraint 3 variables in my MLE:
> ml model lf theo (theta: r = r2 r3 r4, noconst) /sigma
> /sigmae /p0 /p1 /p2
>
> such that p0+p1+p2=1, and that p0,p1 and p2 are all
> probabilities between 0
> and 1.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/