fct_gamma | R Documentation |
Internal Posterior Calculation
fct_gamma( x, y, k, N, clust_assign, pi_vec, lambda, alpha, beta, y_sparse, rank, max_rank )
x |
A matrix of predictors. |
y |
A matrix of responses. |
k |
The number of groups. |
N |
The sample size. |
clust_assign |
The current clustering assignment. |
pi_vec |
A vector of mixing probabilities for each cluster label. |
lambda |
A vector of penalization parameters. |
alpha |
A positive constant DPP parameter. |
beta |
A positive constant DPP parameter. |
y_sparse |
Should Y coefficients be treated as sparse? |
rank |
The rank, if known. |
max_rank |
The maximum allowed rank. |
A list with the posterior, coefficients, and estimated covariance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.