Gradient of the log-likelihood wrt Z.
1 2 | normal_llike_grad(Z, Y, alpha, sig_diag, tau_seq, scale_val, pi_vals,
lambda = NULL)
|
Z |
A k by 1 matrix of numerics. The hidden confounders. |
Y |
A matrix of dimension |
alpha |
A matrix. This is of dimension |
sig_diag |
A vector of length |
tau_seq |
A vector of length |
scale_val |
A positive numeric. The variance scaling parameter. |
pi_vals |
A vector of numerics that sums to 1. The mixing proportions. |
lambda |
Not used here, but needed for optim. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.