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.score_wei_series_md_c1_c2_c3_slow.Rd
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.
score_wei_series_md_c1_c2_c3_slow(
df,
theta,
candset = "x",
lifetime = "t",
right_censoring_indicator = "delta"
)
(masked) data frame
parameter vector (shape1, scale1, ..., shapem, scalem)
prefix of Boolean matrix encoding of candidate sets,
defaults to x
, e.g., x1,...,xm
.
system lifetime (optionally right-censored) column name
right-censoring indicator column name, if TRUE, then the system lifetime is observed, otherwise it is right-censored. If there is no right-censoring indicator column by the given name, then the system lifetimes are assumed to be observed.
Score with respect to theta
given df