estimate_parameters_normal_dist_from_two_percentiles: Fit a normal distribution using two quantiles

Description Usage Arguments Value Examples

View source: R/estimate_parameters_normal_dist_from_two_percentiles.R

Description

Estimate the parameters of a normal distribution using two quantiles

Usage

1

Arguments

vals

A vector of elicited values

probs

A vector of elicited probabilities

Value

A vector with the parameters mean (mu_EKE) and standard deviation (sigma_EKE) of the fitted normal distribution.

Examples

1
2
3
vals = c(-30, -15, 05, 7.5, 20)
probs = c(0.01, 0.25,0.5, 0.75,0.99)
estimate_parameters_normal_dist_from_two_percentiles(vals, probs)

Iraices/PrecisePvsBoundedP documentation built on Jan. 18, 2021, 11:32 p.m.