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

Re: st: Accessing regression coefficients for dummy variables created with xi command


From   Roger Newson <[email protected]>
To   [email protected]
Subject   Re: st: Accessing regression coefficients for dummy variables created with xi command
Date   Thu, 07 Jul 2005 11:51:02 +0100

At 00:33 07/07/2005, Amit wrote:

Greetings netters!

I am having trouble with what for many of you will be a basic question. I want to access regression coefficients for dummy variables created using the xi command. What I am trying to do is as follows:

1. Run a regression and calculate coefficient for about 400 dummies created using xi
2. Capture those coefficients
3. Summarize the mean and standard deviation of the coefficients

I looked for help in [U] 16.5 Accessing coefficients and standard errors - but am at a total loss.

Is there another place in the manuals where I should be turning? Other thoughts?
This sounds like a job for the -parmest- package, downloadable from SSC. This creates a dataset (or resultsset) with 1 observation per model parameter and data on the parameter estimates, confidence limits, P-values and other parameter attributes.

More about -parmest- (and other packages that can be used with -parmest-) can be found by typing, in Stata,

net describe uk2004, from(http://www.kcl-phs.org.uk/rogernewson/usergp)

and/or

net describe enduser, from(http://www.kcl-phs.org.uk/rogernewson/papers)

and downloading the available materials.

Hope this helps.

Roger


--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
Division of Asthma, Allergy and Lung Biology
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