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


merkys/MixtureFitting documentation built on July 5, 2025, 5:43 a.m.