- Home
- R-Forge
**mas3321**: Bayes normal linear model and basic MCMC**hdiInvchi**: The highest density interval (HDI) for a Inv-Chi(a,b)...

# The highest density interval (HDI) for a Inv-Chi(a,b) distribution

### Description

The highest density interval (HDI) for a Inv-Chi(a,b) distribution

### Usage

1 | ```
hdiInvchi(p = 0.95, a, b)
``` |

### Arguments

`p` |
Confidence level for the HDI |

`a` |
is a positive number |

`b` |
is a positive number |

### Value

Vector containing the limits of the HDI

### Examples

1 | ```
hdiInvchi(0.9, 2, 2)
``` |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.

- cavendish: Data collected by the 18th century physicist Henry Cavendish...
- cavendish: Data collected by the 18th century physicist Henry Cavendish...
- coagulation: Data on the effect of three new diets on the blood...
- coagulation: Data on the effect of three new diets on the blood...
- contamination: Data on the aerobic colony counts (acc, measured in colony...
- contamination: Data on the aerobic colony counts (acc, measured in colony...
- crickets: Data on the frequency of chirps made by a striped ground...
- crickets: Data on the frequency of chirps made by a striped ground...
- dbvnorm: The Bivariate Normal distribution
- dbvnorm: The Bivariate Normal distribution
- dbvt: The Bivariate t distribution
- dbvt: The Bivariate t distribution
- demoCommands: Launches an editor containing the commands in a demo
- demoCommands: Launches an editor containing the commands in a demo
- dgt: The Generalised t distribution
- dgt: The Generalised t distribution
- dinvchi: The Inverse Chi distribution
- dinvchi: The Inverse Chi distribution
- dnormgamma: The Normal-Gamma distribution
- dnormgamma: The Normal-Gamma distribution
- dnorminvchi: The Normal-InvChi distribution
- elicitgzerofn: Function used in the elicitation of normal-gamma prior...
- elicitgzerofn: Function used in the elicitation of normal-gamma prior...
- elicitNGa: Elicitation of normal-gamma prior distribution by using...
- elicitNGa: Elicitation of normal-gamma prior distribution by using...
- gibbsNormal: Gibbs sampler for a normal random sample with a...
- gibbsNormal: Gibbs sampler for a normal random sample with a...
- gibbsNormal2: Gibbs sampler for a normal random sample with a conjugate...
- gibbsNormal2: Gibbs sampler for a normal random sample with a conjugate...
- gibbsReffects: Gibbs sampler for a one-way normal random effects model with...
- gibbsReffects: Gibbs sampler for a one-way normal random effects model with...
- hdiBeta: The highest density interval (HDI) for a Beta(a,b)...
- hdiBeta: The highest density interval (HDI) for a Beta(a,b)...
- hdiGamma: The highest density interval (HDI) for a Gamma(a,b)...
- hdiGamma: The highest density interval (HDI) for a Gamma(a,b)...
- hdiInvchi: The highest density interval (HDI) for a Inv-Chi(a,b)...
- hdiInvchi: The highest density interval (HDI) for a Inv-Chi(a,b)...
- hepatitis: Data on the logarithm of ornithine carbonyltransferase (a...
- hepatitis: Data on the logarithm of ornithine carbonyltransferase (a...
- malcolm: Data collected by Malcolm on the height and shoe size of a...
- malcolm: Data collected by Malcolm on the height and shoe size of a...
- mcmcAnalysis: Summarise and plot tabular MCMC output
- mcmcAnalysis: Summarise and plot tabular MCMC output
- mcmcBoxplot: Box plots from MCMC output
- mcmcBoxplot: Box plots from MCMC output
- mcmcCi: Equi-tailed confidence intervals from MCMC output
- mcmcCi: Equi-tailed confidence intervals from MCMC output
- mcmcProcess: Function to remove burn-in and thin MCMC output
- mcmcProcess: Function to remove burn-in and thin MCMC output
- metropolis: Metropolis algorithm to simulate realisations from a standard...
- metropolis: Metropolis algorithm to simulate realisations from a standard...
- mhReffects: Metropolis-Hastings algorithm for a one-way normal random...
- mhReffects: Metropolis-Hastings algorithm for a one-way normal random...
- mwgGamma: Metropolis within Gibbs algorithm for a gamma random sample
- mwgGamma: Metropolis within Gibbs algorithm for a gamma random sample
- NGaposterior: Parameters of the NGa posterior distribution when sampling...
- NGaposterior: Parameters of the NGa posterior distribution when sampling...
- quadform2d: Function calculates a quadratic form for 2-d vectors
- quadform2d: Function calculates a quadratic form for 2-d vectors