Description Usage Arguments Value Source Examples
The Bayesian hypothesis testing is based on the posterior distribution π(θ | x), and the decision is to reject or accept the null hypothesis according to which decision provides the smaller losses. The loss of rejecting the null hypothesis is a times the probability of the null is true, where a is the loss due to type I error. The loss of accepting the null hypothesis is b times the probability of the null is false, where b is the loss due to type II error.
1 | normaltest(x, theta, a, b)
|
x |
results from the |
theta |
the parameter for hypothesis testing. |
a |
loss due to type I error. |
b |
loss due to typp II error. |
hypothesis testing result and expected posterior loss
The slides 9 of STATG012 on Moodle
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.