Functions, Demos and Examples of Bayesian Analysis and Basic MCMC

abrasion | Data from an experiment to investigate how weight loss due to... |

aircraft | Data on the number of 'multi-fatality crashes' in the week... |

babies | Data showing the outcomes from a set of babies, categorised... |

barolo | The prices of 75cl bottles of Barolo wines in July 2010 from... |

births | A dataset containing the time of birth (hh:mm), sex, and... |

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... |

exposure | The chlorobenzene exposure concentrations (15 min TWAs) in... |

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... |

glassfibre | The breaking strengths of 63 glass fibres of length 1.5cm. |

granite | A random sample of granite gravestones was taken from a... |

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... |

IBMprices | Data consisting of 160 consecutive daily IBM common stock... |

insulation | Data on weekly gas consumption (in thousands of cubic feet)... |

leukaemia | Data on 33 leukaemia patients, classified by AG Group (1: AG... |

lungs | Data on 50 patients suffering from a chronic lung disease.... |

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... |

moths | The number of spruce moths found in traps after 48 hours by... |

mwgGamma | Metropolis within Gibbs algorithm for a gamma random sample |

NGaposterior | Parameters of the NGa posterior distribution when sampling... |

oldfaithful | Data on successive waiting times (in minutes) between... |

protein | Data from an experiment to calibrate a near infrared... |

quadform2d | Calculates a quadratic form for 2-d vectors |

rats | Data on the weights of a set of thirty young rats, measured... |

sales | Data on the number of orders received by a small company for... |

shoots | The number of roots produced by 270 micropropagated shoots of... |

sideeffects | Data showing the number of patients who were given different... |

surgery | Data on the number of patients undergoing surgery and the... |

tonsils | A dataset containing the results of a study of the tonsil... |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.