Skip to content

gofPHCS

0.1.0Package record

Goodness-of-Fit Tests for Complete, Progressively Type-II, Type-I Hybrid, and Type-II Hybrid Censored Data

3packages dependsuggested by 2
646downloads / year
60.9%test coverage
13/13flavors OK

Overview

About

Provides goodness-of-fit tests for lifetime data collected under complete sampling, progressive Type-II censoring, and Type-I/Type-II hybrid censoring schemes. Users supply the observed (censored) data and the assumed probability density/mass function, cumulative distribution function, or survival function of the target model, and the package returns the corresponding test statistic together with an asymptotic or Monte Carlo p-value. Implements the spacings-based exponentiality test of Balakrishnan, Ng and Kannan (2002, in "Goodness-of-Fit Tests and Model Validity", Birkhauser, pp. 89-111) and its location-scale generalization Balakrishnan, Ng and Kannan (2004) doi:10.1109/TR.2004.833317, the power comparison and Kaplan-Meier based tests of Doering and Cramer (2019) doi:10.1080/00949655.2019.1648468, the Kolmogorov-Smirnov type tests for hybrid censored data of Banerjee and Pradhan (2018) doi:10.1080/03610926.2016.1205616, and follows the unified treatment of hybrid censoring schemes reviewed in Balakrishnan and Kundu (2013) doi:10.1016/j.csda.2012.03.025 and in Cramer and Balakrishnan (2023, "Hybrid Censoring Know-How", Chapter 11) doi:10.1016/B978-0-12-398387-9.00019-2.

Changes in 0.1.0
  • Initial release of gofPHCS.
  • Implements complete-sample goodness-of-fit tests: Kolmogorov-Smirnov (KS), Cramér-von Mises (CvM), Anderson-Darling (AD).
  • Implements progressive Type-II censoring tests: Balakrishnan, Ng & Kannan (2002b) spacings test (T), Balakrishnan et al. (2004b) location-scale spacings test (genT), CvM-type on transformed spacings (A2_prog), Shapiro-Wilk type test (W2_prog), Wang (2008) log-spacings statistic (Tstar), Döring & Cramer (2019) Kaplan-Meier survival test (KMprog).
  • Implements hybrid censoring tests: Banerjee & Pradhan (2018) Kolmogorov-Smirnov tests (KSI, KSII, KSI_HCS, KSII_HCS).
  • Includes unified distribution adapter (make_distribution), censored data container (cens_data), and random sample generator (rcens).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.6 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OKNow
  • OK7 OK2026-08-05
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 67 wordsVignettesYes · 1 · dynamicNEWSYes · 67% structured · mentions 0.1.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
7 (1 internal)includes a package overview page
Examples that run
100%4 run in a plain check
Exported functions with examples
100%
Documented parameters
90%
Return-value docs
100%
Help pages citing references
71% with a bibliography file

Downloads

646
CRAN downloads in the past year
Rank #20,711 · ~2/day · ~54/mo
Daily download trend is not available in this view yet.
17830 days
64690 days
6461 year
Compare downloads with other packages →
Also on23 r2u1 autocran

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing gofPHCS adds 1 package (0 with compiled code, 102 KB of source tarballs). Heaviest: withr 102 KB.

Depends (1)
R >= 4.1.0
Imports (2)
statswithr
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
3direct
0indirect
Imports 3
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (4)
Author, Maintainer since 0.1.0 (2026)
Releases (1)
  • 0.1.0Latest
    2026-08-04 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-08-04
Total releases
1 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.1.0
Bundled data
0.4 KB / 2 files
Download size
26 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("gofPHCS")
Tyagi, S., Pandey, A., Singh, B., & Tripathi, V. (2026). gofPHCS: Goodness-of-Fit Tests for Complete, Progressively Type-II, Type-I Hybrid, and Type-II Hybrid Censored Data (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.gofPHCS

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 gofPHCS version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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