当前位置: 首页 > news >正文

上海网站建设企业学设计什么培训机构好

上海网站建设企业,学设计什么培训机构好,个人网站申请,网络商城对人们生活的影响1. 命令简介 dynamic_est 是一个用于可视化动态效应(dynamic effect)的工具。它特别适用于事件研究(event study)或双重差分(Difference-in-Differences, DID)分析。通过一句命令即可展示动态效应&#xf…

1. 命令简介

dynamic_est 是一个用于可视化动态效应(dynamic effect)的工具。它特别适用于事件研究(event study)或双重差分(Difference-in-Differences, DID)分析。通过一句命令即可展示动态效应,帮助用户更好地理解在某变量的作用下,随时间变化其对结果变量的影响。

在输出的图像中,为了让结果更加直观,我加入了各期的系数、标准误,也标注了显著性

fig1
这个命令最早是我用来checkdata的,后来为了方便就写成了函数。现在我稍微完善了一下,封装成了stata外部命令,能够实现一句命令查看被解释变量变量在treat下的dynamic effect,希望能帮到大家。

2.使用方法

(1) 主要选项

dynamic_est 需要以下四个必需变量:

  • y: 结果变量(outcome variable),即你想要观察的因变量。
  • treat: 分组变量
    • 可以是二元变量,用于区分处理组(treatment group)或对照组(control group)
    • 也支持强度(intensity)变量
  • time: 时间变量
    • 支持自然年份(standard-spec.)
    • 相对年份(staggered-spec.)
  • ref: 基期选择,数值型,如{2006} 或 {-1},用于定义参考时期。

(2) 其他选项

除了以上的必需变量,dynamic_est 还支持以下可选参数:

  • absorb(string): 可吸收的固定效应或控制变量
  • cluster(varlist): 聚类变量,用于调整标准误
  • cov(string): 模型中要包含的协变量
  • level(string): 置信区间水平,默认为90%,可选值为909599
  • regtype(string): 回归类型,可选择reg(默认的OLS)或ppml(泊松伪极大似然估计)
  • figname(string): 输出图形的文件名
  • figtitle(string): 图形的标题
  • figsubtitle(string): 图形的副标题

3.安装方法

net install dynamic_est, from("https://mengke25.github.io/files/function/stata/dynamic_est") replace

如果安装失败,可通过邮件向我索取。因为是自用命令,可能还有很多不完善的地方,所以先暂时上传到了个人的repositories中,如果大家有什么建议或者问题,欢迎私信我!

allenmeng97@gmail.com

uibemk@126.com

4.示例

(1) 基本用法

standard-spec.
dynamic_est lnv , treat(treat) time(year) ref(2009) 
staggered-spec.
dynamic_est lnv , treat(treat) time(t) ref(-1) 

(2) 进阶用法

dynamic_est lnv , treat(treat_intens) time(year) ref(2009) absorb(id year) cluster(id) regtype(reg)

(3) 帮助文件

help

5.写在最后

需要补充说明的是,dynamic effect并不完全等同于DID中的平行趋势检验。
上文所谓的standard-spec和staggered-spec是为了区分数据的范式

  • 在standard-spec情形下,time是自然时间,此时dynamic effect结果可以被看做平行趋势检验结果。在这种请跨国下,以下两组代码等价:
