全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
2738 1
2013-04-07
我分别生成了x=rnorm(100),x=rnorm(500),x=rnorm(1000)和x=rnorm(3000)四组数据,
按理来说这四组数据应该是平稳的,
可是我用urppTest分别检验,P值均大于0.05,即非平稳。
请问为什么会出现这样的情况?

附检验结果:

> x=rnorm(100)
> urppTest(x)

Title:
Phillips-Perron Unit Root Test

Test Results:
  
  Test regression with intercept
  
  Residuals:
       Min       1Q   Median       3Q      Max
  -2.65192 -0.54244  0.02735  0.66490  1.70002
  
  Coefficients:
              Estimate Std. Error t value Pr(>|t|)
  (Intercept) -0.12237    0.08379  -1.461    0.147
  y.l1        -0.11584    0.10114  -1.145    0.255
  
  Residual standard error: 0.8268 on 97 degrees of freedom
  Multiple R-squared: 0.01334,  Adjusted R-squared: 0.003171
  F-statistic: 1.312 on 1 and 97 DF,  p-value: 0.2549
  
  
  Value of test-statistic, type: Z-alpha  is: -115.7121
  
           aux. Z statistics
  Z-tau-mu           -1.4547

Description:
Sun Apr 07 16:43:33 2013 by user: Administrator

>
二维码

扫码加我 拉你入群

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

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

全部回复
2015-2-13 16:45:08
pp <- ur.pp(rnorm(1000), type = "Z-alpha", model = "constant", lags = "short")现在这个函数长成这样,你看type\model都补齐
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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