Skip to contents

Fit beta distributions to data elicited from multiple experts via the roulette method.

Usage

fit_beta_mult_exp(chips_mult)

Arguments

chips_mult

A dataframe or matrix containing weights. It should contain one row per expert and 10 columns, one for each bin, representing weights from 0 to 1.

Value

A dataframe containing the parameters of the individual beta distributions.

See also

[fit_beta_1exp()].

Examples

beta_fits <- fit_beta_mult_exp(
  chips_mult = rbind(
    c(0, 0, 0, 0, 2, 3, 3, 2, 0, 0),
    c(0, 0, 0, 1, 2, 4, 2, 1, 0, 0),
    c(0, 0, 0, 2, 2, 2, 2, 2, 0, 0)
  )
)
print(beta_fits)
#> # A tibble: 3 × 4
#>   alpha  beta     error convergence
#>   <dbl> <dbl>     <dbl> <lgl>      
#> 1 10.2   6.87 0.0000466 TRUE       
#> 2 11.5   9.46 0.00192   TRUE       
#> 3  4.22  3.49 0.000138  TRUE