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

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')

Value

a numeric vector for the estimated Dirichlet hyperparameter

Details

Returns a numeric vector.