楼主: Sz1
8387 11

[面板数据求助] 空间计量:关于将截面数据的空间权重矩阵转成面板数据的空间权重矩阵 [推广有奖]

  • 1关注
  • 1粉丝

本科生

32%

还不是VIP/贵宾

-

威望
0
论坛币
89 个
通用积分
1.0000
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
493 点
帖子
4
精华
0
在线时间
172 小时
注册时间
2015-4-17
最后登录
2022-4-21

楼主
Sz1 发表于 2017-4-12 09:28:41 |AI写论文
50论坛币
1.png 这是我国31个省31*31的空间相邻权重矩阵,文件名(swm.dta)。这个只能在横截面数据中使用,现在我要使用空间面板模型,在执行xsmle命令时是不是需要转成spmat格式,我根据坛友的方法输入spmat improt SPWMat using swm.dta出现如下错误,请问该怎么解决 2.png

关键词:空间权重矩阵 空间权重 权重矩阵 面板数据 截面数据 空间

沙发
Sz1 发表于 2017-4-12 09:29:01
急求!!!

藤椅
爱英斯塔 发表于 2017-7-16 21:18:24 来自手机
Sz1 发表于 2017-4-12 09:28
这是我国31个省31*31的空间相邻权重矩阵,文件名(swm.dta)。这个只能在横截面数据中使用,现在我要使用空 ...
同样急求,知道告诉我

板凳
danli1 学生认证  发表于 2020-3-18 13:21:51
楼主解决了吗

报纸
leidenuniv 在职认证  发表于 2020-3-18 21:39:10
命令有问题

地板
rtmust 发表于 2020-12-22 22:21:48
你好,问题解决了吗

7
linyuan6728 发表于 2021-1-20 18:37:45
spcs2xt  s1-s285, time(5) matrix(W)      
s1-s285是变量名
5是面板时间
W为新生成面板矩阵名称

8
2418672384 发表于 2021-4-11 15:21:44 来自手机
linyuan6728 发表于 2021-1-20 18:37
spcs2xt  s1-s285, time(5) matrix(W)      
s1-s285是变量名
5是面板时间
您好,我最近在做空间计量方面的研究,能请教您一些问题吗

9
微观计量小白白 学生认证  发表于 2021-6-24 21:00:20
我也遇到了这个问题

10
Nuliguan 在职认证  发表于 2021-8-10 15:38:29
linyuan6728 发表于 2021-1-20 18:37
spcs2xt  s1-s285, time(5) matrix(W)      
s1-s285是变量名
5是面板时间
matsize too small
    You have attempted to create a matrix with too many rows or columns or
    attempted to fit a model with too many variables.  You need to increase
    matsize; it is currently 400.  Use set matsize; see help matsize.

    If you are using factor variables and included an interaction that has
    lots of missing cells, either increase matsize or set emptycells drop to
    reduce the required matrix size; see help set emptycells.

    If you are using factor variables, you might have accidentally treated a
    continuous variable as a categorical, resulting in lots of categories.
    Use the c. operator on such variables.
出现了一堆红色代码 不行啊😆

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-8 05:04