View source: R/optimal_design.R
| optimal_design_hybrid | R Documentation |
Optimal Design Selection for Hybrid Censoring Schemes
optimal_design_hybrid(
n,
r_candidates,
T_candidates,
pdf,
cdf,
par,
criterion = c("D-optimal", "A-optimal", "cost")
)
n |
Sample size. |
r_candidates |
Candidate failure count choices. |
T_candidates |
Candidate time limit choices. |
pdf |
Probability density function of lifetime distribution. |
cdf |
Cumulative distribution function of lifetime distribution. |
par |
Model parameters. |
criterion |
Optimization criterion: "D-optimal" (maximize determinant of Fisher Information), "A-optimal" (minimize trace of inverse Fisher Information), or "cost". |
List containing optimal choice of (r, T) and associated information measure.
optimal_design_hybrid(
n = 20, r_candidates = c(5, 10, 15), T_candidates = c(0.5, 1.0, 1.5),
pdf = function(x, th) dexp(x, rate = th[1]),
cdf = function(x, th) pexp(x, rate = th[1]),
par = c(1.0), criterion = "D-optimal"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.