Given a dataframe of raw results from run_simulations, summarize the individual results at a per-domain level. This domain-level summary is a useful data structure for aggregate reporting.

summarize_domains(simulation_results)

Arguments

simulation_results

Simulation results dataframe.

Value

Simulation results summarized by domain

Details

Summary stats created include:

  • Mean/Min/Max/Median are calculated for loss events

  • Median/Max/VaR are calculated for annual loss expected (ALE)

  • Mean/Median/Max/Min are calculated for single loss expected (SLE)

  • Mean percentage of threat capability exceeding difficulty on successful threat events

  • Mean percentage of difficulty exceeding threat capability on defended events

  • Vulnerability percentage

  • Z-score of ALE (outliers flagged as 2 >= z-score)

Examples

# NOT RUN {
data(simulation_results)
summarize_domains(simulation_results)
# }