findBestNormalApproximation: Find approximation for a mixture of normal distributions...

findBestNormalApproximation1R Documentation

Find approximation for a mixture of normal distributions using limited number of normal distributions

Description

Find a solution of using 1 or 2 normal distributions to approximate a mixture of normal distributions

Usage

findBestNormalApproximation1(probs, means, vars)

findBestNormalApproximation2(probs, means, vars, numCores = 1)

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 dataframe with 3 columns, with columns representing the means, variances and probability weights of the normal distributions to approximate the full mixture


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