productNormalDensity: Calculate the product of normal probability density functions

View source: R/RasperGade_reconstruction_utils.R

productNormalDensityR Documentation

Calculate the product of normal probability density functions

Description

Calculate the mean, variance and the scaling factor of the product of normal pdfs (a Gaussian function)

Usage

productNormalDensity(mean, var)

Arguments

mean

the vector of means of mixed normal distributions

var

the vector of standard deviations of mixed normal distributions

Details

The function is implemented based on Bromiley 2014

Value

A numeric vector of length 3 (mean, variance and scale)


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