Description Usage Arguments Value Author(s) Examples

Computes a Bayesian test of the hypothesis that a normal mean is less than or equal to a specified value

1 | ```
mnormt.onesided(m0,normpar,data)
``` |

`m0` |
value of the normal mean to be tested |

`normpar` |
vector of mean and standard deviation of the normal prior distribution |

`data` |
vector of sample mean, sample size, and known value of the population standard deviation |

`BF` |
Bayes factor in support of the null hypothesis |

`prior.odds` |
prior odds of the null hypothesis |

`post.odds` |
posterior odds of the null hypothesis |

`postH` |
posterior probability of the null hypothesis |

Jim Albert

1 2 3 4 5 6 |

```
$BF
[1] 0.5812546
$prior.odds
[1] 1.008011
$post.odds
[1] 0.5859109
$postH
[1] 0.3694476
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.