Given an i.i.d. sample of 36 integers: [6, 6, 6, 6, 6, 6, 7, 6, 6, 6, 6, 7, 6, 6, 6, 6, 6, 7, 6, 6, 6, 6, 6, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6]
- A bootstrap resampling procedure is performed to build 9,999 bootstraps of length 36
- Lower and upper quantiles at 0.025 and 0.975 are then computed for each bootstrap using numpy.quantile with method = "linear"
- The mean of the 9,999 lower and upper quantile values is taken and corrected for bias if necessary (not necessary in this case per Efron, Tibshirani (1993)) to give us a point estimate of the quantiles.
Once this procedure is performed the lower and upper quantile point estimates are calculated as 6.00 and 6.93 respectively. In this case 0.0% of values fall below the lower quantile (2.5%) point estimate and 88.8% of values fall below the upper quantile (97.5%) point estimate.
If the bootstrap is not appropriate for discrete distributions (I've seen disagreement on this), then what alternative method can be used?
Reference: Efron, B., & Tibshirani, R. J. (1993). Estimates of bias. An Introduction to the Bootstrap (pp. 124-130). Springer Science and Business Media Dordrecht. DOI 10.1007/978-1-4899-4541-9