dot-rPdirmix: Generate from extremal Dirichlet Y \sim {P_x}, where P_{x} is...

.rPdirmixR Documentation

Generate from extremal Dirichlet Y \sim {P_x}, where P_{x} is the probability of extremal functions from a Dirichlet mixture

Description

Generate from extremal Dirichlet Y \sim {P_x}, where P_{x} is the probability of extremal functions from a Dirichlet mixture

Usage

.rPdirmix(d, index, alpha, weight)

Arguments

d

dimension of the 1-sample

index

index of the location. An integer in 0, ..., d-1

alpha

a d \times n dimensional vector of positive parameter values for the Dirichlet vector

weight

a m vector of mixture weights, which sum to 1

Value

a d-vector from P_x


mev documentation built on Sept. 11, 2024, 8:14 p.m.