rcmm: Random Sample of The Cauchy Mixture Distribution

View source: R/MixtureFitting.R

rcmmR Documentation

Random Sample of The Cauchy Mixture Distribution

Description

Generates a random sample of the Cauchy mixture distribution.

Usage

    rcmm( n, p )

Arguments

n

sample size

p

parameter vector of 3*n parameters, where n is number of mixture components. Structure of p vector is p = c( A1, A2, ..., An, mu1, mu2, ..., mun, gamma1, gamma2, ..., gamman ), where Ai is the proportion of i-th component, mui is the location of i-th component, gammai is the Cauchy scale of i-th component.

Value

A vector.

Author(s)

Andrius Merkys


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