Package: StressCensoR 0.1.0

StressCensoR: Generalized Stress-Strength Reliability Estimation Under Censoring Schemes

Generalized framework for data generation, Maximum Likelihood Estimation, and Bayesian estimation of stress-strength reliability R = P(Y < X) for arbitrary continuous distributions under censoring schemes based on Chapter 9 of 'Balakrishnan', 'Cramer', and 'Kundu' (2023) <ISBN:978-0-12-398387-9>. Users provide probability density functions, cumulative distribution functions, survival functions, support bounds, parameter ranges, and sample sizes. Implements data generation under Type-I, Type-II, progressive Type-II, Type-I hybrid, Type-II hybrid, generalized hybrid, progressive hybrid, joint, block random, middle, and truncation censoring schemes, accompanied by diagnostic histograms, dot plots, and autocorrelation plots. Maximum Likelihood Estimation supports optimization routines including 'Newton-Raphson', 'Broyden'-'Fletcher'-'Goldfarb'-'Shanno' ('BFGS'), 'BFGS' in R ('BFGSR'), 'Berndt'-'Hall'-'Hall'-'Hausman' ('BHHH'), Simulated Annealing ('SANN'), Conjugate Gradients ('CG'), and 'Nelder'-'Mead' ('NM'), returning summaries ('AIC', 'coef', 'logLik', 'nIter', 'stdEr', summary, 'vcov'). Bayesian estimation of stress-strength reliability R = P(Y < X) is performed via Gibbs sampling, Metropolis-Hastings algorithm, Importance Sampling, and 'Lindley' approximation (1980). Methods and censoring schemes are described in 'Balakrishnan', 'Cramer', and 'Kundu' (2023, ISBN:978-0-12-398387-9), 'Lindley' (1980) <doi:10.1111/j.2517-6161.1980.tb01102.x>, 'Geweke' (1989) <doi:10.2307/2290062>, 'Metropolis' (1953) <doi:10.1063/1.1699114>, 'Hastings' (1970) <doi:10.1093/biomet/57.1.97>, 'Geman' and 'Geman' (1984) <doi:10.1109/TPAMI.1984.4767596>, 'Kundu' and 'Gupta' (2005) <doi:10.1016/j.jspi.2004.09.006>, 'Kundu' and 'Gupta' (2006) <doi:10.1016/j.csda.2005.02.007>, 'Berndt', 'Hall', 'Hall', and 'Hausman' (1974) <doi:10.3386/t0003>, 'Fletcher' (1987, ISBN:978-0-471-91547-8), and 'Nelder' and 'Mead' (1965) <doi:10.1093/comjnl/7.4.308>.

Authors:Shikhar Tyagi [aut, cre], Arvind Pandey [aut], Bhupendra Singh [aut], Vrijesh Tripathi [aut]

StressCensoR_0.1.0.tar.gz
StressCensoR_0.1.0.zip(r-4.7-any)StressCensoR_0.1.0.zip(r-4.6-any)StressCensoR_0.1.0.zip(r-4.5-any)
StressCensoR_0.1.0.tgz(r-4.6-any)StressCensoR_0.1.0.tgz(r-4.5-any)
StressCensoR_0.1.0.tar.gz(r-4.7-any)StressCensoR_0.1.0.tar.gz(r-4.6-any)
StressCensoR_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
StressCensoR/json (API)

# Install 'StressCensoR' in R:
install.packages('StressCensoR', repos = c('https://shikhartyagi.r-universe.dev', 'https://cloud.r-project.org'))

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 167 downloads 36 exports 0 dependencies

Last updated from:dfa3079a97. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK121
source / vignettesOK149
linux-releaseOK113
macos-releaseOK100
macos-oldrelOK85
windows-develOK72
windows-releaseOK83
windows-oldrelOK209
wasm-releaseOK90

Exports:bayes_stress_strengthcompute_stress_strength_Rexample_aluminum_couponsexample_insulating_fluidexample_stress_strengthgibbs_stress_strengthis_stress_strengthlindley_stress_strengthmh_stress_strengthmle_censoredmle_genhybridmle_hybrid1mle_hybrid2mle_intervalmle_jointmle_middlemle_prog2mle_proghybridmle_randommle_truncmle_type1mle_type2nIterrcensor_genhybridrcensor_hybrid1rcensor_hybrid2rcensor_intervalrcensor_jointrcensor_middlercensor_prog2rcensor_proghybridrcensor_randomrcensor_truncrcensor_type1rcensor_type2stdEr

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Master Function for Bayesian Stress-Strength Reliability Estimationbayes_stress_strength
S3 Methods for mle_censored ObjectsAIC.mle_censored coef.mle_censored logLik.mle_censored nIter.mle_censored print.mle_censored print.summary.mle_censored stdEr.mle_censored summary.mle_censored vcov.mle_censored
Compute Stress-Strength Reliability R = P(Y < X)compute_stress_strength_R
Solved Example 11.3: Aluminum Coupons Lifetime Data Under Hybrid Censoringexample_aluminum_coupons
Solved Example 11.2: Insulating Fluid Breakdown Data Under Progressive Censoringexample_insulating_fluid
Solved Example: Stress-Strength Reliability Under Hybrid Censoringexample_stress_strength
Bayesian Stress-Strength Reliability Estimation via Gibbs Samplinggibbs_stress_strength
Bayesian Stress-Strength Reliability Estimation via Importance Samplingis_stress_strength
Bayesian Stress-Strength Reliability Estimation via Lindley's Approximation (1980)lindley_stress_strength
Bayesian Stress-Strength Reliability Estimation via Metropolis-Hastings Algorithmmh_stress_strength
Generalized Maximum Likelihood Estimation Under Censoring Schemesmle_censored
MLE Under Generalized Hybrid Censoringmle_genhybrid
MLE Under Type-I Hybrid Censoringmle_hybrid1
MLE Under Type-II Hybrid Censoringmle_hybrid2
MLE Under Interval Censoringmle_interval
MLE Under Joint Censoringmle_joint
MLE Under Middle Censoringmle_middle
MLE Under Progressive Type-II Censoringmle_prog2
MLE Under Progressive Hybrid Censoringmle_proghybrid
MLE Under Random Censoringmle_random
MLE Under Truncated Distributionmle_trunc
MLE Under Type-I Censoringmle_type1
MLE Under Type-II Censoringmle_type2
Number of Iterations Generic FunctionnIter
Plot Method for Diagnostic Verification of Censored Samplesplot.rcensored
Data Generation Under Generalized Hybrid Censoringrcensor_genhybrid
Data Generation Under Type-I Hybrid Censoringrcensor_hybrid1
Data Generation Under Type-II Hybrid Censoringrcensor_hybrid2
Data Generation Under Interval Censoringrcensor_interval
Data Generation Under Joint Censoring Schemercensor_joint
Data Generation Under Middle Censoringrcensor_middle
Data Generation Under Progressive Type-II Censoringrcensor_prog2
Data Generation Under Progressive Hybrid Censoringrcensor_proghybrid
Data Generation Under Random Censoringrcensor_random
Data Generation Under Truncated Distributionrcensor_trunc
Data Generation Under Type-I Censoringrcensor_type1
Data Generation Under Type-II Censoringrcensor_type2
Standard Error Generic FunctionstdEr