Skip to content

Instantly share code, notes, and snippets.

@heiwais25
Created September 15, 2017 06:45
Show Gist options
  • Save heiwais25/d67e76403a147d56cc1803874b75dc50 to your computer and use it in GitHub Desktop.
Save heiwais25/d67e76403a147d56cc1803874b75dc50 to your computer and use it in GitHub Desktop.
pnorm(0, 0, 1) = 0.5 # Cumulative distribution function of 0
qnorm(.25, 0, 1) = -0.675 # .25 quantile
hists(rnorm(10000, 0, 1)) # histogram of values from rnorm(10000 pseudo random sample)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment