wfabt {fabCI} | R Documentation |
Bayes-optimal w-function
Description
Compute Bayes optimal w-function
Usage
wfabt(theta, mu, t2, s20, nu0, n, alpha)
Arguments
theta |
value of theta being tested |
mu |
prior mean of theta |
t2 |
prior variance of theta |
s20 |
prior parameter for population variance |
nu0 |
prior parameter for population variance |
n |
sample size |
alpha |
level of test |
Details
Internal function for fabtCI. This function computes the value of w that minimizes the acceptance probability of a biased level-alpha test under a specified prior predictive distribution.
Author(s)
Peter Hoff
[Package fabCI version 0.2 Index]