ci_ordinal_skewness {otsfeatures} | R Documentation |
ci_ordinal_skewness
constructs a confidence interval for the
ordinal skewness (block distance)
ci_ordinal_skewness(series, states, level = 0.95, temporal = TRUE, max_lag = 1)
series |
An OTS (numerical vector with integers). |
states |
A numeric vector containing the corresponding states. |
level |
The confidence level (default is 0.95). |
temporal |
Logical. If |
max_lag |
If |
If temporal = TRUE
(default), the function constructs the confidence interval for the
ordinal skewness relying on Theorem 7.1.1 in Weiß (2019). Otherwise,
the interval is constructed according to Theorem 4.1 in Weiß (2019).
The confidence interval.
Ángel López-Oriona, José A. Vilar
Weiß CH (2019). “Distance-based analysis of ordinal data and ordinal time series.” Journal of the American Statistical Association.
ci_skewness <- ci_ordinal_skewness(AustrianWages$data[[100]],
states = 0 : 5) # Constructing a confidence interval for the
# ordinal skewness for one OTS in dataset AustrianWages