R/ucls.R
factor_exceeding.Rd
Calculates factor f, with observed y_new exceeding UCL by f * sd(y_new). Returns negative value if observed y_new is lower than ucl. Returns Inf if theta_hat is 0.
factor_exceeding(theta_hat, n_new, y_new, ucl)
Factor f, with observed y_new exceeding UCL by f * sd(y_new)
Assuming a Poisson distribution with lambda_hat = theta_hat * n_new, the estimated standard deviation of y_new is sqrt(lambda_hat).