Description Usage Arguments Value Author(s) References See Also Examples
This function retrieves the critical values for the oos-t test statistic derived by McCracken (2007) for nested models.
1 | mccracken_criticalvalue(pi, k2, confidence, window = c("recursive", "rolling", "fixed"))
|
pi |
P/R where P is the number of out-of-sample observations and R is the size of the estimation window. Note that this is rounded to the closest value in McCracken's table; if you want to interpolate between listed values, you must do so manually. |
k2 |
The number of additional regressors in the larger model. |
confidence |
One minus the asymptotic nominal size of the test; this must be 0.90, 0.95, or 0.99. |
window |
The OOS window scheme. |
Returns a single numeric value, the appropriate critical value for the test.
Gray Calhoun gcalhoun@iastate.edu
McCracken, M. 2007, Asymptotics for out of sample tests of Granger causality. Journal of Econometrics, 140(2): 719-752.
clarkwest
, recursive_forecasts
,
dmw_mse
, dmw_calculation
1 2 3 | mccracken_criticalvalue(.4, 5, .9, "rolling")
mccracken_criticalvalue(.4, 5, .9, "recursive")
mccracken_criticalvalue(.4, 5, .9, "fixed")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.