dmixlike: Calculates the gaussian mixture density.

Description Usage Arguments Author(s)

Description

This function assumes that the mixing means are all zeros and the mixing covariances are rank-1 matrices. Each observation has its own independent noise (variances collected in s_mat).

Usage

1
dmixlike(x_mat, s_mat, v_mat, pi_vec, log = FALSE)

Arguments

x_mat

A matrix of data. The rows index the observations and the columns index the variables.

s_mat

A matrix of variances (NOT standard deviations). The rows index the observations and the columns index the variables.

v_mat

A matrix of square-roots of the rank-1 mixing covariance matrices. The columns index the mixing components, the rows index the variables.

pi_vec

A vector of mixture proportions.

log

A logical. Should we return the log-density (TRUE) or not (FALSE)?

Author(s)

David Gerard


dcgerard/UltimateDeconvolution documentation built on May 15, 2019, 1:24 a.m.