Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Difference-in-differences analysis with binary data (repeated cross-sectional data)
From 
 
Maarten Buis <[email protected]> 
To 
 
[email protected] 
Subject 
 
Re: st: Difference-in-differences analysis with binary data (repeated cross-sectional data) 
Date 
 
Thu, 24 May 2012 13:51:15 +0200 
On Thu, May 24, 2012 at 1:19 PM, Armen Martirosyan wrote:
> I am using Stata 12 and doing Difference-in-differences (DiD) analysis
> with repeated cross-sectional data. I have found Stata syntax for DiD
> regression for continuous data but I am not able to find syntax for binary
> data and most of my data are binary. I would appreciate if you can send me
> Stata syntax for binary DiD analysis (repeated cross-sectional) along with
> regression equation and  some background information and examples (if
> available)  which can help me to understand how to deal with binary DiD
> regression.
If you have no additional control variables than you have a fully
saturated model and there is no problem with using the code for
continuous data with the addition of the -vce(robust)- option. See:
<http://www.stata.com/statalist/archive/2012-02/msg00351.html>
If you have additional control variables you need to be a bit more
careful and do some more checking to see if the model is reasonable,
but in many cases I would suspect that the linear probability model
will still be just fine.
Hope this helps,
Maarten
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://www.maartenbuis.nl
--------------------------
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/