B1Nsir {evidence} | R Documentation |
This function performs a standard Bayesian analysis of a single sample of a population assumed to follow a Normal distribution. A Standard Improper Reference prior is assumed.
B1Nsir(x, r = 10000, alpha = 0.05)
x |
a vector of sample values |
r |
the number of samples to be taken from the posterior distribution (defaults to 10000) |
alpha |
1 - level of credibility, so that for alpha = 0.05 (the default) credible intervals will have 95% credibility |
none returned; the function produces a plot of the posterior distribution and prints some statistics.
Robert van Hulst
van Hulst, R. 2018. Evaluating Scientific Evidence. ms.
data(darwin)
B1Nsir(darwin$difference)