fun_estimate_DirDir_hyperparameter: Compute Dirichlet hyperparameters, using 'MLE' or 'naive'...

Description Usage Arguments Details Value

View source: R/stan_BF_hyperpriors.R

Description

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

Usage

1
2
3
4
5
fun_estimate_DirDir_hyperparameter(
  df_background,
  method,
  col_source = "source"
)

Arguments

df_background

dataframe with background data

method

'ML' or 'naive' (see fun_estimate_Dirichlet_from_samples())

col_source

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

Details

Returns a numeric vector.

Value

a numeric vector for the estimated Dirichlet hyperparameter


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