|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: exporting regression coefficient
If you want to export the regression coefficients to an output dataset
with 1 observation per regression ANALYSIS, then use -statsby-, as Nick
and Martin advise. If you want to export the regression coefficients to
an output dataset with 1 observation per estimated regression PARAMETER,
and variables containing the names, estimates, lower and upper
confidence limits, P-values, and other parameter attributes, then use
the -parmest- command, which you can download from SSC using the SSC
command.
I hope this helps.
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: [email protected]
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/
On 12/02/2010 13:21, David Mccartney wrote:
Hi,
I was wondering if anybody might be able to help. I'm running multiple regressions using the 'repeat command by group' function and am trying to export the regression coefficients using the outreg2 command. Is there anyway to export the regression coefficients for all the groups at the same time?
thanks
David
*
* 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/