compoundNormalMoments: Calculate four central moments of a mixture of normal...

View source: R/RasperGade_reconstruction_utils.R

compoundNormalMomentsR Documentation

Calculate four central moments of a mixture of normal distributions

Description

Calculate the mean, variance, skewness and excess kurtosis of the mixture of normal distributions

Usage

compoundNormalMoments(probs, means, vars)

Arguments

probs

the vector of probability weight of normal distributions

means

the vector of means of mixed normal distributions

vars

the vector of standard deviations of mixed normal distributions

Value

A numeric vector of length 4 (mean, variance, skewness and kurtosis)


wu-lab-uva/RasperGade documentation built on June 24, 2022, 2:47 p.m.