I am simulating some gamma random numbers
plot(density(rgamma(10000,8.1,rate=0.00510)),lwd=2,las=1,cex.axis=0.75,
main=expression(paste("Gamma Distribution with",' scale ',alpha," and rate
",beta)))
plot(density(rgamma(10000,2.1,rate=0.00110)),lwd=2,las=1,cex.axis=0.75,
main=expression(paste("Gamma Distribution with",' scale ',alpha," and rate
",beta)))
plot(density(rgamma(10000,2.1,rate=110)),lwd=2,las=1,cex.axis=0.75,
main=expression(paste("Gamma Distribution with",' scale ',alpha," and rate
",beta)))
I need to simulate this kind of gamma with some tail, the mean around 1200. I have been selecting random numbers in order to get that values considering the definition of expectation and variance for gamma distribution, but in the first case I get negative numbers, I don't want that. In the second case the same but also in both plots the probability in the y axis is so low, I would like to increase this probability but I don't know how to select the adequate parameters to get that.
On the other hand the parameters given in the third plot gives a density strange, because the probability in the y axis is greater than one I can get values greater than 1. I don't understand this.