Skip to content

StressCensoR

0.1.0

Generalized Stress-Strength Reliability Estimation Under Censoring Schemes

0packages depend
71downloads / year
66.2%test coverage
11/11checks pass

Overview

About
Maintained by Shikhar TyagiFirst published 2026-08-051 releasesCRAN page ↗

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.

Install

Health

CRAN checks
11OK
Slowest check: 1.5 min · r-release-windows-x86_64
Code health
Yes
Tests · ratio 0.07
66.2%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • OK2026-08-06
    8 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

71
CRAN downloads in the past year
Rank #24,738 · ~0/day · ~6/mo
StressCensoR
Daily download trend is not available in this view yet.

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (1)
R >= 4.0.0
Imports (2)
graphicsstats
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • 0.1.0Latest
    2026-08-05 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-08-05
Total releases
1 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.0.0
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("StressCensoR")
Tyagi, S., Pandey, A., Singh, B., & Tripathi, V. (2026). StressCensoR: Generalized Stress-Strength Reliability Estimation Under Censoring Schemes (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.StressCensoR

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for StressCensoR version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-08-11. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-11, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy