全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
25138 40
2016-04-14
悬赏 5 个论坛币 未解决
如题,在使用xsmle命令遇到conformability error类错误,请问如何处理,谢谢!

. spmat use w using usaww.spmat
. spmat summarize w,links
. use "C:\Users\IBM\Desktop\xsmle\product.dta", clear
. xtset state year
. xsmle gsp pc unemp hwy,wmat(w) model(sdm) fe type(both) hausman noeff nolog

1.jpg



数据:
data.rar
大小:(24.71 KB)

 马上下载







1.jpg

原图尺寸 113.95 KB

1.jpg

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2016-4-14 10:30:22
静候高人点拨,愿意自主资助两百币
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-4-14 10:46:20
选择项中没有hausman这一项,你去了看一下。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-4-14 10:49:38
shuailiushuai 发表于 2016-4-14 10:46
选择项中没有hausman这一项,你去了看一下。
你好,是可以做的,谢谢回复。

   SDM_options                    Description
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Model
      wmat(name)                   specify the weight matrix for the spatial-autoregressive term
      dmat(name)                   specify the weight matrix for the spatially lagged regressors; default is to use the wmat() matrix.
      durbin(varlist)              specify the regressors that have to be spatially lagged; default is to lag all independent variables in varlist
      re                           use the random effects estimator; the default
      fe                           use the fixed effects estimator
      type(type_options[, leeyu])  specify fixed-effects type

    SE/Robust
      vce(vcetype)                 may be oim, opg, robust, cluster clustvar, dkraay #
      robust                       synonym for vce(robust)
      cluster(clustvar)            synonym for vce(cluster clustvar)

    Other
      noconstant                   suppress the constant term in the model. Only for re estimator
      noeffects                    suppress the computation of direct, indirect and total effects
      nsim(#)                      set the number of simulations to compute the standard errors for the spatial direct and indirect effects
      constraints(constraints)     apply specified linear constraints
      from(init_specs)             specify initial values for the coefficients
      hausman                      performs the Hausman test
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-4-14 10:55:11
可以直接做hausman检验的的。
附件列表
2.jpg

原图尺寸 354.08 KB

2.jpg

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-4-14 10:56:24
shuailiushuai 发表于 2016-4-14 10:46
选择项中没有hausman这一项,你去了看一下。
你好,最新版本的命令是有这个选项的。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群