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.

gofmalm: Goodness-of-Fit Tests for Type-II Censored Samples via Malmquist Transformation

gofmalm provides goodness-of-fit (GOF) tests for arbitrary user-specified continuous parametric distributions under Type-II right- or left-censoring.

Features

Installation

You can install gofmalm from the source package tarball:

install.packages("gofmalm_0.1.0.tar.gz", repos = NULL, type = "source")

Quick Example

library(gofmalm)

# Example 1: Testing Uniform(0,1) with r = 5, n = 10 (simple hypothesis)
data_unif <- c(0.03, 0.06, 0.10, 0.11, 0.13)
res1 <- gof_censored(
  data = data_unif,
  n = 10,
  pdf = dunif,
  cdf = punif,
  sf = function(x, p) 1 - punif(x),
  estimate = FALSE,
  pvalue_method = "distribution_free",
  nsim = 1000,
  seed = 123
)
print(res1)

References

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.