An estimation language
https://www.squiggle-language.com/
Nuno Sempere
ff5b26d865
Things to note: - The code has comments. I feel protective of these comments, and feel that they help structure the code and will help me out when I come I come back to this code a couple of weeks or months from now. - Originally based on code by Evan Ward (probability.dev). See also: observablehq.com/@nunosempere/distribution-drawer To do, in order of importance: - Add the ability to change the upper and lower boundaries. - Make the drawings relative to the canvas, not to the screen. - Add other features from probability.dev Cool things yet to be done: - Make it so that one can input a guesstimate function, and then draw on it. To do this, use the Convert.xyShapeToCanvasShape and modify the Draw.initial distribution function slightly. - Maybe reach out to Metaculus to see if they want to use this somewhere? |
||
---|---|---|
__tests__ | ||
showcase | ||
src | ||
.gitignore | ||
bsconfig.json | ||
LICENSE | ||
netlify.toml | ||
package.json | ||
postcss.config.js | ||
README.md | ||
tailwind.js | ||
yarn.lock |
WideDomain
This is an experimental library & application for writing estimation functions in ReasonML.
Users would write models with declared interfaces (inputs & outputs). These models can output probability distributions or variables.
DistPlus
We have a custom library called DistPlus to handle distributions with additional metadata. This helps handle mixed distributions (continuous + discrete), a cache for a cdf, possible unit types (specific times are supported), and limited domains.
Running
Currently it only has a few very simple models.
yarn
yarn run start
yarn run parcel
Current Setup
You can see a current version of this running online here: https://www.highlyspeculativeestimates.com/m/ea-funds