File: cmm_intersections.Rd

package info (click to toggle)
r-cran-mixturefitting 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 448 kB
  • sloc: ansic: 518; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 764 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
\name{cmm_intersections}
\alias{cmm_intersections}
\docType{methods}
\title{Intersections of Two Cauchy Distributions}
\description{
    Finds intersections of two Cauchy distributions by finding roots of a quadratic equation.
}
\usage{
    cmm_intersections( p )
}
\arguments{
    \item{p}{
        parameter vector of 6 parameters. Structure of p vector is
        p = c( A1, A2, mu1, mu2, gamma1, gamma2 ),
        where A\emph{i} is the proportion of \emph{i}-th component,
        mu\emph{i} is the location of \emph{i}-th component,
        gamma\emph{i} is the Cauchy scale of \emph{i}-th component.
    }
}
\value{
    A vector of x values of intersections (zero, one or two).
    Returns NaN if both distributions are identical.
}
\author{Andrius Merkys}