Fit scenario parameters by applying a geometric mean

fit_scenarios_geomean(scenario_answers)

Arguments

scenario_answers

Scenario answers dataframe.

Value

A dataframe.

See also

Other distribution fitting functions: combine_lognorm_trunc, combine_lognorm, combine_norm, fit_capabilities_geomean, fit_capabilities, fit_lognorm_trunc, fit_lognorm, fit_norm_trunc, fit_pois, fit_scenarios, fit_threat_communities, generate_cost_function, lognormal_to_normal, normal_to_lognormal

Examples

data(mc_scenario_answers) fit_scenarios_geomean(mc_scenario_answers)
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> Warning: Non-positive values in 'x'
#> # A tibble: 56 x 11 #> scenario_id impact_func impact_meanlog impact_sdlog imp_low imp_high #> <chr> <chr> <dbl> <dbl> <dbl> <dbl> #> 1 RS-01 stats::rln… 1.41 8.21 1 3000000. #> 2 RS-02 stats::rln… 1.41 8.21 1 3000000. #> 3 RS-03 stats::rln… 1.41 8.21 1 3000000. #> 4 RS-04 stats::rln… 1.41 8.21 1 3000000. #> 5 RS-05 stats::rln… 1.41 8.21 1 3000000. #> 6 RS-06 stats::rln… 1.41 8.21 1 3000000. #> 7 RS-07 stats::rln… 1.41 8.21 1 3000000. #> 8 RS-08 stats::rln… 1.41 8.21 1 3000000. #> 9 RS-09 stats::rln… 1.41 8.21 1 3000000. #> 10 RS-10 stats::rln… 1.41 8.21 1 3000000. #> # … with 46 more rows, and 5 more variables: frequency_func <chr>, #> # frequency_meanlog <dbl>, frequency_sdlog <dbl>, freq_low <dbl>, #> # freq_high <dbl>