Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Roger Newson <r.newson@imperial.ac.uk> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | Re: st: RE: Table with lincom output? |
Date | Sun, 14 Mar 2010 14:55:16 +0000 |
The packages -lincomest-, -parmest-, -listtab- and -listtex- are downloadable from SSC. Examples of their use are given in Newson (2003)
I hope this helps. Best wishes Roger ReferencesNewson R. 2003. Confidence intervals and p-values for delivery to the end user. The Stata Journal 3(3): 245-269. Download from
http://www.stata-journal.com/article.html?article=st0043Newson R. 2004. From datasets to resultssets in Stata. Presented at the 10th UK Stata User Meeting, 28-29 June, 2004. Download from
http://ideas.repec.org/p/boc/usug04/16.html On 14/03/2010 09:37, Martin Weiss wrote:
<> You can always employ a -postfile- for this purpose: ************* sysuse auto, clear reg price weight length rep78 //-postfile- tempname hdle cap erase info.dta postfile `hdle' est se df /* */ using info.dta lincom weight+rep78 post `hdle' (r(estimate)) (r(se)) (r(df)) lincom 2*weight-4*rep78 post `hdle' (r(estimate)) (r(se)) (r(df)) lincom weight+length-2 post `hdle' (r(estimate)) (r(se)) (r(df)) postclose `hdle' u info, clear l, noo ************* HTH Martin -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Devan Marshall Sent: Sonntag, 14. März 2010 02:04 To: statalist@hsphsun2.harvard.edu Subject: st: Table with lincom output? Hello everyone. I have run a series of lincom commands and I'd like to organize the output in a table. I just need the point estimate and se (which I know you have access with r(estimate) or r(se). So I can save these as scalars. But I cannot find how to organize them in a simple table. The esttab doesn't seem to be able to do this. Any suggestions would be appreciated. Thank You. Devan * * 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/
-- 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. * * 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/