Generate data like that from the Guo et al. model, table 2.

generate_guo_weibull_table_2_data(
  n = nrow(guo_weibull_series_md$data),
  shapes = guo_weibull_series_md$shape_mles,
  scales = guo_weibull_series_md$scale_mles,
  p = guo_weibull_series_md$p_hat,
  tau = guo_weibull_series_md$tau
)

Arguments

n

Number of observations to generate. Default is 30, same as the Guo et al. data set in table 2.

shapes

The shape parameter values. Default is the MLE from the Guo et al. data set in table 2, 1.2576, 1.1635, 1.1308

scales

The scale parameter values. Default is the MLE from the Guo et al. data set in table 2, 994.3661, 908.9458, 840.1141

p

The probability of a non-failed component being in the candidate set. Default is the estimated probability from the Guo et al. data set in Table 2, 0.215.

tau

The right-censoring time. Default is Inf, same as the Guo et al. data set in Table 2, which had no right-censoring.

Value

A data frame