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]

st: Fwd: Re: estimates use problem


From   Jörg Eulenberger <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: Fwd: Re: estimates use problem
Date   Tue, 24 Aug 2010 14:51:44 +0200

Hello  Martin and statalisters,
here is the answer from Support-team.

Dear Jorg,

The problem is caused by a bug in the code for -estimates use- that was
already fixed in the current version of Stata.

In Stata 10 you just need to execute the command:

	set dp period

This would change from command to period the symbol that Stata uses to
represent the decimal point.

Here is the modified code:

     set dp period
     sysuse auto
     reg price mpg rep78
     estimates save reg1, replace
     clear
     estimates use reg1

     estimates replay

And the output for the last command:

. estimates replay

---------------------------------------------------------------------------
active results
---------------------------------------------------------------------------

   Source |       SS       df       MS              Number of obs =      69
----------+------------------------------           F(  2,    66) =   11.06
    Model |   144754063     2  72377031.7           Prob>  F      =  0.0001
 Residual |   432042896    66  6546104.48           R-squared     =  0.2510
----------+------------------------------           Adj R-squared =  0.2283
    Total |   576796959    68  8482308.22           Root MSE      =  2558.5

---------------------------------------------------------------------------
    price |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------+----------------------------------------------------------------
      mpg |  -271.6425   57.77115    -4.70   0.000    -386.9864   -156.2987
    rep78 |   666.9568   342.3559     1.95   0.056     -16.5789    1350.492
    _cons |   9657.754    1346.54     7.17   0.000       6969.3    12346.21
---------------------------------------------------------------------------



Sincerely,

Gustavo

  ___  ____  ____  ____  ____     Gustavo Sanchez, Ph.D.
 /__    /   ____/   /   ____/     Senior Statistician
___/   /   /___/   /   /___/      [email protected]
                                  StataCorp LP
                                  4905 Lakeway Drive
                                  College Station TX 77845

"VISIT OUR WEB SITE"  http://www.stata.com

*******************************************************************************



You wrote:

Dear Stata supporters,

i have a problem with the estimates use command.

sysuse auto
reg price mpg rep78
estimates save reg1, replace
clear
estimates use reg1

. estimates use reg1
file not estimates
r(610);

The file reg1.ster is in the directory, but I cant open with Stata.
(estimaates use)
Whats the problem?
Jörg
-----End Original Message-----



*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index