sfabz: Bayes-optimal spending function

Description Usage Arguments Details Author(s)

View source: R/fabregCI.R

Description

Compute Bayes optimal spending function

Usage

1
sfabz(theta, psi, alpha = 0.05)

Arguments

theta

value of theta being tested

psi

a list of parameters for the spending function, including

  1. mu, the prior expectation of E[y]

  2. tau2, the prior variance of E[y]

  3. sigma2 the variance of y

alpha

level of test

Details

This function computes the value of s that minimizes the acceptance probability of a biased level-alpha test for a normal population with known variance, under a specified prior predictive distribution.

Author(s)

Peter Hoff


fabCI documentation built on Jan. 7, 2021, 5:09 p.m.

Related to sfabz in fabCI...