[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: -predict- in a system of equations
Ada and Michael, thanks for your advice.
-estimates- is exactly what I was looking for.
R.E. De Hoyos
Department of Applied Economics
University of Cambridge
Cambridge, CB3 9DE, UK
Tel: +44 1223 335269
----- Original Message -----
From: "Ada Ma" <firstname.lastname@example.org>
Sent: Saturday, May 22, 2004 5:52 PM
Subject: Re: st: -predict- in a system of equations
> Hi Rafa,
> I'm going to make another rustic suggestion after reading your email to
> Blasnik, again it might not be of much use. My suggestion is:
> How about if you -append- data1.dta and data2.dta? (And plug in a dummy
> data2.dta before you -append-.)
> Hope it helps.
> R.E. De Hoyos wrote:
> > Michael,
> > Thanks for your answer.
> > -predict- wont work because several equations are being estimated.
> > estimate -heckman- using data1.dta, then a vector e(b) is created in
> > which -predict- is based on. Once a second equation is estimated,
> > e.g. -mlogit- a new vector is created, let's say to e(b') and the old
> > being lost. When I change to data2.dta I want to be able to predict (or
> > score) using both e(b) and e(b'), therefore I needed a way to save these
> > vectors, which your suggestion is doing very well.
> > It would be quite useful to have an option to save all the -predict-
> > properties (at least temporary) to use them in an alternative dataset.
> > With -matrix score- I can only form linear combinations of the
> > saved vectors e(b)s and the new Xs, while I might be more interested in
> > fitted probabilities (as in the case of limited dependant variables eq.)
> > Thanks again,
> > Rafa
> * 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/
* For searches and help try: