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.

# st: Transform logit coef and use in -estout- -esttab-

 From RV Rikard To statalist@hsphsun2.harvard.edu Subject st: Transform logit coef and use in -estout- -esttab- Date Thu, 27 Sep 2012 15:52:28 -0400

```Good day Statalist,

I'm unable to locate a solution to transform logit coefficients and then
output the transformed values using -estout- and -esttab-.

How would one do the following:

1.  Compute the Interquartile Range (IQR) for each continuous variable,
2.  After estimating a logit model - multiply the IQR value and the
logit coefficient (b) for each respective continuous variable in the
logit model,
3.  Then exponentiate the product computed in step 2,
4.  Replace the logit coefficient reported for a continuous variable in
-esttab- with the exponentiated value from step 3.

For example:
(Note: Just as an aside, I'm using -svy- command as my data contains
sampling weights.)

svy: logit hins age female score
eststo m1

esttab m1 using hinsmodels.csv

Where hins is a binary (0/1) variable for health insurance status, age
is age in years and a continuous variable, female is a binary variable
for sex (0=male / 1=female), and score is standardized test score and a
continuous variable.

I greatly appreciate anyone pointing me in the direction of a solution.

Best,
RV

RV Rikard
Dept. of Sociology & Anthropology
North Carolina State University
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/
```