B1Nmean {evidence}R Documentation

Bayesian analysis of one sample from a Normal distribution with imprecise priors.

Description

This function performs a standard Bayesian analysis of a single sample of a population presumably following a Normal distribution. Imprecise priors for the mean and the standard deviation are used.

Usage

B1Nmean(x, plotit = TRUE, hists = FALSE, pdf = FALSE)

Arguments

x

a vector of sample values

plotit

should the function produce plots? Defaults to TRUE.

hists

should histograms of the posterior distribution for the data with twenty posterior predictive histograms also be plotted? Defaults to FALSE.

pdf

should the histograms be saved as a pdf-file? Defaults to FALSE.

Value

none produced: text and graphical output are produced

Author(s)

Robert van Hulst

References

van Hulst, R. 2018. Evaluating Scientific Evidence. ms.

See Also

B1Nsir

Examples

## Not run: 
data(Fat)
B1Nmean(Fat$Height)

## End(Not run)

[Package evidence version 0.8.10 Index]