rt_mixture: Simulates N observations from a mixture of t distributions.

Description Usage Arguments Value Author(s) See Also

Description

Simulates N observations from a mixture of t distributions.

Usage

1
rt.mixture(N, pi, mu, s, df, round=FALSE)

Arguments

N

Number of realizations (integer scalar, positive)

pi

Mixture proportions (numeric vector of length K > 0; sum(pi) = 1, entries non-negative!)

mu

Component medians (numeric vector of length K)

s

compnent sigma's (numeric vector length K; entries positive)

df

Also called nu; component degrees of freedom (numeric vector of length K; entries positive)

round

Should number be rounded (boolean scalar)

Value

y

N accordingly distributed realizations (numeric vector of length N)

Author(s)

Lisa Allmesberger Fabian Bergs Stefan Immler Michael Kässmann

See Also

qt.mixture, dt.mixture, pt.mixture


sp2019-antibiotics/Team-Student documentation built on Nov. 5, 2019, 9:13 a.m.