calcP1BEINF: CALCULATION OF THE PROBABILITY OF ONE FROM A ZERO- AND...

View source: R/statsTools.R

calcP1BEINFR Documentation

CALCULATION OF THE PROBABILITY OF ONE FROM A ZERO- AND ONE-INFLATED BETA-INFLATED DISTRIBUTION

Description

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

Usage

calcP1BEINF(nu, tau)

Arguments

nu

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

tau

vector of values for the tau parameter of the BEINF

Value

expected probability of 1 (P(Y=1))


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