B1Nmean: Bayesian analysis of one sample from a Normal distribution...

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/B1Nmean.R

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

1
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

1
2
3
4
5
## Not run: 
data(Fat)
B1Nmean(Fat$Height)

## End(Not run)

evidence documentation built on May 2, 2019, 2:14 p.m.