V {MGBT} | R Documentation |
Covariance matrix of M and S-squared
Description
Compute the covariance matrix of and
(S-squared) given
. Define the vector of four moment expectations
where is the
gtmoms
function and is the inverse of the standard normal distribution. Using these
, define a vector
as a system of nonlinear combinations:
Given from the arguments of this function, compute the symmetrical covariance matrix
with variance of
as
the covariance between and
as
the variance of as
Usage
V(n, r, qmin)
Arguments
n |
The number of observations; |
r |
The number of truncated observations; and |
qmin |
A nonexceedance probability threshold for |
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 V
References
Cohn, T.A., 2013–2016, Personal communication of original R source code: U.S. Geological Survey, Reston, Va.
See Also
Examples
V(58,2,.5)
# [,1] [,2]
#[1,] 0.006488933 0.003928333
#[2,] 0.003928333 0.006851120