autocor.plot: 再生産関係における残差の時系列の自己相関等についてのプロット

View source: R/stock_recruit.r

autocor.plotR Documentation

再生産関係における残差の時系列の自己相関等についてのプロット

Description

1) 残差のトレンド、2) acf関数による自己相関係数のプロット、3) Ljung-Box検定におけるP値の3つの図を出力

Usage

autocor.plot(
  resSR,
  use.resid = 1,
  lag.max = NULL,
  output = FALSE,
  filename = "Residual_trend",
  pch = 16,
  lwd = 2,
  cex = 1.2,
  cex.main = 1.2,
  cex.lab = 1.2,
  ...
)

Arguments

resSR

fit.SRfit.SRregimeのオブジェクト

use.resid

再生産関係との残差 (deviance resid) を使うか (1:default)、自己相関を除いた残差 (resid2) を使うか (2)

output

pngファイルに出力するか否か


ichimomo/frasyr documentation built on Dec. 11, 2023, 12:50 a.m.