wfabt {fabCI} | R Documentation |
Compute Bayes optimal w-function
wfabt(theta, mu, t2, s20, nu0, n, alpha)
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 |
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.
Peter Hoff