gmm_intersections: Intersections of Two Gaussian Distributions

View source: R/MixtureFitting.R

gmm_intersectionsR Documentation

Intersections of Two Gaussian Distributions

Description

Finds intersections of two Gaussian distributions.

Usage

    gmm_intersections( p )

Arguments

p

parameter vector of 6 parameters. Structure of p vector is p = c( A1, A2, mu1, mu2, sigma1, sigma2 ), where Ai is the proportion of i-th component, mui is the location of i-th component, sigmai is the scale of i-th component.

Value

A vector of x values of intersections (zero, one or two). Returns NaN if both distributions are identical.

Author(s)

Andrius Merkys


merkys/MixtureFitting documentation built on Feb. 26, 2023, 5:21 p.m.