Learn R Programming

GWI (version 1.0.2)

vi.fun: Function for VI

Description

The function calculates the univariate exponential variation index for a positive continuous random variable.

Usage

vi.fun(X)

Arguments

X

A positive continuous random variable

Value

Returns

vi

The exponential variation index

Details

vi.fun computes the univariate exponential variation index defined by Abid et al. (2020). See also Tour<U+00E9> et al. (2020) for more details on this index.

References

Abid, R., Kokonendji, C.C. and Masmoudi, A. (2020). Geometric Tweedie regression models for continuous and semicontinuous data with variation phenomenon, AStA Advances in Statistical Analysis 104, 33-58.

Tour<U+00E9>, A.Y., Dossou-Gb<U+00E9>t<U+00E9>, S. and Kokonendji, C.C. (2020). Asymptotic normality of the test statistics for relative dispersion and relative variation indexes, Journal of Applied Statistics 47, 2479-2491.

Examples

Run this code
# NOT RUN {
X<-c(6.23,7.02,8.94,9.56,8.01,4.34,7.44,6.66,12.72,8.34,0)
vi.fun(X)
T<-c(6.231,7.022,8.943,9.789,8.014,4.423)
vi.fun(T)
# }

Run the code above in your browser using DataLab