Both are correct and yet they are different.
It depends on how you write your density.
Some write the density as
here
and others write it as
here
thanks!
Um about the mean being the product of the two parameters.. Well when i did maths stats we proved that the mean for gamma was:
But now in this other subject, I'm asked to show that the mean is
So which one is correct, since you said both of the densities should have the mean being the product of the two parameters?
I'll bet you're working with the second of the two pdf's that matheagle posted. In which case, note that the beta in the second is the reciprocal of the beta in the first. So unsurprisingly the mean of the second will be the result you're being asked to prove.
You should find the mean for both as an exercise and to clarify your thoughts.