From | Kit Baum <baum@bc.edu> |
To | statalist@hsphsun2.harvard.edu |
Subject | st: Re: nonlinear constrained estimation and "makecns" |
Date | Mon, 28 Apr 2008 06:31:34 -0400 |
Actually, I should have seen that I have already done something that is
very close in the -propcnsreg- package, see -findit propcnsreg-. You
need to create a singly y variable, and a dummy variable indicating
whether the a record is refering to y1 or y2 (call this dummy variable
D). Than you type:
propcnsreg y D X3, constrained(X1 X2) lambda(D)
* * 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/
© Copyright 1996–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |