Breaking Changes
Parametric Models
- rank_regression(): For all distributions, the
confidence intervals of the parameters are now computed on the basis of
a heteroscedasticity-consistent (HC) covariance matrix. If the
confidence intervals for the Weibull parameters are to be calculated
according to Mock, this must be specified via the new argument- options.
 
- mixmod_regression(): Since this function uses- rank_regression(), the changes regarding the confidence
intervals also apply here.
- plot_prob.wt_model(): Removed dysfunctional argument- distribution. The distribution is inferred using the model- x.
Confidence Intervals
- delta_method(): Renamed argument- pwith- x.
- confint_betabinom()and- confint_fisher():
Removed constant features- distribution,- boundsand- directionfrom the tibble output and added them as
attributes instead.
Monte Carlo Simulation
- mcs_mileage(): Changed name of output column- mileageto- x(in accordance with- reliability_data()).
- mcs_delay(): Changed name of output column- timeto- x(in accordance with- reliability_data()).
- dist_mileage.default()(former- dist_mileage()): Renamed argument- mileagewith- x.
- mcs_mileage.default()(former- mcs_mileage()): Renamed argument- mileagewith- x.
New Features
Distributions
- Implementation of one- and two-parametric exponential distribution
('exponential'and'exponential2').
Non-Parametric Failure
Probabilities
- estimate_cdf(): Added option- johnson_methodto specify the formula which is used for
determining cumulative failure probabilities.
Parametric Models
- rank_regression(): New arguments- direction(specifies direction of dependency in the model),- control(enables access to argument- controlin- optim()) and- options(method used to calculate
the confidence intervals for the parameters, default is “HC”).
 
- r_squared_profiling(): New argument- direction.
- ml_estimation(): New arguments- start_dist_params(optional vector with initial values of
the parameters) and- control(enables access to argument- controlin- optim()).
- loglik_profiling(): New argument- wts.
- loglik_profiling()is now an S3 generic.- loglik_profiling()becomes- loglik_profiling.default(). Added- loglik_profiling.wt_reliability_data().
- loglik_function()is now an S3 generic.- loglik_function()becomes- loglik_function.default(). Added- loglik_function.wt_reliability_data().
Confidence Intervals
- confint_betabinom(): Methods- "kaplan"and- "nelson"of- estimate_cdf()can be used for
beta-binomial confidence bounds.
Monte Carlo Simulation
- Added mcs_mileage_data(): Create consistent MCS data
formcs_mileage().
- Added mcs_delay_data(): Create consistent MCS data formcs_delay().
- dist_mileage()is now an S3 generic.- dist_mileage()becomes- dist_mileage.default().
Added- dist_mileage.wt_mcs_mileage_data().
- dist_delay()is now an S3 generic.- dist_delay()becomes- dist_delay.default().
Added- dist_delay.wt_mcs_delay_data().
- dist_delay()now supports the estimation of multiple
delay distributions at once.
- mcs_mileage()is now an S3 generic.- mcs_mileage()becomes- mcs_mileage.default().
Added- mcs_mileage.wt_mcs_mileage_data().
- mcs_delay()is now an S3 generic.- mcs_delay()becomes- mcs_delay.default(). Added- mcs_delay.wt_mcs_delay_data().
- Added print.wt_mcs_delay_data()andprint.wt_mcs_mileage_data().
- Added print.wt_mileage_estimation().
- Added print.wt_delay_estimation()for one delay andprint.wt_delay_estimation_list()for multiple delays.
Lifecycle changes
Minor Improvements and bug
fixes
Reliability Data
- Fixed bug in reliability_data(): Using!!syntax with argumentsxandstatusresulted in
an error.
- estimate_cdf()preserves additional columns, that were
returned from- reliability_data(..., .keep_all = TRUE).
- Improved print.wt_reliability_data().
Confidence Intervals
- Fixed bug in plot_conf(): Wrong confidence bounds were
displayed fordirection = "x"(#181).
- Fixed bug in plot_conf():plot_method = "ggplot2"and exactly one method inestimate_cdf()resulted in an error (#182).
Monte Carlo Simulation
- The object returned by mcs_mileage()now has classwt_mcs_mileage.
- The object returned by mcs_delay()now has classwt_mcs_delay.
- The object returned by dist_mileage()now has classwt_mileage_estimation.
- The object returned by dist_delay()now has classwt_delay_estimationorwt_delay_estimation_list.
Documentation improvements
- plot_prob(): Better work out the distinction between- plot_prob.wt_cdf_estimation()and- plot_prob.wt_model(). The former is applied to a CDF
estimation whereas the latter is applied to a mixture model.
Breaking Changes
- Package now depends on R(>= 3.5.0)
Non-Parametric Failure
Probabilities
- mr_method(): Deprecated, use- estimate_cdf()instead. Renamed output column- characteristicwith- x. Set default value for- idto- NULL.
- johnson_method(): Deprecated, use- estimate_cdf()instead. Renamed output column- characteristicwith- x. Set default value for- idto- NULL.
- kaplan_method(): Deprecated, use- estimate_cdf()instead. Renamed output column- characteristicwith- x. Set default value for- idto- NULL.
- nelson_method(): Deprecated, use- estimate_cdf()instead. Renamed output column- characteristicwith- x. Set default value for- idto- NULL.
- plot_prob.default()(former- plot_prob()):
Renamed- eventwith- status.
- plot_prob_mix(): Deprecated, use- plot_prob()instead. Removed default value- NULLfor argument- mix_output. Renamed- eventwith- status.
Parametric Models
- ml_estimation.default()(former- ml_estimation()): Renamed- eventwith- status. Removed- details. Changed names and
contents of list elements in output. See- ?ml_estimation.
- loglik_function: Renamed- eventwith- status. Renamed- parswith- dist_params.
- rank_regression.default()(former- rank_regression()): Renamed- eventwith- status. Removed- details. Changed names and
contents of list elements in output. See- ?rank_regression.
- mixmod_em.default()(former- mixmod_em()):
Renamed- eventwith- status. Removed- post.
- mixmod_regression.default()(former- mixmod_regression()): Renamed- eventwith- status. Added arguments- kand- control, which provide finer control over the segmentation
process. Expect default setting to provide other results than in prior
versions.
- predict_prob(): Renamed- loc_sc_paramswith- dist_params.
- predict_quantile(): Renamed- loc_sc_paramswith- dist_params.
- plot_mod.default()(former- plot_mod()):
Renamed- eventwith- status. Renamed- loc_sc_paramswith- dist_params. Removed- y.
- plot_mod_mix(): Deprecated, use- plot_mod()instead. Renamed- eventwith- status.
- plot_pop(): Added argument- tolto restrict
the range of failure probabilities. Removed argument- color.
Renamed argument- paramsto- dist_params_tbl,
which only supports location and scale parameters (also for- distribution = "weibull"). Changed behavior of- dist_params_tbl: A- tibbleis now recommended
instead of a vector.
Confidence Intervals
- confint_betabinom.default()(former- confint_betabinom()): Renamed- eventwith- status. Renamed- loc_sc_paramswith- dist_params. Added argument- b_liveswhich
allows the user to specify probabilities- pfor- B_p-livesto be considered.
- confint_fisher.default()(former- confint_fisher()): Renamed- eventwith- status. Renamed- loc_sc_paramswith- dist_params. Renamed- loc_sc_varcovwith- dist_varcov. Added argument- b_liveswhich
allows the user to specify probabilities- pfor- B_p-livesto be considered.
- delta_method(): Renamed- loc_sc_paramswith- dist_params. Renamed- loc_sc_varcovwith- dist_varcov.
- plot_conf.default()(former- plot_conf()):
Switched position of arguments- directionand- distribution.
Monte Carlo Simulation
- dist_delay_register(): Deprecated, use- dist_delay()instead.
- dist_delay_report(): Deprecated, use- dist_delay()instead.
- mcs_delay_register(): Deprecated, use- mcs_delay()instead. Renamed- xwith- time. Renamed- eventwith- status.
Removed- seed. Removed- int_seedfrom output
list.
- mcs_delay_report(): Deprecated, use- mcs_delay()instead. Renamed- xwith- time. Renamed- eventwith- status.
Removed- seed. Removed- int_seedfrom output
list.
- mcs_delays(): Deprecated, use- mcs_delay()instead. Renamed- xwith- time. Renamed- eventwith- status. Removed- seed.
Removed- int_seedfrom output list.
- dist_mileage(): Removed- event. Renamed- xwith- time. Switched position of arguments- timeand- mileage.
- mcs_mileage(): Removed- event. Renamed- xwith- time. Switched position of arguments- timeand- mileage.
New Features
- Added support for ggplot2 in all plot functions. Plot method can be
selected in plot_prob()orplot_pop()via
argumentplot_method.
- Added reliability_data(): Create consistent reliability
data.
- Added estimate_cdf(): Unite functionality ofmr_method(),johnson_method(),kaplan_method()andnelson_method(). Added
optionties.methodformethod = "mr", which
specifies how ties should be treated.
- Support of multiple methods in estimate_cdf()and all
functions that depend on thecdf_estimation(rank_regression(),plot_prob(),plot_mod(),plot_conf(),mixmod_regression()).
- plot_prob()and- plot_mod()are able to
handle mixture models.
- mixmod_regression()is now more flexible. Argument- kcan be used to control number of subgroups or to
determine them in an automatic fashion. Argument- controlprovides additional control over the segmentation procedure.
- Added print.wt_rank_regression(),print.wt_ml_estimation(),print.wt_model_estimation(),print.wt_model_estimation_list(),print.wt_mixmod_regression()andprint.wt_mixmod_regression_list().
- Added vcov.wt_model_estimation().
- Added dist_delay(): Generalizes the
distribution-specific modeling of delays.
- Added mcs_delay(): Generalizes the adjustment of
operating times by delays and supports multiple delays at once.
- Added lifecycle badges
Introduction of S3 interface
- rank_regression()is now an S3 generic.- rank_regression()becomes- rank_regression.default(). Added- rank_regression.wt_cdf_estimation().
- plot_prob()is now an S3 generic.- plot_prob()becomes- plot_prob.default(). Added- plot_prob.wt_cdf_estimation()and- plot_prob.wt_model().
- plot_mod()is now an S3 generic.- plot_mod()becomes- plot_mod.default(). Added- plot_mod.wt_model().
- plot_conf()is now an S3 generic.- plot_conf()becomes- plot_conf.default(). Added- plot_conf.wt_confint().
- plot_pop(): Added support for multiple population lines
and comparison of two- and three-parametric distributions.
Documentation improvements
- Revised README.
- Revised vignettes.
- Capitalized parameter documentation.
Lifecycle changes
Deprecated
- dist_delay_register()and- dist_delay_report(): Use- dist_delay()instead.
- mcs_delay_register(),- mcs_delay_report()and- mcs_delays(): Use- mcs_delay()instead.
- mr_method(),- johnson_method(),- kaplan_method()and- nelson_method(): Use- estimate_cdf()instead.
- plot_prob_mix(): Use- plot_prob()instead.
- plot_mod_mix(): Use- plot_mod()instead.
Removed
- calculate_ranks.
- mixture_em_cpp.
- plot_layout.
Minor improvements and bug
fixes
- Fixed bug inside plot_mod_mix()for the case of no
mixture distribution.
- Fixed bug inside confint_betabinom(): many cases near
one ->unique().
- Fixed bug inside mr_method(): assigning a rank for the
same lifetime.
- Fixed bug inside mixmod_regression: call tosegmented::segmented.lm()was incorrect.
- Added trace type "scatter"and scatter mode"markers"to plotly plots.
- delta_method(),- r_squared_profiling()and- loglik_profiling()were vectorized.
- Fixed installation error when using clang compiler
Prerequisite for Package
Usage:
- Since RcppArmadillo is used, the R version should be at least 3.3.0
(listed under Depends in DESCRIPTION file)
Changes
- Vignettes for non-parametric probability estimation, parameter
estimation using Median-Rank Regression and Maximum-Likelihood and
mixture model estimation are provided.
- Argument y in functions plot_prob_mix()andplot_mod_mix()is deprecated and not used anymore.
- Argument reg_output in functions
plot_prob_mix()andplot_mod_mix()is
deprecated; use mix_output instead.
- Function plot_mod_mix()was revised and updated in the
way that the obtained results of the functionmixmod_em()can be visualized.
- Function plot_prob_mix()was revised and updated in the
way that the obtained results of the functionmixmod_em()can be visualized.
- Implementation of EM-Algorithm using Newton-Raphson. The algorithm
is written in c++ (mixture_em_cpp()) and is called inmixmod_em().
- New method for the computation of Fisher’s Confidence Bounds
regarding probabilities is used. These method is called “z-Procedure”
and is more appropriate to manage the bend-back behavior. Therefore an
adjustment of functions delta_method()andconfint_fisher()was made.
- Implementation of log-location-scale models with threshold parameter
like three-parametric Weibull (“weibull3”), three-parametric lognormal
(“lognormal3”) and three-parametric loglogistic (“loglogistic3”).
- Implementation of location-scale models like smallest extreme value
(“sev”), normal (“normal”) and logistic (“logistic”).
- Implementation of Log-Likelihood Profiling for
three-parametric models in function loglik_profiling(). In
general this function is used insideml_estimation()for
the purpose of estimating threshold parameter of three-parametric
models.
- Implementation of R-Squared Profiling for three-parametric
models in function r_squared_profiling(). In general this
function is used insiderank_regression()for the purpose
of estimating threshold parameter of three-parametric models.
- Implementation of Log-Likelihood Function for all
implemented models in function loglik_function(). In
general this function is used insideml_estimation()for
the purpose of estimating the variance-covariance matrix of
location-scale models “sev”, “normal” and “logistic”. The function is
also used to estimate the variance-covariance matrix of
log-location-scale models with a threshold parameter, i.e. “weibull3”,
“lognormal3” and “loglogistic3”.
- new argument in function ml_estimation():wtsfor case weights.