云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > 广义倾向得分匹配法:Stata程序+实例论文 - 图文

广义倾向得分匹配法:Stata程序+实例论文 - 图文

  • 62 次阅读
  • 3 次下载
  • 2025/5/2 2:00:44

370EstimatingtheGPSandthedose–responsefunction

6.2Outputfromdoseresponse

Beforerunningdoseresponse,wehavetodecideaboutthetreatmentlevels,whichestimatetheaveragepotentialoutcome.FollowingHiranoandImbens(2004),wefocusonthevalues10,20,...,100,whichwestoretoa10-dimensionalvectornamedtp(seebelow).Theoutputfromrunningdoseresponseisasfollows:

.uselotterydataset.dta,clear

.quigeneratecut=23ifprize<=23

.quireplacecut=80ifprize>23&prize<=80.quireplacecut=485ifprize>80

.matrixdefinetp=(10\\20\\30\\40\\50\\60\\70\\80\\90\\100)

.doseresponseagewownhsmaletixbotowncollworkthenyearwyearm1yearm2>yearm3yearm4yearm5yearm6,outcome(year6)t(prize)gpscore(pscore)>predict(hat_treat)sigma(sd)cutpoints(cut)index(p50)nq_gps(5)>t_transf(ln)dose_response(dose_response)tpoints(tp)delta(1)

>reg_type_t(quadratic)reg_type_gps(quadratic)interaction(1)bootstrap(yes)>boot_reps(100)filename(\analysis(yes)graph(\detail********************************************ESTIMATEOFTHEGENERALIZEDPROPENSITYSCORE********************************************(outputomitted)Theoutcomevariable``year6′′isacontinuousvariable

Theregressionmodelis:Y=T+T^2+GPS+GPS^2+T*GPS

SourceSSdfMSNumberofobs

F(5,196)

Model2945.927385589.185477Prob>FResidual38378.9633196195.811037R-squared

AdjR-squared

Total41324.8907201205.596471RootMSE

year6

prizeprize_sqpscorepscore_sqprize_pscore

_cons

Coef.-.2254371.0003537-103.3373131.949.549993331.26845

Std.Err..0748156.000166948.3707679.40569.21976616.955419

t-3.012.12-2.141.662.504.50

P>|t|0.0030.0350.0340.0980.0130.000

======2023.010.01220.07130.047613.993

[95%Conf.Interval]-.3729839.0000245-198.7312-24.65021.116583517.55138

-.0778902.0006828-7.943281288.5482.983403144.98552

Bootstrappingofthestandarderrors

...............................................................................>.....................

TheprogramisdrawinggraphsoftheoutputThisoperationmaytakeawhile(filegraph_output.gphsaved)EndoftheAlgorithm

M.BiaandA.Mattei371Theestimatedcoe?cientsoftheregressionoftheoutcome,earningssixyearsafterwinningthelottery,theprize,andthescoreareshownbecausewehaverequiredadetailedoutput.Otherwise,doseresponseprovidesonlyagraphicoutput,suchasthatshownin?gure1.Figure1showsboththeestimateddose–responsefunctionandtheestimatedtreatment-e?ectfunction,whichcanbeinterpretedasaderivate,becausewehavespeci?edatreatmentgapequalto1(delta(1)).OnlyinformationconcerningtheGPSestimationisprovidedwhendetailisnotspeci?edandtheanalysis()optionissettono.Dose Response Function200E[year6(t+1)]?E[year6(t)]020406080Treatment level100?2000?1000100E[year6(t)]500010000150002000025000Treatment Effect Function204060Treatment level80100Dose ResponseUpper boundLow boundTreatment EffectUpper boundLow boundConfidence Bounds at .95 % levelDose response function = Linear predictionConfidence Bounds at .95 % levelDose response function = Linear predictionFigure1.Estimateddose–responsefunction,estimatedderivative,and95%con?dencebands(Continuedonnextpage)372EstimatingtheGPSandthedose–responsefunction

TheresultsgeneratedbydoseresponsearestoredinanewStata?le,whichwehavenamedoutput.This?lehas10observationsand6variables:treatmentlevel,containingthetreatmentlevels,atwhichweestimatetheaveragepotentialoutcome;treatmentlevelplus,containingthe#-shiftedtreatmentlevels,where#isequalto1;doseresponse,theestimateddose–responsefunction;sedoseresponsebs,thestandarderrorsoftheestimateddose–responsefunction;diffdoseresponse,thees-timatedtreatment-e?ectfunction;andsediffdoseresponsebs,thestandarderrorsoftheestimatedtreatment-e?ectfunction.Thegraphicoutputisalsostoredtoanew?le,whichwehavenamedgraphoutput.

7Acknowledgments

WethankFabriziaMealli,GuidoImbens,andKeisukeHiranofortheirinsightfulsug-gestionsanddiscussions,andGuidoImbensandKeisukeHiranoforprovidingthedata.

8References

Becker,S.O.,andA.Ichino.2002.Estimationofaveragetreatmente?ectsbasedonpropensityscores.StataJournal2:358–377.Bia,M.,andA.Mattei.2007.Applicationofthegeneralizedpropensityscore.Eval-uationofpubliccontributionstoPiedmontenterprises.POLISWorkingPaper80,UniversityofEasternPiedmont.Hirano,K.,andG.W.Imbens.2004.Thepropensityscorewithcontinuoustreat-ments.InAppliedBayesianModelingandCausalInferencefromIncomplete-DataPerspectives,ed.A.GelmanandX.-L.Meng,73–84.WestSussex,England:WileyInterScience.Holland,P.W.1986.Statisticsandcausalinference.JournaloftheAmericanStatisticalAssociation8:945–960.Imbens,G.W.,D.B.Rubin,andB.I.Sacerdote.2001.Estimatingthee?ectofunearnedincomeonlaborearnings,savings,andconsumption:Evidencefromasurveyoflotteryplayers.AmericanEconomicReview91:778–794.Je?reys,H.1961.TheoryofProbability.3rded.Oxford:OxfordUniversityPress.Leuven,E.,andB.Sianesi.2003.psmatch2:StatamoduletoperformfullMahalanobisandpropensityscorematching,commonsupportgraphing,andcovariateimbalancetesting.BostonCollegeDepartmentofEconomics,StatisticalSoftwareComponents.Downloadablefromhttp://ideas.repec.org/c/boc/bocode/s432001.html.Rosenbaum,P.R.,andD.B.Rubin.1983.Thecentralroleofthepropensityscoreinobservationalstudiesforcausale?ects.Biometrika70:41–55.Rubin,D.B.1976.Inferenceandmissingdata.Biometrika63:581–592.

M.BiaandA.Mattei

Abouttheauthors

373

MichelaBiaisaresearchassistantatLaboratorioRevelli,CentreforEmploymentStudies,CollegioCarloAlberto,Turin,Italy.

AlessandraMatteiisastatisticsresearchassistantintheDepartmentofStatistics,“GiuseppeParenti”,UniversityofFlorence,Italy.OnFebruary25,2008,shewonacompetitiveexamtoworkasanassistantprofessorofstatisticsinthefacultyofpsychologyattheUniversityofFlorence.

  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

370EstimatingtheGPSandthedose–responsefunction6.2OutputfromdoseresponseBeforerunningdoseresponse,wehavetodecideaboutthetreatmentlevels,whichestimatetheaveragepotentialoutcome.FollowingHiranoandImbens(2004),wefocusonthevalues10,20,...,100,whichwestoretoa10-dimensionalvectornamedtp(seebelow).Theoutputfromrunningdoseresponseisasfollows:.uselotterydataset.dta,clear.quige

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com