[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

From |
Kit Baum <baum@bc.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st: Re: R and Stata efficiency |

Date |
Wed, 11 Jul 2007 08:42:12 -0400 |

Phil is quite correct, but the current version of Stata (10.0) contains an -estimates save- command that allows you to retain and recall estimated results in this or later sessions of Stata.

http://www.stata.com/help.cgi?estimates_save

Kit Baum, Boston College Economics and DIW Berlin

http://ideas.repec.org/e/pba1.html

An Introduction to Modern Econometrics Using Stata:

http://www.stata-press.com/books/imeus.html

On Jul 11, 2007, at 2:33 AM, Phil wrote:

For example, a common idiom in R is to fit a model like this: results <- lm(y ~ x) This command places the results into an object called "results" (technically of class "lm"), which one can then use later on. In Stata, this would look like: reg y x est store results which would store the estimation results under the name "results" for further use. Of course in R you can save the object "results" in a file, whereas in Stata (at least as of version 9) you cannot save the set of results in a file (though see Michael Blasnik's -estsave- and Ben Jann's -estwrite- and -estread- wrappers for a workaround).

* * 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/

- Prev by Date:
**Re: st: Using sts list results in do-files** - Next by Date:
**st: Re: R and Stata efficiency** - Previous by thread:
**Re: st: Using sts list results in do-files** - Next by thread:
**st: Re: R and Stata efficiency** - Index(es):

© Copyright 1996–2015 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |