Dear Forum,

I would need to write a function to calculate the cumulative distribution
function (cdf) of the gamma random variable. I am allowed to use the
following precoded functions: rgamma, pgamma, and dgamma. I am a little
overwhelmed by this project,  I am wondering how I should start.  Should I
sum dgamma (or pgamma) from 0 to x, in order to obtain the cdf at x?

Thanks in advance for your input.

	[[alternative HTML version deleted]]

