I have question regarding the gamma distribution when using

alpha <- 3
beta <- 3
x <- rgamma(n = 100, shape = alpha, scale = 1/beta)


I get shape to 3.9 and rate to 3.4.

Are the rate=beta or is the rate=theta? What is the difference between scale and rate? Note: I did not understood what they said on Wiki


If you consider the notations on wiki, there $\theta$ is the scale parameter. So, $1/\theta$ is the rate. That means its $\beta$.

| cite | improve this answer | |
  • $\begingroup$ How can I then get the Beta estimate out of the rate estimate? $\endgroup$ – david576 Oct 1 at 16:12
  • $\begingroup$ In your output you have rate. That means rate = $\beta$ $\endgroup$ – Zeeba Oct 1 at 16:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.