log_priors: Calculate the log joint prior

View source: R/priors.R

log_priorsR Documentation

Calculate the log joint prior

Description

Calculate the log joint prior of indicator vectors and coefficient vectors. See model_conf_default for more information of parameter settings.

Usage

log_priors(beta, betaIdx, varSelArgs, priArgs, sum = TRUE)

Arguments

beta

A list of coefficient vectors of the features.

betaIdx

A list of indicator vectors.

varSelArgs

Variable selection settings.

priArgs

Parameter settings in the priors of beta and betaIdx.

sum

Logical, if TRUE, sum all conditional priors.

Value

log_priors returns the value of log joint prior.


lily940703/febama documentation built on March 20, 2022, 1:57 a.m.