Updated estimate_reliability()
function to sample from PDF of sampling distributions for sample
mean and sample variance. This allows function to skip the time-consuming process of generating
random Normal samples and significantly improves function performance.
Updated find_n_ksigma()
to remove need for n_search
option given performance improvement. Now,
one only needs to define n_sim
for all estimation of reliability.
Includes the following functions:
find_n_ksigma()
uses a bisection search algorithm to identify the minimum required sample size
to calculate a parametric sample interval for a Normally-distributed population (i.e., "k-sigma"
interval) with coverage that falls within pre-specified proximity limits with the desired
reliability.
estimate_reliability()
is a helper function called by find_n_ksigma()
that uses Monte
Carlo simulation to estimate the proportion of k-sigma interval coverages that will fall within
the proximity limits for a given sample size.
plot_reliability()
is a helper function called by find_n_ksigma()
that plots the simulated
sampling distribution for k-sigma interval coverages.
Additional utility functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.