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, is already up and running.

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

Re: st: Is it possible to retrieve logit transformed confidence intervals as displayed by svy tabulate using estpost?

From   "Roger B. Newson" <>
Subject   Re: st: Is it possible to retrieve logit transformed confidence intervals as displayed by svy tabulate using estpost?
Date   Mon, 11 Mar 2013 21:34:16 +0000

I don't know about -estpost-. However, retrieving the confidence intervals output by -svy: tabulate- looks like a job for the -parmest- package, which you can download from SSC. If you install -parmest- and then type

help parmcip

then the online help for the -parmcip- option of the -parmest- package contains an example (the final example) of the use of -parmest- and -parmcip- to retrieve the confidence limits that you are looking for.

I hope this helps.

Best wishes


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
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Web page:
Departmental Web page:

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

On 11/03/2013 17:58, McDermaid, Cameron wrote:

Is there any way to retrieve the logit transformed confidence intervals as displayed by -svy: tabulate- when using estpost?

e.g.  -estpost svy: tabulate var1 var2, proportion cv ci obs col format(%11.0g)-

I can obtain most of the output I want using the following, however the confidence intervals are untransformed:
- estout using output.txt, cells("b se ci_l ci_u") unstack-

I'm also not able to extract the coefficient of variation but can calculate it easily enough using the standard error.  Transforming the confidence intervals manually seems impractical due to differences when compared to the values Stata calculates, perhaps due to the accumulation of rounding and the challenge of inputting the t critical value based on df.

This is a "nice to have" because I could use the untransformed ci's, it's just not ideal.  I've perused Statalist and the reference docs for estpost and estout but haven't come across a way to do this.

- cam

Cameron McDermaid MHSc
Ottawa Public Health
100 Constellation Crescent 26-50
Ottawa ON K2G 6J8
vox 613-580-6744x15321
fax 613-580-9601
You can’t fix by analysis what you bungled by design.
                                        - Light, Singer and Willett

This e-mail originates from the City of Ottawa e-mail system. Any
distribution, use or copying of this e-mail or the information it
contains by other than the intended recipient(s) is unauthorized.
If you are not the intended recipient, please notify me at the
telephone number shown above or by return e-mail and delete
this communication and any copy immediately. Thank you.

Le présent courriel a été expédié par le système de courriels de
la Ville d'Ottawa. Toute distribution, utilisation ou
reproduction du courriel ou des renseignements qui s'y trouvent
par une personne autre que son destinataire prévu est interdite.
Si vous avez reçu le message par erreur, veuillez m'en aviser par
téléphone (au numéro précité) ou par courriel, puis supprimer
sans délai la version originale de la communication ainsi que
toutes ses copies. Je vous remercie de votre collaboration.

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index