Shapley Value Decomposition for Discrete-Time Simulation Models


[Up] [Top]

Documentation for package ‘shapleydecomp’ version 1.0.0

Help Pages

build_counterfactual Construct counterfactual parameters for a factor
CF_CHANGE_SINCE Counterfactual type constants
CF_TOTAL_IMPACT Counterfactual type constants
cf_types Counterfactual type constants
decomp_algebra Decompose all summary variables for a single group
decomp_pair Decompose a single summary variable using Shapley value weights
get_baseline_value Get the baseline value for a factor
get_warm_start_state Warm starts
make_run_table Generate the factorial run table for decomposition
prepare_decomp Prepare the model for decomposition
run_decomp Run decomposition across groups and decomp years
run_from_warm_start Warm starts
run_simulation Run a simulation with the given parameters
sequential_totals Total impact per factor at every year from a sequential decomposition
shapley_decompose Run a full decomposition analysis
summarize_results Summarize simulation output into a data.table
supports_warm_start Warm starts
validate_model_interface Validate that a model implements the shapleydecomp interface
warm_start Warm starts