EconPapers    
Economics at your fingertips  
 

MMWS: Stata module to perform marginal mean weighting through stratification

Ariel Linden

Statistical Software Components from Boston College Department of Economics

Abstract: mmws implements a method, originally proposed by Huang et al (2005), extended by Hong (2010, 2012), and further described by Linden (2014) that combines elements of two propensity score-based techniques, stratification and weighting. mmws is a data pre-processing procedure that reweights a dataset to balance the observed pretreatment characteristics across all treatment groups. Under the ignorability assumption, the weighted data should approximate a randomized experiment. The weights generated by mmws can then be passed to the appropriate outcome model for use in subsequent analyses. Before using mmws, the propensity score for a given treatment must be estimated. A logit or probit regression model can be used for estimating the propensity score for a binary treatment; an ordinal logit or probit regression model can be used to estimate the propensity score for a treatment with ordered levels (e.g. varying doses of a drug); and a multinomial logistic or probit regression can be used for estimating propensity scores for nominal (independent) treatments.

Language: Stata
Requires: Stata version 11
Keywords: propensity score; stratification; weighting; marginal mean weighting; causal inference (search for similar items in EconPapers)
Date: 2014-08-15, Revised 2026-09-15
Note: This module should be installed from within Stata by typing "ssc install mmws". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/m/mmws.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/m/mmws.sthlp help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s457886

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2026-09-19
Handle: RePEc:boc:bocode:s457886