Skip to content

Instantly share code, notes, and snippets.

@tengpeng
Created February 21, 2015 21:48
Show Gist options
  • Save tengpeng/30268e415be0ac44eebb to your computer and use it in GitHub Desktop.
Save tengpeng/30268e415be0ac44eebb to your computer and use it in GitHub Desktop.
MLE gamma in R
x <- c(22, 23.9, 20.9, 23.8, 25, 24, 21.7, 23.8, 22.8, 23.1, 23.1, 23.1, 23.5, 23, 23)
fitdistr(x, "gamma")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment