Skip to content

Instantly share code, notes, and snippets.

@mgaynor1
Created June 5, 2024 01:30
Show Gist options
  • Select an option

  • Save mgaynor1/7acfe13b526f94818469d535f3c30661 to your computer and use it in GitHub Desktop.

Select an option

Save mgaynor1/7acfe13b526f94818469d535f3c30661 to your computer and use it in GitHub Desktop.
library(nQuack)
# Simulate
dodec <- sim.ind.BB(mvec = c(0.083, 0.167, 0.25, 0.33, 0.417, 0.5, 0.583, 0.667, 0.75, 0.83, 0.913),
avec = c(rep(1/11, 11)),
svec=c(rep(0.01, 11)))
# Plot
hist(dodec[,2]/dodec[,1])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment