From | Roger Newson <[email protected]> |
To | [email protected] |
Subject | Re: st: lnskew question |
Date | Mon, 09 Dec 2002 14:02:06 +0000 |
At 13:23 09/12/02 +0000, I wrote:
ASorry, that was a mistake. (Thanks to Nick Cox for pointing this out to me.) I was misreading -[R] lnskew- and assuming that -exp- meant "exponentiation". In fact it means "expression". The inverse function of
The inverse function of
y=ln(exp(x)-k)
is
x=ln(exp(y)+k)
and you can use this to back-transform the confidence interval for the arithmetic mean of y to get a confidence interval for the "lnskewometric mean" of x. (This exercise might be easier if you use my -parmest- package, downloadable from SSC, which saves the output from a model fit as a data set with 1 observartion per parameter and data on estimates, confidence limits and P-values. Type -ssc describe parmest- to find out more.)
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |