Normal Mixture log-probability density function
Usage
normal_mixture_lpdf(x, pi_w, mean, sd, sum = TRUE)
Arguments
- x
Vector of quantiles (observations).
- pi_w
Vector of mixing proportions for each cluster.
- mean
Vector of means for each cluster.
- sd
Vector of standard deviations for each cluster.
Value
The sum of the log-density.