s11.s22 {RSizeBiased} | R Documentation |
Variance estimates for test statistics
specifically for the Weibull and gamma distributions.
Description
Variance estimates for test statistics specifically for the Weibull and gamma distributions.
Usage
s11.s22(TRpar,r,sgg,dist)
Arguments
TRpar |
A vector of length 2, containing the shape and scale parameters of the Weibull distribution. |
r |
The size (order) of the distribution. The special cases |
sgg |
Character switch ("s11" or "s22"), enables choosing between the s11 and s22 options |
dist |
Character switch, enables the choice of distribution: type "weib" for the Weibull or "gamma" for the gamma distribution. |
Details
Provided that is the
th moment of the Weibull or the Gamma distribution, then
and
Value
A scalar with the value of the variance estimate for the test statistic.
Author(s)
Polychronis Economou
R implementation and documentation: Polychronis Economou <peconom@upatras.gr>
References
Economou et. al. (2021). Hypothesis testing for the population mean and variance based on r-size biased samples, under review.
See Also
Examples
#s11 for the Gamma distribution for true parms=(2,3), r=1:
s11.s22(c(2,3),1, "s11", "gamma")
#s22 for for the Weibull distribution for true parms=(2,3), r=1:
s11.s22(c(2,3),1, "s22", "weib")