Statalist


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

st: impose constraint with -oprobit- in STATA 11


From   "J. Li" <lij53@univmail.cis.mcmaster.ca>
To   statalist@hsphsun2.harvard.edu
Subject   st: impose constraint with -oprobit- in STATA 11
Date   Fri, 28 Aug 2009 17:32:33 -0400

Hi all,

I realize that in STATA 11 now we can directly impose constraints on
the -oprobit- estimation. If I have to impose a large set of
constraints, can I specify the set of constraints in the form of a
matrix? For example,

from a previous estimation, I extracted the estimated coefficients and
saved them as a matrix myb

matrix myb=e(b)

now, I want to run an -oprobit- regression with a similar specification
(same y but a slightly different set of X's) as in the previous
regression but meanwhile constrain the coefficients of the same
covariates as the values stored in myb, can I directly impose the
constraints in the form of a matrix? Is this any related to the
commands "makecns" or "matcproc"? Many thanks!

Daisy

 
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index