Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: mlogit predict command and out of sample data


From   Daniel M�ller <[email protected]>
To   <[email protected]>
Subject   st: RE: mlogit predict command and out of sample data
Date   Mon, 12 Aug 2002 22:15:03 +0200

this should do the job:

preserve
...code with new data...
restore

Daniel

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of hemmeter
> Sent: Monday, August 12, 2002 9:50 PM
> To: [email protected]
> Subject: st: mlogit predict command and out of sample data
> 
> 
> Is it possible to use the predict command after mlogit to predict 
> outcomes 
> with a new data set in version 7?  I have tried to follow the out 
> of sample 
> predict commands from the manual but find I am not allowed to use 
> a new data 
> set because the old data in the memory will be lost, according to 
> the error 
> message.  And clearing the data loses the estimates the predict 
> command need 
> to run.  If anybody knows of another way to do this I would 
> greatly appreciate 
> the help.  Thanks.
> 
> -Jeffrey Hemmeter
> 
> *
> *   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:
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index