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, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: Re: comparing regression discontinuity treatment effects for different subsamples


From   "Villa Lora, Juan Miguel" <juanmiguelv@iadb.org>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Re: comparing regression discontinuity treatment effects for different subsamples
Date   Tue, 12 Oct 2010 16:53:09 -0400

Hello,
I'd recommend Prof. Imbens's program on RD found at http://www.economics.harvard.edu/faculty/imbens/software_imbens with the built-in optimal choice of the bandwidth MSE explained at http://www.economics.harvard.edu/faculty/imbens/files/rd_09feb3.pdf
Rgards, 
Juan.
________________________________________
From: owner-statalist@hsphsun2.harvard.edu [owner-statalist@hsphsun2.harvard.edu] On Behalf Of Austin Nichols [austinnichols@gmail.com]
Sent: Tuesday, October 12, 2010 4:12 PM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: Re: comparing regression discontinuity treatment effects for different subsamples

Prashant  <presearchwork@gmail.com>:
That looks like a good start, but what are you supplying to option z0?
Do males and females have different cutoffs in the assignment variable
(AKA running variable)?

On Tue, Oct 12, 2010 at 9:19 AM, Prashant <presearchwork@gmail.com> wrote:
> Dear Austin and John,
>
> Thank you so much for your kind advice. I am new to programming in
> Stata and so would appreciate any further feedback on whether the
> following example code correctly captures the idea:
>
> capture program drop mycompare1
> program mycompare1, eclass
>        version 11.1
>        syntax varlist(numeric)
>        quietly rd `varlist' if female == 1, z0(fixed_bw1) mbw(100) bw(2) kernel(tri)
>        matrix treat1 = e(b)
>        quietly rd `varlist' if female == 0, z0(fixed_bw2) mbw(100) bw(2) kernel(tri)
>        matrix treat2 = e(b)
>        matrix diff = treat2 - treat1
>        ereturn post diff
> end
>
> bootstrap, reps(1000): mycompare1 yvar running_var
>
> Many thanks again--best wishes,
> Prashant

*
*   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/

*
*   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/


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