安慰剂检验介绍、操作及举例

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

安慰剂检验介绍(Placebo test)

安慰剂是一种附加实证检验的思路,并不存在一个具体的特定的操作方法。一般存在两种寻找安慰剂变量的方法。

比如,在已有的实证检验中,发现自变量Xi会影响自变量Zi与因变量Yi之间存在相关关系。在其后的实证检验中,采用其他主体(国家,省份,公司)的Xj变量作为安慰剂变量,检验Xj是否影响Zi与Yi之间的相关关系。如果不存在类似于Xi的影响,即可排除Xi 的安慰剂效应,使得结果更为稳健。

另一种寻找安慰剂变量的方法。已知,Xi是虚拟变量,Xi=1,if t>T;Xi=0 if tT+n;Xi`=0 if t

举例:

以美国市场某种政策冲击识别策略的因果关系考察,在最后部分选取英国同期的因变量,检验是否有类似的特征,就是安慰剂检验。

以中国2007年所得税改革作为减税的政策冲击以验证减税对企业创新的影响。亦可以通过把虚拟的政策实施时间往前往后推几年,作为虚拟的政策时点,如果检验发现没有类似的因果,文章的主要结论就更加可信了。

以下是详细的例题,安慰剂检验在最后。

Surviving Graduate Econometrics with R: Difference-in-Differences Estimation —2 of 8

The following replication exercise closely follows the homework assignment #2 in ECNS 562. The data for this exercise can be

found here.

The data is about the expansion of the Earned Income Tax Credit. This is a legislation aimed at providing a tax break for low income individuals. For some background on the subject, see

Eissa, Nada, and Jeffrey B. Liebman. 1996. Labor Supply Responses to the Earned Income Tax

Credit. Quarterly Journal of Economics. 111(2): 605-637.

The homework questions (abbreviated):

Describe and summarize data.

Calculate the sample means of all variables for (a) single women with no children, (b) single

women with 1 child, and (c) single women with 2+ children.

Create a new variable with earnings conditional on working (missing for non-employed) and

calculate the means of this by group as well.

Construct a varia ble for the “treatment” called ANYKIDS and a variable for after the expansion

(called POST93—should be 1 for 1994 and later).

Create a graph which plots mean annual employment rates by year (1991-1996) for single

women with children (treatment) and without children (control).

Calculate the unconditional difference-in-difference estimates of the effect of the 1993 EITC

expansion on employment of single women.

Now run a regression to estimate the conditional difference-in-difference estimate of the effect

of the EITC. Use all women with children as the treatment group.

Reestimate this model including demographic characteristics.

Add the state unemployment rate and allow its effect to vary by the presence of children.

Allow the treatment effect to vary by those with 1 or 2+ children.

Estimate a “placebo” treatment model. Take data from only the pre -reform period. Use the

same treatment and control groups. Introduce a placebo policy that begins in 1992 (so 1992 and

1993 both have this fake policy).

A review: Loading your data

Recall the code for importing your data:

STATA:

/*Last modified 1/11/2011 */

*************************************************************************

*The following block of commands go at the start of nearly all do files*/

*Bracket comments with /* */ or just use an asterisk at line beginning

clear /*Clears memory*/

set mem 50m /*Adjust this for your particular dataset*/

cd "C:\DATA\Econ 562\homework" /*Change this for your file structure*/

log using , replace /*Log file records all commands & results*/

display "$S_DATE $S_TIME"

set more off

insheet using , clear

*************************************************************************

R:

1 2 3 4 5 6 7 8 9 10 11 12

13 14# Kevin Goulding

# ECNS 562 - Assignment 2

##########################################################################

# Load the foreign package

require(foreign)

# Import data from web site

# update: first download the file from this link:

# Then import from your hard drive:

eitc = ("C:/link/to/my/download/folder/")

Note that any comments can be embedded into R code, simply by putting a # to the left of your com from your hard drive:

相关文档
最新文档