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

Re: st: HELP! Output Reg Results into one Column


From   Roger Newson <[email protected]>
To   [email protected]
Subject   Re: st: HELP! Output Reg Results into one Column
Date   Wed, 19 Jan 2005 15:30:55 +0000

This looks like a job for the -parmest- package, downloadable from SSC (using the SSC command). -parmest- creates an output dataset (or resultsset) with 1 observation per parameter and data on parameter names, estimates, confidence limits, P-values and other parameter attributes as specified by the user. To find more about the use of -parmest- with other packages, type

findit resultsset

or

findit enduser

or

net from http://www.kcl-phs.org.uk/rogernewson/

and you will find a selection of .pdf documents describing the use of -parmest- and other resultsset-generating and resultsset-processing packages.

I hope this helps.

Best wishes

Roger


At 03:58 19/01/2005, Simon wrote:

Dear all,

I am running into a STATA programming problem and I hope you could
provide some insights to resolve my problem.

Basically, I would like to obtain a variable that contains all the
coefficient estimates of a regression. For example, after I do "reg y x1
x2 x3", how can I generate a variable in the STATA memory that contains
all the coefficient estimates, namely b1, b2 and b3? I tried to search
the listsev archive but I do not find any relevant post.

Thank you very much. I would greatly appreciate your timely reply.


Best regards,
Simon

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

--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
  or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]
Website: http://phs.kcl.ac.uk/rogernewson/

Opinions expressed are those of the author, not the institution.

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