Learn R Programming

AZIAD (version 0.0.3)

Analyzing Zero-Inflated and Zero-Altered Data

Description

Description: Computes maximum likelihood estimates of general, zero-inflated, and zero-altered models for discrete and continuous distributions. It also performs Kolmogorov-Smirnov (KS) tests and likelihood ratio tests for general, zero-inflated, and zero-altered data. Additionally, it obtains the inverse of the Fisher information matrix and confidence intervals for the parameters of general, zero-inflated, and zero-altered models. The package simulates random deviates from zero-inflated or hurdle models to obtain maximum likelihood estimates. Based on the work of Aldirawi et al. (2022) and Dousti Mousavi et al. (2023) .

Copy Link

Version

Install

install.packages('AZIAD')

Monthly Downloads

389

Version

0.0.3

License

MIT + file LICENSE

Maintainer

Niloufar Dousti Mousavi

Last Published

May 1st, 2024

Functions in AZIAD (0.0.3)

zih.mle

Maximum likelihood estimate for Zero-Inflated or Zero-Altered discrete and continuous distributions.
sample.h1

Generate random deviates from hurdle models
ofp

Number of physician office visits.
lrt.A

likelihood ratio test for two models based on kstest.A
new.mle

Maximum likelihood estimate for general discrete and continuous distributions
sample.zi1

Generate random deviates from zero-inflated
kstest.B

The Monte Carlo estimate for the p-value of a discrete KS test based on nested bootstrapped samples
kstest.A

The Monte Carlo estimate for the p-value of a discrete KS Test based on zih.mle estimates.
FI.ZI

Inverse Fisher Information matrix and confidence intervals of the parameters for general, continuous, and discrete zero-inflated or hurdle distributions.