VMS {MGBT}R Documentation

Covariance matrix of M and S

Description

Compute the covariance matrix of MM and SS given qminq_\mathrm{min}. Define the vector of four moment expectations

Ei1,2=Ψ(Φ(1)(qmin),i)\mbox,E_{i\in 1,2} = \Psi\bigl(\Phi^{(-1)}(q_\mathrm{min}), i\bigr)\mbox{,}

where Ψ(a,b)\Psi(a,b) is the gtmoms function and Φ(1)\Phi^{(-1)} is the inverse of the standard normal distribution. Define the scalar quantity Es=Es = EMS(n,r,qmin)[2] as the expectation of SS using the EMS function, and define the scalar quantity Es2=E2E12E_s^2 = E_2 - E_1^2 as the expectation of S2S^2. Finally, compute the covariance matrix COVCOV of MM and SS using the V function:

COV1,1=V1,1\mbox,COV_{1,1} = V_{1,1}\mbox{,}

COV1,2=COV2,1=V1,2/2Es\mbox,COV_{1,2} = COV_{2,1} = V_{1,2}/2Es\mbox{,}

COV2,2=Es2(Es)2\mbox.COV_{2,2} = E_s^2 - (E_s)^2\mbox{.}

Usage

VMS(n, r, qmin)

Arguments

n

The number of observations;

r

The number of truncated observations; and

qmin

A nonexceedance probability threshold for X>qminX > q_\mathrm{min}.

Value

A 2-by-2 covariance matrix.

Note

Because the gtmoms function is naturally vectorized and TAC sources provide no protection if qmin is a vector (see Note under EMS). For the implementation here, only the first value in qmin is used and a warning issued if it is a vector.

Author(s)

W.H. Asquith consulting T.A. Cohn sources

Source

LowOutliers_jfe(R).txt, LowOutliers_wha(R).txt, P3_089(R).txt—Named VMS

References

Cohn, T.A., 2013–2016, Personal communication of original R source code: U.S. Geological Survey, Reston, Va.

See Also

EMS, V, gtmoms

Examples

VMS(58,2,.5) # Note that [1,1] is the same as [1,1] for Examples under V().
#            [,1]        [,2]
#[1,] 0.006488933 0.003279548
#[2,] 0.003279548 0.004682506

[Package MGBT version 1.0.7 Index]