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 on April 23, and its replacement, statalist.org is already up and running.


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

RE: st: Getting confidence intervals from lincom


From   "Pagel, Christina" <c.pagel@ucl.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Getting confidence intervals from lincom
Date   Tue, 28 Aug 2012 17:27:40 +0000

Thank you!! I've installed lincomest and it works perfectly - thanks! 

Christina

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Roger B. Newson
Sent: 28 August 2012 6:22 PM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: Getting confidence intervals from lincom

One possibility is to use the -parmest- and -lincomest- packages, both downloadable from SSC. The -lincomest- package is like -lincom-, but saves the results as Stata estimation results. And the -parmest- package inputs a set of estimation results and creates an output dataset (or
resultsset) with 1 observation per estimated parameter and data on parameter names, estimates, confidence limits, P-values and other parameter attributes.

For an example of the use of -parmest- and -lincomest- together, see Subsection 3.3 of Newson (2003).

I hope this helps.

Best wishes

Roger


References
Newson R. Confidence intervals and p-values for delivery to the end user. The Stata Journal 2003; 3(3): 245-269. Download from
http://www.stata-journal.com/article.html?article=st0043

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 28/08/2012 18:12, Pagel, Christina wrote:
> I am using lincom to combine 3 estimates:
>
> lincom(1.District1+1.District2+1.District3)/3
>
> the output table gives the combined estimate and its confidence intervals. However, typing ereturn list and return list I get everything but I do NOT see the confidence interval limits anywhere! (I get the standard error in r(se) and the estimate in r(estimate)).
>
> Please help! What I'd like to do is to write the confidence interval limits to a matrix that I'm creating inside a foreach loop which I will later display.
>
>
>
>
> *
> *   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/



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