# Maximum Likelihood Estimation for k-Out-of-n System Data

## Documentation for package ‘kofn’ version 0.4.0

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

assumptions.exp_kofn | Assumptions for exponential k-out-of-n model
assumptions.wei_kofn | Assumptions for Weibull k-out-of-n system model
compare_fisher_info | Compare Fisher information across observation schemes
fit.exp_kofn | MLE fitting for exponential k-out-of-n model
fit.wei_kofn | Fit Weibull k-out-of-n system model
fit_scheme1 | Fit k-out-of-n system MLE under Scheme 1 (periodic inspection)
F_sys_exp | System CDF for exponential parallel systems
hess_loglik.exp_kofn | Hessian of the log-likelihood for exponential k-out-of-n model
hess_loglik.wei_kofn | Hessian of log-likelihood for Weibull k-out-of-n system
ie_expand | Inclusion-exclusion expansion of a product of CDFs
is_kofn | Test if an object is a kofn model
kofn | Create a k-out-of-n system estimation model
loglik.exp_kofn | Log-likelihood for exponential k-out-of-n model
loglik.wei_kofn | Log-likelihood for Weibull k-out-of-n system
loglik_masked | Masked k-out-of-n log-likelihood
loglik_scheme1 | Log-likelihood for Scheme 1 (periodic inspection) parallel system
ncomponents.kofn | Number of components in a kofn model
observe_exact | Exact observation scheme (no censoring)
observe_interval_censor | Interval-censoring observation scheme
observe_left_censor | Left-censoring observation scheme
observe_mixture | Mixture of observation schemes
observe_periodic | Periodic inspection observation scheme
observe_right_censor | Right-censoring observation scheme
print.kofn | Print method for kofn models
rdata.exp_kofn | Random data generation for exponential k-out-of-n model
rdata.wei_kofn | Generate random data from a Weibull k-out-of-n system
rdata_masked | Generate masked k-out-of-n data
rdata_scheme1 | Generate Scheme 1 (periodic inspection) data
score.exp_kofn | Score function for exponential k-out-of-n model
score.wei_kofn | Score function for Weibull k-out-of-n system
solve_mle | Default MLE solver for positive parameters
S_sys_exp | System survival function for exponential parallel systems
trunc_log_moment_vec | Vectorized truncated log-moment of the Weibull distribution
trunc_pow_moment | Scalar truncated power moment of the Weibull distribution
trunc_pow_moment_vec | Vectorized truncated power moment of the Weibull distribution
w_j_exact | Component weight for exponential parallel systems
w_j_integral | Closed-form integral of w_j(t) over an interval