Welcome to ClientVPS Mirrors

README

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

Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.

This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.