Description Usage Arguments Value Author(s) Examples
This function allows you to calculate the Hannan-Quinn (HQ) information criteria for ARX models.
1 | hq(y, x, p_max)
|
y |
Data vector of time series observations. |
x |
Matrix of data (every column represents one time series). Specify NULL or "not" if not wanted. |
p_max |
Maximum number of autoregressive terms to be included. |
p |
Lag order chosen by HQ. |
values |
Vector containing values HQ for p = 0 up to p_max. |
Sean Telg
1 2 |
$p
[1] 1
$values
p = 0 p = 1 p = 2 p = 3 p = 4 p = 5 p = 6 p = 7
[1,] 11.3238 10.52276 10.53582 10.57094 10.6042 10.63741 10.6701 10.71137
p = 8
[1,] 10.73997
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.