fct_gamma {mixedLSR}R Documentation

Internal Posterior Calculation

Description

Internal Posterior Calculation

Usage

fct_gamma(
  x,
  y,
  k,
  N,
  clust_assign,
  pi_vec,
  lambda,
  alpha,
  beta,
  y_sparse,
  rank,
  max_rank
)

Arguments

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.

Value

A list with the posterior, coefficients, and estimated covariance.


[Package mixedLSR version 0.1.0 Index]