calcVarBEINF: CALCULATION OF THE VARIANCE OF A ZERO- AND ONE-INFLATED...

View source: R/statsTools.R

calcVarBEINFR Documentation

CALCULATION OF THE VARIANCE OF A ZERO- AND ONE-INFLATED BETA-INFLATED DISTRIBUTION

Description

Follows the parameterisation used in gamlss package, using variance estimation described in and Ferrari (2010). See also Rigby et al. 2020 (Distributions for Modeling Location, Scale, and Shape: using GAMLSS in R)

Usage

calcVarBEINF(mu, sigma, nu, tau)

Arguments

mu

vector of values for the mu parameter of the zero- and one-inflated Beta distribution (BEINF)

sigma

vector of values for the sigma parameter of the BEINF

nu

vector of values for the nu parameter of the BEINF

tau

vector of values for the tau parameter of the BEINF

Value

expected variance of Y


CeresBarros/ToolsCB documentation built on Aug. 23, 2024, 4:22 p.m.