select_p | R Documentation |
This function uses a AIC/BIC type criterion to select p based on the data.
select_p(X, p0 = 2, d = 5, q = 2.4, lambda = 0.25)
X |
Time series |
p0 |
Minimum value of p (default is 2) |
d |
Maximum value of p (default is 5) |
q |
Constant for selecting between AIC and BIC type penalty (default is 2.4) |
lambda |
Penalty term (default is 0.25); small values lead to p=d, large value lead to p=p0 |
p |
Selected value of p |
B.R Nasri (2021). Tests of serial dependence for arbitrary distributions
X <- SimAR1Poisson(c(5,0.2),100)
out <- select_p(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.