setDefaultPriors {blatent}R Documentation

Sets the prior distribution parameters for all parameters not named in priorsList

Description

All parameters not named in priorsList, an input argument to blatentEstimate, recieve these parameters if their prior distributions are of the same family. Used to quickly set priors for sets of parameters.

Usage

setDefaultPriors(
  normalMean = 0,
  normalVariance = 1,
  normalCovariance = 0,
  dirichletAlpha = 1
)

Arguments

normalMean

Sets the prior distribution mean for all parameters with normal distributions not named in priorsList. Defaults to 0.

normalVariance

Sets the prior distribution variance for all parameters with normal distributions not named in priorsList. Defaults to 1000.

normalCovariance

Sets the prior distribution covariance for all parameters with multivariate normal distributions not named in priorsList. Defaults to 0.

dirichletAlpha

Sets the prior distribution parameter values when variable distributions are Dirichlet. Defaults to 1.

Value

A list containing named values for each argument in the function.


[Package blatent version 0.1.2 Index]