tupdate_kron_modek: Update the variational density for the kth mode when assuming...

Description Usage Arguments Author(s)

Description

Update the variational density for the kth mode when assuming a diagonal Kronecker structured covariance matrix.

Usage

1
2
tupdate_kron_modek(Y, ex_list, ex2_list, esig_list, k, mixcompdist = "normal",
  which_na = NULL, nullweight = 10)

Arguments

Y

An array of numerics. The data array.

ex_list

A list of vectors of numerics. The expected values of the components of each mode.

ex2_list

A list of of vectors of positive numerics. The variational second moments of the components.

esig_list

A list of vectors of positive numerics. The expected variances.

k

A positive integer. The current mode to update.

mixcompdist

The mixing distribution to assume. Defaults to normal. Options are those available in the ashr package.

which_na

Either NULL (when complete data) or an array of logicals the same dimension as Y, indicating if the observation is missing (TRUE) or observed (FALSE).

nullweight

A numeric greater than or equal to 1. The penalty term on the probability of a component being zero.

Author(s)

David Gerard


kkdey/flashr documentation built on May 20, 2019, 10:36 a.m.