Density, distribution function, quantile function and random generation for the inverse chi distribution with parameters a and b

1 2 3 4 5 6 7 |

`x` |
vector of quantities |

`p` |
vector of probabilities |

`n` |
number of observations |

`a` |
first parameter. Must be strictly positive. |

`b` |
second parameter. Must be strictly positive. |

If X~Inv-Chi(a,b) then it has density f(x)=2b^ax^(-2*a-1)e^(-b/x^2)/Gamma(a). Also 1/X^2~Gamma(a,b).

1 2 3 4 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.