Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: save coef


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: save coef
Date   Thu, 5 Apr 2012 11:51:39 +0100

Not so. -parmest- on SSC is written for Stata 11.0. That means it
works for Stata 11.0 up, not that upgrading or updating from 11.0 make
it unusable.

As Roger explained, coefficients are saved in e() and all programs in
this territory exploit that.

Nick

On Thu, Apr 5, 2012 at 11:43 AM, Chiara Mussida <cmussida@gmail.com> wrote:
> Dear All,
> I did not find parmest available for Stara 12.1.
>
> Is there another method to get coefs saved "automatically"?
>
>
> On 04/04/2012, Roger B. Newson <r.newson@imperial.ac.uk> wrote:
>> Stata saves the coefficients in the e() structure after using an
>> estimation command (like -regress-). In Stata, type -help estimates- for
>> more about this.
>>
>> Alternatively, you can use the -parmest- package, downloadable from SSC,
>> to save the coefficients, with their confidence limits and P-values, in
>> an output dataset, with 1 obsetrvation per parameter and data on the
>> estimates, confidence limits, P-values and other parameter attributes
>> that the user wants. The user can then list these parameters, and/or
>> plot them using Stata graphics. The on-line help for -parmest- contains
>> hypertext to many references on how users can use -parmest- output datasets.
>>
>> Best wishes
>>
>> Roger
>>
>>
>> Roger B Newson BSc MSc DPhil
>> Lecturer in Medical Statistics
>> Respiratory Epidemiology and Public Health Group
>> National Heart and Lung Institute
>> Imperial College London
>> Royal Brompton Campus
>> Room 33, Emmanuel Kaye Building
>> 1B Manresa Road
>> London SW3 6LR
>> UNITED KINGDOM
>> Tel: +44 (0)20 7352 8121 ext 3381
>> Fax: +44 (0)20 7351 8322
>> Email: r.newson@imperial.ac.uk
>> Web page: http://www.imperial.ac.uk/nhli/r.newson/
>> Departmental Web page:
>> http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/
>>
>> Opinions expressed are those of the author, not of the institution.
>>
>> On 04/04/2012 11:18, Chiara Mussida wrote:
>>> Dear All, i run this reg for my total sample of men and women:
>>> reg lwage ...i.occupation
>>> how can i save the estimated coef by gender and occupation?
>>>
>> *
>> *   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/
>>
>
>
> --
> Chiara Mussida
> PhD candidate
> Doctoral school of Economic Policy
> Catholic University, Piacenza (Italy)
> *
> *   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/

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