Hi everyone,
I'd like to write a simple, "sharp" RD command with a triangular kernel - but I'm wondering whether I should use aw or pw weights.
I've seen both. This previous thread uses pw, whereas the "rd" ado seems to use aw. I've tried to read up on it but I'm confused.
I create my weights as follows:
I'm not sure whether I should run
or
where
"band" = the bandwidth
"forcing" = the forcing variable, centered at the cutoff
"above" = indicates being above the cutoff, i.e. assignment to treatment
Could you help?
Thank you in advance,
Andy
I'd like to write a simple, "sharp" RD command with a triangular kernel - but I'm wondering whether I should use aw or pw weights.
I've seen both. This previous thread uses pw, whereas the "rd" ado seems to use aw. I've tried to read up on it but I'm confused.
I create my weights as follows:
Code:
gen weight=max(0,`band'-abs(forcing))
Code:
reg dv above forcing forcing2 aboveXforcing aboveXforcing2 [aw=weight]
Code:
reg dv above forcing forcing2 aboveXforcing aboveXforcing2 [pw=weight]
"band" = the bandwidth
"forcing" = the forcing variable, centered at the cutoff
"above" = indicates being above the cutoff, i.e. assignment to treatment
Could you help?
Thank you in advance,
Andy
Comment