diagnostics {exuber} | R Documentation |
Diagnostics on hypothesis testing
Description
Provides information on whether the null hypothesis of a unit root is rejected against the alternative of explosive behaviour for each series in a dataset.
Usage
diagnostics(object, cv = NULL, ...)
## S3 method for class 'radf_obj'
diagnostics(object, cv = NULL, option = c("gsadf", "sadf"), ...)
Arguments
object |
An object of class |
cv |
An object of class |
... |
Further arguments passed to methods. |
option |
Whether to apply the "gsadf" or "sadf" methodology (default = "gsadf"). |
Details
Diagnostics also stores a vector whose elements take the value of 1 when there is a period of explosive behaviour and 0 otherwise.
Value
Returns a list with the series that reject (positive) and the series that do not reject (negative) the null hypothesis, and at what significance level.
Examples
rsim_data <- radf(sim_data)
diagnostics(rsim_data)
diagnostics(rsim_data, option = "sadf")
[Package exuber version 1.0.2 Index]