Density, distribution function, quantile function and random generation for the generalised t distribution with a degrees of freedom, mean b and scale c

1 2 3 4 5 6 7 |

`x` |
vector of quantities |

`p` |
vector of probabilities |

`n` |
number of observations |

`a` |
degrees of freedom. Must be strictly positive. |

`b` |
mean |

`c` |
scale. Must be strictly positive. |

If X~t_a(b,c) then it has density f(x)=(1_(x-b)^2/(ac))^(-(a+1)/2)/(sqrt(ac)*Beta(a,b)). Also (X-b)/sqrt(c)~t_a.

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.