Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
lowValue = 10
Insert cell
medianValue = 30
Insert cell
highValue = 90 // value at 1 - lowProb eg if lowprob is .10 we need the value at .90 quant. This can be confusing. need to explain this better
Insert cell
Insert cell
Insert cell
metaLogParams = getQuantiles([1, 50, 100], 0.1) // The array of imperical obs or expert judgement will likely have more than just three values. Note that the lowProbability us used to tell the function where on the curve the lowValue and highValue are taken from. In this case a lowProb of 0.10 which means the highProd is 0.90 since this is an STP Metalog. http://www.metalogdistributions.com/equations/sptunboundedmetalog.html
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
md`### Code for Metalog`
Insert cell
Insert cell
Insert cell
Insert cell
md`### Code for Quantiles`
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more