Learn R Programming

fabCI (version 0.2)

pppaccept: Prior predictive acceptance probability

Description

Compute prior probability of falling into an acceptance region

Usage

pppaccept(w, theta, mu, t2, s20, nu0, n, alpha)

Arguments

w

the weight in [0,1] determining acceptance region endpoints

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 prior probability that the value theta will fall in the acceptance region of a biased level-alpha test, under a specified prior predictive distribution.