Bayes normal linear model and basic MCMC


[Up] [Top]

Documentation for package ‘mas3321’ version 1.1

Help Pages

cavendish Data collected by the 18th century physicist Henry Cavendish made 23 experimental determinations of the earth's density (in g per cubic cm)
coagulation Data on the effect of three new diets on the blood coagulation times (in seconds) in a set of animals.
contamination Data on the aerobic colony counts (acc, measured in colony forming units per millilitre) of ten selected keyboards with samples taken from four keys per keyboard on a particular day. The keyboards were selected randomly from those available in the computer laboratory.
crickets Data on the frequency of chirps made by a striped ground cricket, at various ground temperatures.
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 distribution by using quantiles for mu and tau
elicitNGa Elicitation of normal-gamma prior distribution by using quantiles for mu and tau
gibbsNormal Gibbs sampler for a normal random sample with a semi-conjugate prior
gibbsNormal2 Gibbs sampler for a normal random sample with a conjugate prior
gibbsReffects Gibbs sampler for a one-way normal random effects model with a semi-conjugate prior
hdiBeta The highest density interval (HDI) for a Beta(a,b) distribution.
hdiGamma The highest density interval (HDI) for a Gamma(a,b) distribution
hdiInvchi The highest density interval (HDI) for a Inv-Chi(a,b) distribution
hepatitis Data on the logarithm of ornithine carbonyltransferase (a liver enzyme) in a random sample of patients suffering from acute viral hepatitis.
malcolm Data collected by Malcolm on the height and shoe size of a random sample of students
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 normal distribution
mhReffects Metropolis-Hastings algorithm for a one-way normal random effects model
mwgGamma Metropolis within Gibbs algorithm for a gamma random sample
NGacontour The Normal-Gamma distribution
NGaposterior Parameters of the NGa posterior distribution when sampling from a normal population and using a NGa prior distribution
pgt The Generalised t distribution
pinvchi The Inverse Chi distribution
qgt The Generalised t distribution
qinvchi The Inverse Chi distribution
quadform2d Function calculates a quadratic form for 2-d vectors
rgt The Generalised t distribution
rinvchi The Inverse Chi distribution
rnormgamma The Normal-Gamma distribution
rnorminvchi The Normal-InvChi distribution
tcontour The Bivariate t distribution