fun_estimate_DirDirGamma_hyperparameter: Compute Dirichlet-DirichletGamma hyperparameters, using 'MLE'...

Description Usage Arguments Details Value

View source: R/stan_BF_hyperpriors.R

Description

For the 'DirDirGamma' model. It computes an estimate using ML estimates of the parameters in each group.

Usage

1
2
3
4
5
6
fun_estimate_DirDirGamma_hyperparameter(
  df_background,
  col_source = "source",
  eps = 1e-12,
  convcrit = 1e-08
)

Arguments

df_background

dataframe with background data

col_source

name of the source column (default: 'source')

eps

convergence parameters for Dirichlet MLE (see: dirichlet.mle())

convcrit

convergence parameters for Dirichlet MLE (see: dirichlet.mle())

Details

Returns a list.

Value

a numeric vector for the estimated Dirichlet hyperparameter


lgaborini/rstanBF documentation built on March 10, 2021, 1:12 p.m.