The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

gofPHCS

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

The gofPHCS package provides goodness-of-fit testing procedures for lifetime data under various censoring schemes, including complete sampling, progressive Type-II censoring, and Type-I / Type-II hybrid censoring schemes.

Installation

# Install from source:
install.packages("gofPHCS_0.1.0.tar.gz", repos = NULL, type = "source")

Quick Usage Example

library(gofPHCS)

# Create progressive Type-II censored data
x_obs <- c(0.19, 0.78, 0.96, 1.31, 1.73, 2.85, 3.01, 3.80)
R_plan <- c(0, 0, 3, 0, 3, 0, 0, 5)
cdata <- cens_data(x = x_obs, scheme = "progtypeII", R = R_plan)

# Define null distribution (exponential with rate 0.5)
dist <- make_distribution(cdf = function(x, rate) pexp(x, rate), params = c(rate = 0.5))

# Perform goodness-of-fit test
res <- gof_test(cdata, distribution = dist, statistic = "T", p.method = "asymptotic")
print(res)

References

Balakrishnan, N., Cramer, E., & Kundu, D. (2023). Hybrid Censoring Know-How: Designs and Implementations. Academic Press.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.