Compute Bayes optimal w-function
wfabt(theta, mu, t2, s20, nu0, n, alpha)
value of theta being tested
prior mean of theta
prior variance of theta
prior parameter for population variance
prior parameter for population variance
sample size
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.