*!version 1.1.0 20/03/2015
help varmi

Title

varmi -- creates a dummy variable that takes 1 when all the variable in the varlist are missing

Syntax

varmi varlist, GENerate(varname) [LABel(namelist)]

Description

The dummy variable takes the value 1 when all variables are missing 0 otherwise. Useful for analysis of attrition. You may also assign a label to the dummy variable using the label option.

Examples

varmi outcome1 outcome2 outcome3 , gen(outcome_mi)

Author

Adrien Bouguen, Paris School of Economics, J-PAL Europe
abouguen@povertyactionlab.org