vk_fun.prime: Another function for newton update of V This function...

View source: R/vk_fun.prime.R

vk_fun.primeR Documentation

Another function for newton update of V This function calculate the second derivative of the elbo with respect to V for it's kth diagonal element.

Description

Another function for newton update of V This function calculate the second derivative of the elbo with respect to V for it's kth diagonal element.

Usage

vk_fun.prime(x, iSig_kk, m_k, M, xi)

Arguments

x

kth diagonal element of V, variable of this function

iSig_kk

k-th diagonal element of the (generalized) inverse variance parameter for the latent Gaussian variable.

m_k

kth element of variational parameter m.

M

sum of counts in K taxa for one observation.

xi

variational parameter xi, vector of n.

Examples

vk_fun.prime()

yuanfang90/LNMVGA documentation built on Jan. 29, 2024, 8:24 a.m.