楼主: 阳春白雪YAN
10294 6

[回归分析求助] 求助: stata中xsmle的正确用法,希望大家帮助!!! [推广有奖]

  • 0关注
  • 3粉丝

已卖:177份资源

硕士生

12%

还不是VIP/贵宾

-

威望
0
论坛币
537 个
通用积分
1.0600
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
2208 点
帖子
95
精华
0
在线时间
119 小时
注册时间
2013-11-25
最后登录
2021-12-9

楼主
阳春白雪YAN 发表于 2015-8-6 15:05:53 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
help xsmle ,得到如下指示:
SAR: Spatial Autoregressive (SAR) model

        xsmle depvar [indepvars] [if] [in] [weight] , wmat(name) model(sar)
                [SAR_options]


Model
      wmat(name)                   specify the weight matrix for the
                                     spatial-autoregressive term
      re                           use the random effects estimator; the
                                     default
      fe                           use the fixed effects estimator
      type(type_options[, leeyu])  specify fixed-effects type


  Type options                             Description
    --------------------------------------------------------------------------
      ind                                     for individual fixed effects
                                               effects
      time                                    for time fixed effect
      both                                    for both time and individual
                                               fixed effects



然后我按照提示写下如下三个命令,
xsmle tfp tran tele nagri pdens fopen hucap yr*, wmat(W01) model(sar) fe ind

xsmle tfp tran tele nagri pdens fopen hucap yr*, wmat(W01) model(sar) fe time

xsmle tfp tran tele nagri pdens fopen hucap yr*, wmat(W01) model(sar) fe both


但最后三个结果却一模一样,不知道问题出在哪里,急求大家帮助啊~~~~

另外,我将后面的ind time both用type括起来,但是除了ind运行正常之外,下面两个却出现错误提示“estimates post: matrix has missing values”。。


新人,急求大神相助!!!!
二维码

扫码加我 拉你入群

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

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

关键词:Stata tata MLE SML fixed effect default matrix

沙发
lichen8083 发表于 2015-8-6 15:34:06
有兴趣在QQ说聊才知道,3262369478

藤椅
白昼谈经罢3 在职认证  学生认证  发表于 2020-1-5 08:54:32 来自手机
你解决了吗

板凳
gonglukuang4 发表于 2021-6-4 15:30:34
有人解决吗

报纸
looneyboy 发表于 2021-10-29 23:58:03
请问楼主解决了吗?我也遇到同样的问题

地板
wwwwkq 发表于 2022-5-10 17:38:42
xsmle tfp tran tele nagri pdens fopen hucap yr*, wmat(W01) model(sar) fe type(ind)
应该就可以

7
蓉蓉的布丁去哪了 发表于 2023-10-8 20:34:06
looneyboy 发表于 2021-10-29 23:58
请问楼主解决了吗?我也遇到同样的问题
请问解决了吗,我两个模型做出来结果也是一样的

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-26 03:22