beeezal / beeezal/Honours-project-codes
Misleading function. Is not a probability distribution
Open
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.