alteval.ic {ALTopt} | R Documentation |
Design evaluation with interval censoring.
Description
alteval.ic
calculates the objective function value
(D, U or I) for a given design with interval censoring plan.
Usage
alteval.ic(
designTable,
optType,
t,
k,
nf,
alpha,
formula,
coef,
useCond,
useLower,
useUpper
)
Arguments
designTable |
a data frame containing the coordinates and the number of
allocation of each design point. The design created by either
|
optType |
the choice of |
t |
the total testing time. |
k |
the number of time intervals. |
nf |
the number of stress factors. |
alpha |
the value of the shape parameter of Weibull distribution. |
formula |
the object of class formula which is the linear predictor model. |
coef |
the numeric vector containing the coefficients of each term in |
useCond |
the numeric vector of use condition.
It should be provided when |
useLower |
the numeric vector of lower bound of use region.
It should be provided when |
useUpper |
the numeric vector of upper bound of use region.
It should be provided when |
Value
The objective function value corresponded by optType
for a given design with interval censoring plan.
See Also
Examples
# Evaluation of factorial design for interval censoring.
x1 <- c(0, 1, 0, 1)
x2 <- c(0, 0, 1, 1)
allocation <- c(25, 25, 25, 25)
facDes <- data.frame(x1, x2, allocation)
alteval.ic(facDes, "D", 30, 5, 2, 1, formula = ~ x1 + x2 + x1:x2,
coef = c(0, -4.086, -1.476, 0.01))
alteval.ic(facDes, "U", 30, 5, 2, 1, formula = ~ x1 + x2 + x1:x2,
coef = c(0, -4.086, -1.476, 0.01), useCond = c(1.758, 3.159))
alteval.ic(facDes, "I", 30, 5, 2, 1, formula = ~ x1 + x2 + x1:x2,
coef = c(0, -4.086, -1.476, 0.01), useLower = c(1.458, 2.859), useUpper = c(2.058, 3.459))