Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nashutoing/ddd000b2796d46812579379c7b7b7fdb to your computer and use it in GitHub Desktop.
Save nashutoing/ddd000b2796d46812579379c7b7b7fdb to your computer and use it in GitHub Desktop.
rbinom(1000,10000,0.3) hist added dnorm(x,E(x),sqrt(V(x))
a<- rbinom(1000,10000,0.3)
hist(a,breaks = seq(2500,3500,25),freq=FALSE)
curve(dnorm(x,mean= 3000,sd= sqrt(2100)),add=TRUE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment