AverageWAgg | R Documentation |
Calculate one of several types of averaged best estimates.
AverageWAgg(
expert_judgements,
type = "ArMean",
name = NULL,
placeholder = FALSE,
percent_toggle = FALSE,
round_2_filter = TRUE
)
expert_judgements |
A dataframe in the format of data_ratings. |
type |
One of |
name |
Name for aggregation method. Defaults to |
placeholder |
Toggle the output of the aggregation method to impute placeholder data. |
percent_toggle |
Change the values to probabilities. Default is |
round_2_filter |
Note that the IDEA protocol results in both a Round 1 and Round 2 set of probabilities for each claim. Unless otherwise specified, we will assume that the final Round 2 responses (after discussion) are being referred to. |
This function returns the average, median and transformed averages of best-estimate judgements for each claim.
type
may be one of the following:
\loadmathjax
ArMean: Arithmetic mean of the best estimates \mjdeqn\hatp_c\left(ArMean \right ) = \frac1N\sum_i=1^N B_i,cascii Median: Median of the best estimates \mjdeqn\hatp_c \left(\textmedian \right) = \textmedian { B^i_c}_i=1,...,Nascii GeoMean: Geometric mean of the best estimates \mjdeqnGeoMean_c= \left(\prod_i=1^N B_i,c\right)^\frac1Nascii LOArMean: Arithmetic mean of the log odds transformed best estimates \mjdeqnLogOdds_i,c= \frac1N \sum_i=1^N log\left( \fracB_i,c1-B_i,c\right)ascii The average log odds estimate is then back transformed to give a final group estimate: \mjdeqn\hatp_c\left( LOArMean \right) = \frace^LogOdds_i,c1+e^LogOdds_i,cascii ProbitArMean: Arithmetic mean of the probit transformed best estimates \mjdeqnProbit_c= \frac1N \sum_i=1^N \Phi^-1\left( B_i,c\right)ascii The average probit estimate is then back transformed to give a final group estimate: \mjdeqn\hatp_c\left(ProbitArMean \right) = \Phi\left(Probit_c\right)ascii
A tibble of confidence scores cs
for each paper_id
.
AverageWAgg(data_ratings)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.