gmm_size_probability_nls: The Gaussian Mixture Distribution

View source: R/MixtureFitting.R

gmm_size_probability_nlsR Documentation

The Gaussian Mixture Distribution

Description

Calculates the posterior probability of a Gaussian mixture with n components. Internally, it bins the data vector and calls nls() to optimize the mixture fit. Returns the list of the same form as received from optim().

Usage

    gmm_size_probability_nls( x, n, bins = 100, trace = FALSE )

Arguments

x

data vector

n

number of mixture components

bins

number of bins

trace

should debug trace be printed?

Value

List of the same form as received from optim().

Author(s)

Andrius Merkys


MixtureFitting documentation built on June 8, 2025, 11:19 a.m.