mas3321: Bayes normal linear model and basic MCMC

Package contains functions, data and examples of a Bayesian analysis of the normal linear model using conjugate priors and the analysis of simple models using non-conjugate priors

Author
Richard Boys
Date of publication
2016-09-01 15:38:23
Maintainer
Richard Boys <richard.boys@newcastle.ac.uk>
License
GPL
Version
1.1

View on R-Forge

Man pages

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

Files in this package

mas3321/DESCRIPTION
mas3321/NAMESPACE
mas3321/R
mas3321/R/cavendish.R
mas3321/R/coagulation.R
mas3321/R/contamination.R
mas3321/R/crickets.R
mas3321/R/distns.R
mas3321/R/elicitation.R
mas3321/R/fns.R
mas3321/R/gibbs.R
mas3321/R/hdi.R
mas3321/R/hepatitis.R
mas3321/R/malcolm.R
mas3321/R/mcmc.R
mas3321/R/mh.R
mas3321/data
mas3321/data/cavendish.txt.gz
mas3321/data/coagulation.txt.gz
mas3321/data/contamination.txt.gz
mas3321/data/crickets.txt.gz
mas3321/data/hepatitis.txt.gz
mas3321/data/malcolm.txt.gz
mas3321/demo
mas3321/demo/00Index
mas3321/demo/cavendish.R
mas3321/demo/coagulation.R
mas3321/demo/complex.R
mas3321/demo/gibbs.R
mas3321/demo/malcolm.R
mas3321/demo/mh.R
mas3321/demo/review.R
mas3321/demo/sundries.R
mas3321/man
mas3321/man/NGaposterior.Rd
mas3321/man/cavendish.Rd
mas3321/man/coagulation.Rd
mas3321/man/contamination.Rd
mas3321/man/crickets.Rd
mas3321/man/dbvnorm.Rd
mas3321/man/dbvt.Rd
mas3321/man/demoCommands.Rd
mas3321/man/dgt.Rd
mas3321/man/dinvchi.Rd
mas3321/man/dnormgamma.Rd
mas3321/man/dnorminvchi.Rd
mas3321/man/elicitNGa.Rd
mas3321/man/elicitgzerofn.Rd
mas3321/man/gibbsNormal.Rd
mas3321/man/gibbsNormal2.Rd
mas3321/man/gibbsReffects.Rd
mas3321/man/hdiBeta.Rd
mas3321/man/hdiGamma.Rd
mas3321/man/hdiInvchi.Rd
mas3321/man/hepatitis.Rd
mas3321/man/malcolm.Rd
mas3321/man/mcmcAnalysis.Rd
mas3321/man/mcmcBoxplot.Rd
mas3321/man/mcmcCi.Rd
mas3321/man/mcmcProcess.Rd
mas3321/man/metropolis.Rd
mas3321/man/mhReffects.Rd
mas3321/man/mwgGamma.Rd
mas3321/man/quadform2d.Rd