Skip to contents

Returns a log-likelihood function for a Weibull series system with homogeneous shape parameter. The parameter vector is (k, scale_1, ..., scale_m) for masked data with candidate sets that satisfy conditions C1, C2, and C3.

Usage

# S3 method for class 'wei_series_homogeneous_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: parameter vector (shape, scale1, scale2, ...)

  • 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. Left-censored and interval-censored have closed-form likelihood contributions because all shapes are equal.