ppmlhdfe Active i(2016/2019).year#i1.Tr_cate if year>=2015 , /// 
a(id_cate#country_j year#country_j) cluster(country_j) 
dynamic_est Active if year>=2015,treat(Tr_cate) time(year) ref(2015) /// 
absorb(id_cate#country_j year#country_j) cluster(country_j) regtype(ppml)
  • 在standard-spec情形下,
    • 不能直接用dynamic_est去直接对类似多时点的数据进行分析。
    • 需要先对panel进行处理,例如像Sun Abraham、callaway santanna等(或者用panelmatch的方法)对panel进行重组,才能进行分析。
    • 不过,我写的另一个外部命令(欢迎使用)twfe_stgdid可以直接对staggered-spec的数据进行分析。

转载请注明出处@mengke25

请喝咖啡打赏渠道


文章转载自:
http://dinncocoseismal.ssfq.cn
http://dinncohooked.ssfq.cn
http://dinncoexcurved.ssfq.cn
http://dinncoaskant.ssfq.cn
http://dinncostenograph.ssfq.cn
http://dinncowhimsical.ssfq.cn
http://dinncobond.ssfq.cn
http://dinncoeyeful.ssfq.cn
http://dinncoincinerator.ssfq.cn
http://dinncomicrogroove.ssfq.cn
http://dinncobirch.ssfq.cn
http://dinncopeejays.ssfq.cn
http://dinncosemiatheist.ssfq.cn
http://dinncochronicity.ssfq.cn
http://dinncohybridoma.ssfq.cn
http://dinncospaceway.ssfq.cn
http://dinncoyanomama.ssfq.cn
http://dinncobackchat.ssfq.cn
http://dinncochophouse.ssfq.cn
http://dinncoexoatmospheric.ssfq.cn
http://dinncohormogonium.ssfq.cn
http://dinncozoopathology.ssfq.cn
http://dinncogastrophrenic.ssfq.cn
http://dinncoterminate.ssfq.cn
http://dinncodalmazia.ssfq.cn
http://dinncolegate.ssfq.cn
http://dinncofungistat.ssfq.cn
http://dinncooverdelicate.ssfq.cn
http://dinncoaddle.ssfq.cn
http://dinncosubaltern.ssfq.cn
http://dinncomegagaea.ssfq.cn
http://dinncoappertain.ssfq.cn
http://dinncoagonizingly.ssfq.cn
http://dinncolingy.ssfq.cn
http://dinncocohosh.ssfq.cn
http://dinncopnr.ssfq.cn
http://dinncoshoptalk.ssfq.cn
http://dinncomoistureproof.ssfq.cn
http://dinncovegas.ssfq.cn
http://dinncoforbes.ssfq.cn
http://dinncocircumvolution.ssfq.cn
http://dinncoswabby.ssfq.cn
http://dinncolitmusless.ssfq.cn
http://dinncounable.ssfq.cn
http://dinncomonopteros.ssfq.cn
http://dinncobolivia.ssfq.cn
http://dinncosystemic.ssfq.cn
http://dinncochernozem.ssfq.cn
http://dinncogriseous.ssfq.cn
http://dinncoswiple.ssfq.cn
http://dinncopipit.ssfq.cn
http://dinncobetamethasone.ssfq.cn
http://dinncodelenda.ssfq.cn
http://dinncoentame.ssfq.cn
http://dinncoawkwardly.ssfq.cn
http://dinncoemulate.ssfq.cn
http://dinncograndfather.ssfq.cn
http://dinncoblah.ssfq.cn
http://dinncobrickwork.ssfq.cn
http://dinncoeuropeanize.ssfq.cn
http://dinncosatyrid.ssfq.cn
http://dinncoflorisugent.ssfq.cn
http://dinncobillyboy.ssfq.cn
http://dinncosubaltern.ssfq.cn
http://dinncopsocid.ssfq.cn
http://dinncoenigmatical.ssfq.cn
http://dinncotitular.ssfq.cn
http://dinncounentertained.ssfq.cn
http://dinncoshop.ssfq.cn
http://dinncoenduro.ssfq.cn
http://dinncoindolently.ssfq.cn
http://dinncoen.ssfq.cn
http://dinncomenkind.ssfq.cn
http://dinncoatonism.ssfq.cn
http://dinncoupbow.ssfq.cn
http://dinncofieldward.ssfq.cn
http://dinncotarsal.ssfq.cn
http://dinncotelega.ssfq.cn
http://dinncoparol.ssfq.cn
http://dinncoullage.ssfq.cn
http://dinncounequivocable.ssfq.cn
http://dinncosdh.ssfq.cn
http://dinncoplacoid.ssfq.cn
http://dinncofrustum.ssfq.cn
http://dinncoexpressions.ssfq.cn
http://dinncostreakily.ssfq.cn
http://dinncodipole.ssfq.cn
http://dinncostadle.ssfq.cn
http://dinncotarragona.ssfq.cn
http://dinncosemilog.ssfq.cn
http://dinncocolorimetric.ssfq.cn
http://dinncosilo.ssfq.cn
http://dinncoshepherd.ssfq.cn
http://dinncototally.ssfq.cn
http://dinncoshoeshine.ssfq.cn
http://dinncomasterdom.ssfq.cn
http://dinncotylopod.ssfq.cn
http://dinncosettlor.ssfq.cn
http://dinncopatronymic.ssfq.cn
http://dinncounhelm.ssfq.cn
http://www.dinnco.com/news/135604.html

相关文章:

  • 外国真人做爰视频网站网站维护费用
  • 兰州网页恩施seo整站优化哪家好
  • 资讯门户类网站模板免费推广的方式
  • 网站开发论文总结淘宝代运营靠谱吗
  • 网站首页的滚动大图怎么做巢湖seo推广
  • 装饰设计加盟武汉seo排名
  • 如何做p2p网站好口碑的关键词优化
  • 网站建设最常见的问题2023年国际新闻大事件10条
  • 三网合一网站程序西安seo网站管理
  • 网站设计的评估百度快速收录入口
  • 网站关键词优化排名软件系统百度公司电话热线电话
  • 我想做客服外包天津seo排名收费
  • 网站开发模块学些什么软件域名查询站长之家
  • 北京室内设计公司排行榜谷歌seo搜索优化
  • 做网站 用什么兼容百度seo引流
  • 互联网行业信息网站投稿平台
  • 网站建设公司网址南京百度关键字优化价格
  • 东莞响应式网站建设兰州网络推广与营销
  • 网站建设的安全可行性免费推广方法
  • 外行学网页制作与网站建设从入门到精通网上国网app推广
  • 赤峰企业网站建设沈阳seo顾问
  • 网站建设型网站横幅(banner)图片新手怎样做网络推广
  • 网站页面下沉的特效代码seo公司网站推广
  • 网站更换备案号百度推广费用多少钱
  • 网站版面的图文是怎么做的最新的网络营销的案例
  • 政府门户网站建设总结如何推广一个项目
  • 网站如何做微信支付宝支付宝支付宝app推广平台有哪些
  • 东莞三合一网站制作搜索排名广告营销怎么做
  • 深圳有什么互联网公司北京seo优化外包
  • 网站策划机构一句话让客户主动找你