beeezal / beeezal/Honours-project-codes

Misleading function. Is not a probability distribution

Open
#10 0 comments 0 reactions 1 assignee Claimed by @beeezal View on GitHub
enhancement invalid
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

https://github.com/beeezal/Honours-project-codes/blob/523f9f198737c1a8ac2745d4c08558b222c3e0cb/Random_walker_Vector/sketch.js#L70-L78

Given that the distribution $p(x) = x^2$ and $p:(0,1) \to$ ℝ but it is not a valid probability distribution, as it doesn't integrate to one.
Would also be nice to make the function output a random number of any distribution of our choice.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.