全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
4935 9
2022-02-22
splagvar命令选项挺多的,应该用哪个生成空间滞后项呢?有什么区别,在什么情况下用?

复制代码

二维码

扫码加我 拉你入群

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

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

全部回复
2022-3-9 16:07:47
help文件是这么说的

   wname(weights_name) specifies the name of the spatial weights matrix to be used.

    wfrom(Stata | Mata) indicates whether the spatial weights matrix is a Stata matrix loaded in memory or a Mata file located in the working directory. If the spatial weights matrix had been created using spwmatrix it should exist as a Stata matrix or as a Mata file.

  
    qvar(varlist3) specifies the variables to be used in generating quasi-instrumental variables.

    qname(newvarlist) specifies a list of variable names for the generated quasi-intrumental variables coded 1, 0, and -1 depending on whether or not the values of the corresponding variables specified with qvar() are in the upper, middle or lower third of values when placed in rank order (see Fingle and Le Gallo, 2008).
二维码

扫码加我 拉你入群

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

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

2022-3-10 19:14:29
https://www.statalist.org/forums ... 1510157#post1510157

https://www.statalist.org/forums/forum/general-stata-discussion/general/1567633-error-using-spgenerate?p=1572625#post1572625
参考Statalist帖子,关于生成空间滞后项的命令
二维码

扫码加我 拉你入群

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

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

2022-5-3 11:18:27
你好,请问你解决了吗
二维码

扫码加我 拉你入群

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

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

2022-5-3 16:52:36
UUYABC 发表于 2022-5-3 11:18
你好,请问你解决了吗
试试:
复制代码
二维码

扫码加我 拉你入群

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

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

2024-5-10 17:09:43
splagvar这个命令到底怎么用?我面板数据是270个体*17年一共4590个观测值,权重矩阵是已经设置好的270*270,在使用的时候为什么提示Number of observations (4590) not conformable with weights matrix size (270 by 270),请问谁知道什么原因
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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