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]

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

From   RV Rikard <>
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.


RV Rikard
Dept. of Sociology & Anthropology
North Carolina State University
*   For searches and help try:

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