楼主: lzhazard
5577 7

[面板数据求助] xtptm执行过以后用_matplot LR, columns(1 2)画的图是残差图吗? [推广有奖]

  • 0关注
  • 0粉丝

大专生

0%

还不是VIP/贵宾

-

威望
0
论坛币
12 个
通用积分
0
学术水平
1 点
热心指数
0 点
信用等级
0 点
经验
428 点
帖子
33
精华
0
在线时间
34 小时
注册时间
2006-12-26
最后登录
2014-5-5

楼主
lzhazard 发表于 2011-6-28 17:49:14 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
xtptm执行过以后用_matplot LR, columns(1 2)画的图是残差图,对吗?
还是什么别的,这个散点图能说明什么问题。
二维码

扫码加我 拉你入群

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

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

关键词:matplot columns column xtptm colum 散点图

沙发
STATAXUEXI 发表于 2011-8-14 22:10:02
我也想知道

藤椅
吉生保和马淑娟 发表于 2011-9-15 10:06:55
  不是残差图,是用来直观描述门限值的。

板凳
lzhazard 发表于 2011-9-16 00:22:55
吉生保和马淑娟 发表于 2011-9-15 10:06
不是残差图,是用来直观描述门限值的。
能具体解释一下吗?

报纸
jiemin 在职认证  发表于 2011-12-19 10:32:59
吉生保和马淑娟 发表于 2011-9-15 10:06
不是残差图,是用来直观描述门限值的。
结果里1 2 3 4的都代表那几个变量啊
凡事预则立~

地板
jiemin 在职认证  发表于 2011-12-19 10:33:58
吉生保和马淑娟 发表于 2011-9-15 10:06
不是残差图,是用来直观描述门限值的。
我用命令xtptm y,rx(x) thrvar(x) iters(3000) trim(0.05),得到结果如下:
================ Fundamental information: ===================

Number of Regime independent variables:    0
Number of Regime dependent variables:    1
Number of individuals in panel:    6
Number of periods in panel:   29

================ Ordinary Fixed effect regression: =========

Sum of Squared Residuls:     739.0820
Stardard error of regression:       2.1037
Regression Result(ordinary standard error):
----------------------------------------------------
    |       Coef         Std           t        Prob
----+-----------------------------------------------
  1 |     0.4216      0.0233     18.0876      0.0000
----------------------------------------------------
Regression Result(Robust standard error):
-----------------------------------------------------
    |       Coef   Std_Robust           t        Prob
----+------------------------------------------------
  1 |     0.4216       0.0273     15.4616      0.0000
-----------------------------------------------------

================ Single threshold regession: ===================

Minimized Sum of Squared Residuals:  169.4322
Standard error of residuals:    1.0103
Threshold estimator:   29.0000
95% conf. intv. of threshold:   29.0000   29.0000
LR Critical value to test gamma=gamma0:    7.3523
Threshold regression(Ordinary Std. Error):
----------------------------------------------------
    |       Coef         Std           t        prob
----+-----------------------------------------------
  1 |     0.7012      0.0163     43.0440      0.0000
  2 |     0.5004      0.0117     42.8418      0.0000
----------------------------------------------------
Threshold regression(Robust Std. Error):
-----------------------------------------------------
    |       Coef   Std_Robust           t        prob
----+------------------------------------------------
  1 |     0.7012       0.0149     47.1453      0.0000
  2 |     0.5004       0.0116     43.1624      0.0000
-----------------------------------------------------
Note: Critcal (Inverse CDF of LR stat): -2*ln(1-sqrt(1-alpha))
Ho: No threshold; Ha: Single threshold
Number of bootstrap:3000
F-stat & Prob:  558.1105   0.0000
F-critical value of 90% 95% 99%:
                 1
    +---------------+
  1 |  2.802225033  |
  2 |  3.890695915  |
  3 |  6.932982111  |
    +---------------+
Thresholds in single model:
  29

============== Descrpitive statistic in each regime: ===========

Descriptive statistics of y-X-THR at regime :  1
----------------------------------------------------------------
    |       Mean         Std         Min         Max       Count
----+-----------------------------------------------------------
  1 |    30.3895      7.6025     14.0369     45.2109         134
  2 |    19.8582      5.4458     10.0000     28.0000         134
  3 |    19.8582      5.4458     10.0000     28.0000         134
----------------------------------------------------------------
Descriptive statistics of y-X-THR at regime :  2
----------------------------------------------------------------
    |       Mean         Std         Min         Max       Count
----+-----------------------------------------------------------
  1 |    32.4134      6.4932     21.8680     42.6598          40
  2 |    31.5000      1.5359     29.0000     34.0000          40
  3 |    31.5000      1.5359     29.0000     34.0000          40
----------------------------------------------------------------
LR and Thresholds series are stored in Stata matrix: LR#
You can observe the scatter plot by: _matplot LR#, columns(1 2)
----------------------------------------------------------------------------------------

本文来自: 人大经济论坛 Stata专版 版,详细出处参考: https://bbs.pinggu.org/forum.php? ... amp;from^^uid=1569108
凡事预则立~

7
sinopart 发表于 2013-8-13 20:01:38
我运行后,只出到第二个表那就报错请问是怎么回事啊
Note: Critcal (Inverse CDF of LR stat): -2*ln(1-sqrt(1-alpha))
          threshold_bs():  3200  conformability error
                   ptm():     -  function returned error
                 <istmt>:     -  function returned error
r(3200);
我并非天生璀璨的钻石,但我希望时间和磨砺令我焕发别样光芒

8
asingleman 发表于 2017-3-12 14:02:52
sinopart 发表于 2013-8-13 20:01
我运行后,只出到第二个表那就报错请问是怎么回事啊
Note: Critcal (Inverse CDF of LR stat): -2*ln(1-sq ...
我也遇到了相同的问题,请问你是怎么解决的

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

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