rmix {mixsmsn}R Documentation

Random univariate FM-SMSN generator

Description

Random generator of univariate FM-SMSN distributions.

Usage

rmix(n, pii, family, arg, cluster=FALSE)

Arguments

n

number of observations

pii

a vector of weights for the mixture (dimension of the number g of clusters). Must sum to one!

family

distribution family to be used in fitting ("t", "Skew.t", "Skew.cn", "Skew.slash", "Skew.normal", "Normal")

arg

a list with each entry containing a vector of size equal to the number of clusters of the necessary parameters from a family

cluster

TRUE or FALSE if the true observations clusters must be returned.

Author(s)

Marcos Prates marcosop@est.ufmg.br, Victor Lachos hlachos@ime.unicamp.br and Celso Cabral celsoromulo@gmail.com

See Also

smsn.mix

Examples

 ## see \code{\link{smsn.mix}}

[Package mixsmsn version 1.1-10 Index]