vargaugeiis: Variance of the Impulse Indicator Saturation Gauge
Description
Computes the variance of the gauge (false-positive rate of outliers under the null of no outliers) in impulse indicator saturation based on Jiao and Pretis (2019).
Usage
vargaugeiis(t.pval, T, infty=FALSE, m=1)
Value
Returns a dataframe of the variance and standard deviation of the gauge, as well the asymptotic variance and standard deviation.
Arguments
t.pval
numeric, between 0 and 1. Selection p-value used in indicator saturation.
T
integer, sample sized used in indicator saturation.
m
integer, number of iterations in variance computation, default=1
The function computes the variance of the Gauge (false-positive rate of outliers in impulse indicator saturation) for a given level of significance of selection (t.pval) and sample size (T) based on Jiao and Pretis (2019). This is an auxilliary function used within the outliertest function.
References
Jiao, X. & Pretis, F. (2019). Testing the Presence of Outliers in Regression Models. Discussion Paper.
Pretis, F., Reade, J., & Sucarrat, G. (2018). Automated General-to-Specific (GETS) regression modeling and indicator saturation methods for the detection of outliers and structural breaks. Journal of Statistical Software, 86(3).