rnormregmix: rnormregmix

Description Usage Arguments Value

Description

Generates mixed normal random variables with regressor x

Usage

1
rnormregmix(n, x = NULL, alpha, mubeta, sigma)

Arguments

n

The number of observations

x

n by k-1 matrix that does NOT include a constant

alpha

m by 1 vector that represents proportions of components

mubeta

k by m matrix that represents (mu times k regression coefficients) on x for m components

sigma

m by 1 vector that represents sd of components

Value

n by 1 vector that is formed by regressor x


hkasahar/normalregMix documentation built on May 17, 2019, 4 p.m.