| |
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: problems with the -ereturn repost- command
At 03:35 PM 1/12/2007, Maarten buis wrote:
*---------- begin example ---------
capture program drop tt
program define tt, eclass
ereturn repost b=c
end
sysuse auto, clear
glm foreign weight mpg trunk, family(binomial) link(probit)
matrix b=e(b)
matrix c=b*2
tt
*---------- end example -------------
If you happen to have gologit2 installed (available from ssc), it
also works if, instead of glm, you give the command
gologit2 foreign weight mpg trunk, link(probit)
This sort of thing isn't the primary purpose of gologit2, but there
are a few occasions where gologit2 will do something that logit or
probit doesn't, e.g. gologit2 supports the constraints option while
logit and probit do not.
-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: [email protected]
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc
*
* 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/