match_kde_height: Estimate variance by comparison to a density estimate

match_kde_heightR Documentation

Estimate variance by comparison to a density estimate

Description

match_kde_height returns standard deviation such that the probability density function of the gaussian mixture model (GMM) specified by the "means" parameter closely matches the kernel density estimation for the input data

Usage

match_kde_height(data, means, sd, comparison_point = NA)

Arguments

data

input data to estimate density and mix the mixture model to

means

the means of the GMM

sd

the initial estimate of standard deviation

comparison_point

value to compute density function and density estimator height for optimization

Value

an estimation of standard deviation


lculibrk/Ploidetect documentation built on May 18, 2023, 5:53 p.m.