Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normal distribution #5

Closed
3 tasks done
pblischak opened this issue May 4, 2023 · 2 comments · Fixed by #8 or #24
Closed
3 tasks done

Normal distribution #5

pblischak opened this issue May 4, 2023 · 2 comments · Fixed by #8 or #24
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Milestone

Comments

@pblischak
Copy link
Owner

pblischak commented May 4, 2023

The Zig standard library implements random sampling from a Normal(0,1). Here we want to allow for any mean and variance: Normal( $\mu$, $\sigma^2$ ).

  • Implement
  • Test
  • Document
@pblischak pblischak added documentation Improvements or additions to documentation enhancement New feature or request labels May 4, 2023
@pblischak pblischak added this to the v0.1.0 milestone May 4, 2023
@pblischak pblischak self-assigned this May 4, 2023
@pblischak
Copy link
Owner Author

Going to switch to using standard deviation ($\sigma$) instead of variance ($\sigma^2$) for the normal parameterization. That way, random deviates from a Normal( $\mu$, $\sigma$ ) can be generated as Normal(0, 1) * $\sigma$ + $\mu$

@pblischak
Copy link
Owner Author

#8 Has initial draft

@pblischak pblischak linked a pull request May 21, 2023 that will close this issue
@pblischak pblischak mentioned this issue Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant