DolevArtzi / probably-probability

Probability playground to work with and simulate RVs
1 stars 0 forks source link

Fix plotSamples for continuous distributions #7

Open DolevArtzi opened 1 year ago

DolevArtzi commented 1 year ago

need bucketing instead of just raw values cuz the count is 1 for each of them.

Possible solution: bucketing?

DolevArtzi commented 1 year ago

works for exponential, somewhat works for erlang, doesn't work for normal atm.

DolevArtzi commented 1 year ago
Screenshot 2023-04-20 at 9 47 55 AM Screenshot 2023-04-20 at 9 48 44 AM Screenshot 2023-04-20 at 9 52 08 AM

Erlang doesn't look great. I suspect it's a bucketing issue? Same issue with exponential for smaller lambda.

DolevArtzi commented 7 months ago

this is fixed. code might be uncommitted though.