View source: R/sampling_plans.R
| bayesian_sampling_plan_exp | R Documentation |
Bayesian Reliability Acceptance Sampling Plan for Exponential lifetimes (10.5.3)
bayesian_sampling_plan_exp(
n,
T_star,
r,
prior_shape = 2,
prior_rate = 1,
c_accept = 1.2
)
n |
Sample size. |
T_star |
Termination time limit. |
r |
Failure count limit. |
prior_shape |
Shape parameter of Inverse-Gamma prior. |
prior_rate |
Rate parameter of Inverse-Gamma prior. |
c_accept |
Acceptance threshold constant. |
S3 object of class sampling_plan with posterior risk and decision criteria.
bayesian_sampling_plan_exp(
n = 20, T_star = 1.0, r = 10,
prior_shape = 2, prior_rate = 1, c_accept = 1.2
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.