Skip to contents

Returns a log-likelihood function for an exponential series system with respect to rate parameters for masked data with candidate sets that satisfy conditions C1, C2, and C3.

Usage

# S3 method for class 'exp_series_md_c1_c2_c3'
loglik(model, ...)

Arguments

model

the likelihood model object

...

additional arguments (passed to returned function)

Value

log-likelihood function that takes the following arguments:

  • df: masked data frame

  • par: rate parameters of exponential component lifetime distributions

  • lifetime: system lifetime column name (default from model)

  • lifetime_upper: interval upper bound column name (default from model)

  • omega: observation type column name (default from model)

  • candset: prefix of Boolean matrix encoding candidate sets

Details

Supports four observation types: exact failures, right-censored, left-censored, and interval-censored. All have closed-form likelihood contributions for the exponential model.