weight_asym | R Documentation |
Calculates weights by asymmetry of intervals
weight_asym(expert_judgements)
expert_judgements |
the long tibble exported from the |
This function is used inside IntervalWAgg to calculate the weights for the
aggregation type "AsymWAgg"
, "IndIntAsymWAgg"
and "KitchSinkWAgg"
. Pre-processed
expert judgements (long format) are first converted to wide format then weighted by:
\loadmathjax
\mjdeqnw\_asym_i,c= \begincases
1 - 2 \cdot \fracU_i,c-B_i,cU_i,c-L_i,c, \textfor\ B_i,c \geq
\fracU_i,c-L_i,c2+L_i,c
1 - 2 \cdot \fracB_i,c-L_i,cU_i,c-L_i,c, \textotherwise
\endcasesascii
Data is converted back to long format, with only the weighted best estimates retained.
A tibble in the form of the input expert_judgements
argument with additional columns
supplying the calculated weight for each row's observation.
weight_asym(preprocess_judgements(data_ratings))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.