fabtwzCI: FAB t-interval with z-optimal w-function
Description
Computation of a 1-alpha FAB t-interval using the w-function of
the optimal FAB z-interval
Usage
fabtwzCI(y, s2, df, muw, t2w, s2w, alpha = 0.05)
Arguments
y
a numeric vector with at least two non-missing values
s2
a variance estimate
df
degrees of freedom corresponding to s2
muw
prior expectation of the mean
t2w
prior variance of the mean
s2w
assumed population variance
alpha
the type I error rate, so 1-alpha is the coverage rate
Details
Internal function for multifabCIhom. It's similar to fabtCI, the
difference being that fabtwzCI uses the w-function that leads to the
optimal CI if the sampling variance were known.