Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: constrained regression but one constraint not being implemented


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: constrained regression but one constraint not being implemented
Date   Wed, 23 Mar 2011 15:49:35 +0000 (GMT)

--- On Wed, 23/3/11, Steve Martin wrote:
> Why does the following piece of code only impose the
> second of the two constraints when estimating the
> constrained regression
<snip>
> constraint `i+1' llonepenhx=1-`i'/10
> cnsreg lallcancerssyllr68  $xvar [w=raw0607], constraints(`i'-`i+1')	

replace `i+1' with `= `i' +1'

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index