B1Nmean {evidence} | R Documentation |
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.
B1Nmean(x, plotit = TRUE, hists = FALSE, pdf = FALSE)
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. |
none produced: text and graphical output are produced
Robert van Hulst
van Hulst, R. 2018. Evaluating Scientific Evidence. ms.
## Not run:
data(Fat)
B1Nmean(Fat$Height)
## End(Not run)