mean_ctp: Theoretical moments of the CTP distribution

View source: R/moments.R

mean_ctpR Documentation

Theoretical moments of the CTP distribution

Description

Theoretical moments of the CTP distribution

Usage

mean_ctp(a, b, gama)

var_ctp(a, b, gama)

skew_ctp(a, b, gama)

Arguments

a, b, gama

CTP parameters.

Details

These functions do not validate that the parameter constraints required for a given moment to exist are satisfied (e.g. gama > 2*a+2 for the variance, gama > 2*a+3 for the skewness). Outside these regions the returned value may be Inf, NaN, or negative; see dctp for the corresponding existence warnings applied at the density level. See mode_ctp for the mode, including its tie-case handling.

Examples

mean_ctp(a = 1, b = 0.5, gama = 6)
var_ctp(a = 1, b = 0.5, gama = 6)
skew_ctp(a = 1, b = 0.5, gama = 6)


zmctp documentation built on Sept. 20, 2026, 5:07 p.m.