All functions

alex_weibull_series

Base Series System for Simulation Study

conditional_masked_cause()

Conditional candidate set sampler when component cause of failure is known and the system lifetime is observed. (UNTESTED)

dwei_series()

pdf for weibull series

generate_guo_weibull_table_2_data()

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

guo_weibull_series_md

Weibull series MLE of guo_weibull_series_md

guo_weibull_series_table_2

Example Data for a Series System (Table 2, Guo 2013)

hazard_wei()

Weibull Series System Hazard Function

hazard_wei_series()

Hazard function for weibull series.

hessian_wei_series_md_c1_c2_c3()

Generates a hessian of the log-likelihood function (negative of the observed FIM) for a Weibull series system with respect to parameter theta (shape, scale) for masked data with candidate sets that satisfy conditions C1, C2, and C3 and right-censored data.

loglik_wei_series_md_c1_c2_c3()

Generates a log-likelihood function for a Weibull series system with respect to parameter theta (shape, scale) for masked data with candidate sets that satisfy conditions C1, C2, and C3 and right-censored data.

md_bernoulli_cand_c1_c2_c3()

Masked Data Model for Series Systems with Component Cause of Failure

md_bernoulli_cand_c1_c2_c3_identifiable()

Check if a masked data frame is identifiable. (UNTESTED)

md_cand_sampler()

Random sampler for candidate sets given a data frame.

md_decorate_component_cause_k()

Add latent component cause of failure to a masked data frame

md_sample_candidates()

Empirical candidate set sampler when component cause of failure is known. (UNTESTED)

md_series_lifetime_right_censoring()

Generates right-censored system failure times and right-censoring indicators for a series system with the given data frame of component lifetimes.

mle_grad_wei_series_md_c1_c2_c3()

Gradient ascent MLE solver for Weibull series model with masked component cause of failure with observation of exact system lifetime and right censoring.

mle_lbfgsb_wei_series_md_c1_c2_c3()

L-BFGS-B MLE solver for the Weibull series model with masked component cause of failure with observation of exact system lifetime and right censoring.

mle_nelder_wei_series_md_c1_c2_c3()

Nelder-Mead MLE solver for the Weibull series model with masked component cause of failure with observation of exact system lifetime and right censoring.

mle_newton_wei_series_md_c1_c2_c3()

Newton-raphson MLE solver for Weibull series model with masked component cause of failure with observation of exact system lifetime and right censoring.

mle_sann_wei_series_md_c1_c2_c3()

Simulated annealing MLE solver for the Weibull series model with masked component cause of failure with observation of exact system lifetime and right censoring.

pwei_series()

The cumulative distribution function for Weibull series

qwei_series()

Quantile function (inverse of the cdf). By definition, the quantile p * 100% for a strictly monotonically increasing cdf F is the value t that satisfies F(t) - p = 0. We solve for t using newton's method.

rwei_series()

Sampler for weibull series.

score_wei_series_md_c1_c2_c3()

Cmputes the score function (gradient of the log-likelihood function) for a Weibull series system with respect to parameter theta (shape, scale) for masked data with candidate sets that satisfy conditions C1, C2, and C3 and right-censored data.

score_wei_series_md_c1_c2_c3_slow()

Slowly computes the score function (gradient of the log-likelihood function) for a Weibull series system with respect to parameter theta (shape, scale) for masked data with candidate sets that satisfy conditions C1, C2, and C3 and right-censored data. This is simple loop-based implementation of the score function, which is easier to verify the correctness of.

surv_wei_series()

Survival function for weibull series

wei_mttf()

Mean-Time-To-Failure for Weibull

wei_series_cause()

The component cause of failure for the Weibull series distribution.

wei_series_mttf()

The mean time to failure for the Weibull series system.