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]

AW: st: Estiamtes save multiple equations


From   "Meulemann Max" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   AW: st: Estiamtes save multiple equations
Date   Tue, 15 Oct 2013 14:12:26 +0000

Thanks for the help. 

Although it has been a while, Id like to answer on this. 

It seems to be a bit strange. Using your code works without even reloading the name.ster file, when you did the estimation in the same session.
Closing and restarting stata and trying to load name.ster and then display the results does not. It seems that in order to look at the estimation results again you have to run a similar model beforehand. Using you example of 2 equations and reloading one of my model shows me only 2 equations of my model, although it has more equations. 

So say you run 
. version
version 12.1

. use http://www.stata-press.com/data/r7/school.dta, clear

. qui mvprobit (private = years logptax loginc) (vote = years logptax loginc), dr(15)

. estimates save name,replace

In one session and in a later session you run

Estimates use name

mvprobit

Produces an error : option neq() not allowed


Nonetheless I can load the saved results, store them, and then export them with estab without a problem. 

Maybe someone does know way this happens.


-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Scott Merryman
Gesendet: Freitag, 23. August 2013 13:31
An: [email protected]
Betreff: Re: st: Estiamtes save multiple equations

This works for me on Stata 12:

. version
version 12.1

. use http://www.stata-press.com/data/r7/school.dta, clear

. qui mvprobit (private = years logptax loginc) (vote = years logptax loginc), dr(15)

. estimates save name,replace
file name.ster saved

. clear

. mvprobit

Multivariate probit (MSL, # draws = 15)           Number of obs   =         95
                                                  Wald chi2(6)    =       9.33
Log likelihood = -89.728611                       Prob > chi2     =     0.1560

------------------------------------------------------------------------------
             |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------
-------------+------
private      |
       years |  -.0093725   .0243533    -0.38   0.700     -.057104     .038359
     logptax |   -.106787   .6676024    -0.16   0.873    -1.415264     1.20169
      loginc |   .3886824   .5378438     0.72   0.470    -.6654721    1.442837
       _cons |  -4.327875   4.869636    -0.89   0.374    -13.87219    5.216435
-------------+----------------------------------------------------------
-------------+------
vote         |
       years |  -.0169395   .0147693    -1.15   0.251    -.0458869    .0120078
     logptax |  -1.282112   .5715482    -2.24   0.025    -2.402326   -.1618987
      loginc |   1.003176   .4413422     2.27   0.023     .1381613    1.868191
       _cons |   -.631556   4.042825    -0.16   0.876    -8.555348    7.292236
-------------+----------------------------------------------------------
-------------+------
    /atrho21 |  -.1495092   .2306758    -0.65   0.517    -.6016254    .3026071
-------------+----------------------------------------------------------
-------------+------
       rho21 |   -.148405   .2255954    -0.66   0.511    -.5382052    .2936966
------------------------------------------------------------------------------


Scott


On Tue, Aug 20, 2013 at 10:54 AM, Meulemann  Max <[email protected]> wrote:
> I'm using Stata 12 on Windows.
>
> I'd like to save the results from some mvprobit estimations so I can later reload them if necessary, because it takes some time to calculate them.
> Anyhow so I save the results with
>
> estimates save name
>
> And from http://www.stata.com/stata10/savedresults.html I thought, Id 
> able to look at them at a later point of time if I type
>
> estimates use name
> mvprobit
>
> Unfortunately I get an error message saying
>
> Option neq() not allowed
>
> So does this imply that this procedure is not possible for multiple equations, as neq seems to be an option for multiple equations from what I was able to find on Google?
>
> Regards
> Max
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/

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


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