gmm_intersections {MixtureFitting} | R Documentation |
Intersections of Two Gaussian Distributions
Description
Finds intersections of two Gaussian distributions by finding roots of a quadratic equation.
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
[Package MixtureFitting version 0.6.1 Index]