R/fit_distributions.R
fit_norm_trunc.RdWith a 5th and 95th quantile point estimates and optional lower and upper bounds, fit a truncated normal distribution, returning the parameters of the distribution.
fit_norm_trunc(low, high, min = 0, max = Inf)
| low | 5th quantile. |
|---|---|
| high | 95th quantile. |
| min | Lower bound of support. |
| max | Upper bound of support. |
Dataframe.
Other distribution fitting functions:
combine_lognorm_trunc(),
combine_lognorm(),
combine_norm(),
fit_capabilities_geomean(),
fit_capabilities(),
fit_lognorm_trunc(),
fit_lognorm(),
fit_pois(),
fit_scenarios_geomean(),
fit_scenarios(),
fit_threat_communities(),
generate_cost_function(),
lognormal_to_normal(),
normal_to_lognormal()
fit_norm_trunc(low = 10, high = 50, min = 0, max = 100)#> # A tibble: 1 x 5 #> func mean sd min max #> <chr> <dbl> <dbl> <dbl> <dbl> #> 1 EnvStats::rnormTrunc 29.5 12.4 0 100