Analysis of Scientific Evidence Using Bayesian and Likelihood Methods


[Up] [Top]

Documentation for package ‘evidence’ version 0.8.10

Help Pages

evidence-package evidence: Functions and Data for Bayesian and Likelihood Analysis
AOV1 Made-up data for a balanced one-way anova.
AOV2 Made-up data for an unbalanced one-way anova.
Aspirin A contingency table for heart attacks and aspirin use.
B1Nmean Bayesian analysis of one sample from a Normal distribution with imprecise priors.
B1Nsir Bayesian analysis of a Normal sample using a SIR prior.
B1prop Bayesian analysis of the binomial parameter for one sample.
B1propSim simulates Bayesian updating of the binomial parameter pi.
B2Nsir Bayesian analysis of the means of two Normal samples using SIR priors.
B2props Bayesian analysis of the binomial parameters for two samples.
Bft2x2 Bayesian analysis of a 2 x 2 contingency table.
BiasVarTO a simple example of the bias-variance trade-off.
binPriorsPlot function to plot diverse Beta distributions for use as Binomial priors
BirdsCS Simulated clutch size data for birds with different nesting locations.
BnNsir Bayesian analysis of n >= 2 Normal means with standard improper reference priors.
bodytemp Data on body temperature, heart rate, and gender of 130 human subjects.
Bregbf Bayesian regression model comparison with Bayes factors.
Bt.test Bayesian t-test using reference priors.
budworm Mortality data of moth larvae due to increasing doses of insecticide.
Clin Made-up data to illustrate Simpson's paradox.
crickets Made-up data that are not unlike the actual data collected by Nespolo et al.(2003).
CTA Contingency Table Analysis in different ways
darwin Charles Darwin's (1876) data on the fecundity of selfed and crossed corn plants.
evidence evidence: Functions and Data for Bayesian and Likelihood Analysis
Fat Human body fat and several covariates for calculating it.
fev Data on lung capacity of 654 children and adolescents.
Glasses A contingency table of 16 British youths categorized as juvenile delinquents or not, and as wearing glasses or not.
HPDcrd generates the 100 * (1 - alpha)% most probable interval of a distribution of empirical values
HSCrab Morphology of horseshoe crabs.
L1prop Likelihood analysis of the binomial parameter for one sample.
L2prop Likelihood analysis of the binomial parameters for two samples.
lightspeed Simon Newcomb's measurements of the speed of light
looicplot A dot plot is produced for several related models showing for each model its LOOIC-value with its credible interval.
meansplot Plots a simple strip chart of the observations with group means and grand mean.
MedDiagn Computes the posterior probability of having a certain disease from prevalence, sensitivity, and specificity data.
nineplot produces a Normality plot for the argument surrounded by eight other Normality plots for Normal distributions having the same mean and standard deviation as the argument
NPV computes the Negative Predictive Value.
overdispersionCheck A robust comparison of the location and the scale of the input vector.
p2BF Conversion of a frequentist p-value to the lower bound of the Bayes factor against the null hypothesis assuming equal odds of the null and the alternative
p2minpp Conversion of a frequentist p-value to a lower bound of the posterior probability that the null hypothesis is true assuming equal odds of the null and the alternative
PPV calculates the positive predictive value (PPV) of a diagnostic test.
rats Carcinogenesis data on rats exposed to a carcinogen.
sigtestCI Universal Fisherian significance test with confidence interval.
Smoking Mortality due to heart infarct in smokers and non-smokers.
sn2ft2x2 Conversion of 2 props input to 2x2 contingency table
Snoring Data on the incidence of hypertension and three indicator variables.
SRb94 Data of the growth of tissue cultures on five different media.
SSQ A support function that calculates the sum of squares of a data vector.
sumchart Plotting routine for dataframes of looic values.
weightgain weight gain in rats