This file is part of IDEAS, which uses RePEc data


[ Papers | Articles | Software | Books | Chapters | Authors | Institutions | JEL Classification | NEP reports | Search | New papers by email | Author registration | Rankings | Volunteers | FAQ | Blog | Help! ]

LDECOMP: Stata module decomposing the total effects in a logistic regression into direct and indirect effects

Author info | Abstract | Publisher info | Download info | Related research | Statistics
Author Info
Maarten L. Buis () (Vrije Universiteit Amsterdam)

Additional information is available for the following registered author(s):

Abstract

ldecomp decomposes the total effects of a categorical variable in logistic regresion into direct and indirect effects using a method method by Erikson et al. (2005) and a generalization of this method by Buis (2008). Consider an example where social class has an indirect effect on attending college through academic performance in high school. The indirect effect is obtained by comparing the proportion of lower class students that attend college with the counterfactual proportion of lower class students if they had the distribution of performance of the higher class students. This captures the association between class and attending college due to differences in performance. The direct effect of class is obtained by comparing the proportion of higher class students with the counterfactual proportion of lower class students if they had the same distribution of performance as the higher class students. This way the variable performance is kept constant. If these comparisons are carried out in the form of log odds ratios than the total effect will equal the sum of the direct and indirect effects. In its original form this method assumes that the variable through which the indirect effect occurs is normally distributed. This is generalized by Buis (2008) by allowing this variable to have any distribution, which has the added advantage of simplifying the method.

Download Info
To download:

If you experience problems downloading a file, check if you have the proper application to view it first. Information about this may be contained in the File-Format links below. In case of further problems read the IDEAS help file. Note that these files are not on the IDEAS site. Please be patient as the files may be large.

File URL: http://fmwww.bc.edu/repec/bocode/l/ldecomp.ado
File Format: text/plain
File Function: program code
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/_/_ldecomp.ado
File Format: text/plain
File Function: program code
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/l/ldecomp.hlp
File Format: text/plain
File Function: help file
Download Restriction: no
File URL: http://fmwww.bc.edu/repec/bocode/w/wisconsin.dta
File Format: application/x-stata
File Function: sample data file
Download Restriction: no

Publisher Info
Software component provided by Boston College Department of Economics in its series Statistical Software Components with number S456906.

Download reference. The following formats are available: HTML, plain text, BibTeX, RIS (EndNote), ReDIF
Size:
Programming language: Stata
Requires: Stata version 9.0
Date of creation: 29 Jan 2008
Date of revision: 02 May 2008
Handle: RePEc:boc:bocode:s456906

Note: This module may be installed from within Stata by typing "ssc install ldecomp". Windows users should not attempt to download these files with a web browser.
Contact details of provider:
Postal: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA
Phone: 617-552-3670
Fax: +1-617-552-2308
Email:
Web page: http://fmwww.bc.edu/EC/
More information through EDIRC

Order Information:
Web: http://repec.org/docs/ssc.php

For technical questions regarding this item, or to correct its listing, contact: (Christopher F Baum).

Related research
Keywords: logistic regression logit mediation direct and indirect effects

Statistics
Access and download statistics

Did you know? RePEc encourages publishers to make their bibliographic data freely available to the public.

This page was last updated on 2008-5-9.


This information is provided to you by IDEAS at the Department of Economics, College of Liberal Arts and Sciences, University of Connecticut using RePEc data on a server sponsored by the Society for Economic Dynamics.