Learn R Programming

iZID

iZID computes bootstrapped Monte Carlo estimate of p-value of KS test and likelihood ratio test for zero-inflated count data based on the previous work of Aldirawi et al. (2019). This package also enables user to compute maximum likelihood estimate of data from standard, zero-inflated or hurdle beta binomial, beta negative binomial, negative binomial and Poisson distributions. Besides, user can generate random deviates from the aforementioned distributions.

Installation

The released version of iZID can be downloaded from CRAN with:

install.packages("iZID")

Architecture

12 functions are exported from this package which can be classified as five classes:

  • bb.mle, bnb.mle, nb.mle, poisson.mle: calculate maximum likelihood estimates for general distributions.
  • bb.zihmle, bnb.zihmle, nb.zihmle, poisson.zihmle: calculate maximum likelihood estimates for zero-inflated or hurdle distributions.
  • dis.kstest: conduct one-sample KS test and output bootstrapped p-value.
  • model.lrt: conduct likelihood ratio test to compare two models and output bootstrapped p-value.
  • sample.h, sample.zi: simulate random deviates from zero-inflated or hurdle models.

Copy Link

Version

Install

install.packages('iZID')

Monthly Downloads

176

Version

0.0.1

License

MIT + file LICENSE

Maintainer

Lei Wang

Last Published

November 6th, 2019

Functions in iZID (0.0.1)

dis.kstest

The Monte Carlo estimate for the p-value of a discrete KS Test
sample.h

Generate random deviates from zero-inflated or hurdle models
bb.mle

Maximum likelihood estimate for beta binomial distributions
model.lrt

likelihood ratio test for two models
bb.zihmle

Maximum likelihood estimate for zero-inflated or hurdle beta binomial distributions.
OTU

Bacterial OTUs.