Skip to content

Integrate Nuno's Beta function tool #1615

Description

@OAGr

We need to eventually decide on a good syntax. In the meantime, we could have a simple function like,
Dist.betaParamsFromCI

From @NunoSempere:

Integrate the fit-beta code here: https://www.npmjs.com/package/fit-beta into Squiggle
Step 1: Figure out an appropriate syntax
Slava has some thoughts here.
Step 2: Add appropriate error checking to the original package
Check that the output cdf is as expected, i.e., that the cdf of the result at 0.05 is the lower bound and the cdf at the upper bound is 0.95 (or something else if ci_length is not 0.9)
Check that inputs are between 0 and 1, and that one is greater than the other
Check that the output is the correct type of object at all
Step 3: Integrate into Squiggle

Activity

  1. added
    LanguageRegarding Squiggle language semantics, distributions and function registry
    on Mar 25, 2023
  2. moved this to 🆕 To prioritize in Overviewon Apr 16, 2023
  3. moved this from 🆕 To prioritize to 🔖 Later in Overviewon Apr 17, 2023
  4. moved this from 🔖 Later to Soon in Overviewon Aug 1, 2023
  5. moved this from Soon to 🔖 Later in Overviewon Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    LanguageRegarding Squiggle language semantics, distributions and function registry

    Type

    No type

    Projects

    • Status
      🔖 Later

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions