public class BootstrapStatistics
extends java.lang.Object
| Constructor and Description |
|---|
BootstrapStatistics() |
| Modifier and Type | Method and Description |
|---|---|
static double |
biasCorrectedEstimate(double thetaHat,
double[] thetaHatStar)
correct a statistic thetaHat for its bias
|
static double |
computeBIAS(double thetaHat,
double[] thetaHatStar)
compute bias of a statistic thetaHat in estimating the true theta
|
static double |
computeSD(double[] thetaHatStar)
compute standard error (accuracy) of a statistic thetaHat
|
static double |
computeVAR(double[] thetaHatStar)
compute variance of a statistic thetaHat
|
static double[] |
efronCI(double level,
double[] thetaHatStar)
compute approximate central confidence interval for thetaHat
(Efron percentile method)
|
static double[] |
efronCI(double level,
double[] thetaHatStar,
int[] array)
compute approximate central confidence interval for thetaHat
(Efron percentile method)
|
static double[] |
hallCI(double level,
double thetaHat,
double[] thetaHatStar)
compute approximate central confidence interval for thetaHat
(Hall percentile method)
|
static double[] |
hallCI(double level,
double thetaHat,
double[] thetaHatStar,
int[] array)
compute approximate central confidence interval for thetaHat
(Hall percentile method)
|
public static double computeBIAS(double thetaHat,
double[] thetaHatStar)
thetaHat - the statisticthetaHatStar - bootstrap replicates of thetaHatpublic static double biasCorrectedEstimate(double thetaHat,
double[] thetaHatStar)
thetaHat - the statisticthetaHatStar - bootstrap replicates of thetaHatpublic static double computeVAR(double[] thetaHatStar)
thetaHatStar - bootstrap replicates of statistic thetaHatpublic static double computeSD(double[] thetaHatStar)
thetaHatStar - bootstrap replicates of statistic thetaHatpublic static double[] efronCI(double level,
double[] thetaHatStar)
level - confidence level (e.g., 0.95)thetaHatStar - bootstrap replicates of statistic thetaHatpublic static double[] efronCI(double level,
double[] thetaHatStar,
int[] array)
level - confidence level (e.g., 0.95)thetaHatStar - bootstrap replicates of statistic thetaHatarray - helper integer array (same length as thetaHatStar)public static double[] hallCI(double level,
double thetaHat,
double[] thetaHatStar)
level - confidence level (e.g., 0.95)thetaHat - the statisticthetaHatStar - bootstrap replicates of statistic thetaHatpublic static double[] hallCI(double level,
double thetaHat,
double[] thetaHatStar,
int[] array)
level - confidence level (e.g., 0.95)thetaHat - the statisticthetaHatStar - bootstrap replicates of statistic thetaHatarray - helper integer array (same length as thetaHatStar)