Distribution functions and MLE for gamma random variables

cdfSub | Utility function |

dgammaDifSaddle | Saddlepoint density for difference in means, \bar{x} -... |

g | first derivative of log likelihood |

gammaFit | Maximum likelihood and method of moments estimates for iid... |

h | second derivative of log likelihood |

K | cumulant generating function (CGF) |

Kprime | first derivative of cumulant generating function (CGF) |

Kprime2 | second derivative of cumulant generating function (CGF) |

pgammaDif | True CDF for difference in means \bar{x} - \bar{y} |

pgammaDifSaddle | Saddlepoint distribution for difference in means, \bar{x} -... |

saddleEqn | saddlepoint equation: solve to obtain the saddlepoint \hat{t} |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.