rvmm: Random Sample of the von Mises Mixture Model.

rvmmR Documentation

Random Sample of the von Mises Mixture Model.

Description

Generates a random sample of the von Mises Mixture Model.

Usage

    rvmm( 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, k1, k2, ..., kn ), where Ai is the proportion of i-th component, mui is the center of i-th component and ki is the concentration of i-th component.

Value

A vector.

Author(s)

Andrius Merkys

References

Best & Fisher. Efficient Simulation of the von Mises Distribution. Journal of the RSS, Series C, 1979, 28, 152-157.


merkys/MixtureFitting documentation built on May 25, 2024, 9:01 a.m.