// "mm(floor(uniform(30,35)), normal(50,20), [.25,.5])",
// "mm(floor(normal(28,4)), normal(32,2), uniform(20,24), [.5,.2,.1])",
let timeDist =
DistPlusIngredients.make(
~guesstimatorString="mm(floor(10 to 15), 10 to 11, [.9,.1])",
~domain=Complete,
~unit=
DistTypes.TimeDistribution({zero: MomentRe.momentNow(), unit: `years}),
(),
);
let setup = dist =>
dist
|> DistPlusIngredients.toDistPlus(~sampleCount=5000, ~outputXYPoints=1000);
let distributions = () =>
{"Single-Discrete" |> ReasonReact.string}
{setup(
DistPlusIngredients.make(
~guesstimatorString="floor(10 to 14)",
~domain=Complete,
(),
),
)
|> E.O.React.fmapOrNull(distPlus => )}
;
// |> E.O.React.fmapOrNull(distPlus => )}
// )
// ),
// (),
// ~domain=Complete,
// ~guesstimatorString="(5 to 10)",
// DistPlusIngredients.make(
// {setup(
// {"Continuous Only" |> ReasonReact.string}
// |> E.O.React.fmapOrNull(distPlus => )}
// )
// ),
// (),
// ~domain=Complete,
// ~guesstimatorString="floor(5 to 10)",
// DistPlusIngredients.make(
// {setup(
// {"Discrete Only" |> ReasonReact.string}
// |> E.O.React.fmapOrNull(distPlus => )}
// )
// ),
// (),
// ~domain=Complete,
// ~guesstimatorString="mm(floor(10 to 15), 10 to 11, [.9,.1])",
// DistPlusIngredients.make(
// {setup(
// {"Simple Mixed Distribution" |> ReasonReact.string}
// |> E.O.React.fmapOrNull(distPlus => )}
// )
// ),
// (),
// }),
// unit: `days,
// zero: MomentRe.momentNow(),
// DistTypes.TimeDistribution({
// ~unit=
// ~domain=Complete,
// ~guesstimatorString="mm(floor(10 to 15), 10 to 11, [.9,.1])",
// DistPlusIngredients.make(
// {setup(
// {"Complex Distribution Days" |> ReasonReact.string}
// |> E.O.React.fmapOrNull(distPlus => )}
// )
// ),
// (),
// }),
// unit: `years,
// zero: MomentRe.momentNow(),
// DistTypes.TimeDistribution({
// ~unit=
// ~domain=Complete,
// ~guesstimatorString="mm(floor(10 to 15), 10 to 11, [.9,.1])",
// DistPlusIngredients.make(
// {setup(
// {"Complex Distribution" |> ReasonReact.string}
let entry = EntryTypes.(entry(~title="Pdf", ~render=distributions));