pvalpic: Diagram for an example of a Neyman-Pearson test for two...

View source: R/pvalpic.R

pvalpicR Documentation

Diagram for an example of a Neyman-Pearson test for two simple alternatives. This example illustrates null and alternative distributions on [0,1]. Null is uniform. Alternative has density flat on [0,.5) and flat on (.5,1], and then given small slope.

Description

Diagram for an example of a Neyman-Pearson test for two simple alternatives. This example illustrates null and alternative distributions on [0,1]. Null is uniform. Alternative has density flat on [0,.5) and flat on (.5,1], and then given small slope.

Usage

pvalpic(gamma, epsilon)

Arguments

gamma

amount added to density for alternative on (.5,1], and subtracted from density on [0,.5).

epsilon

slope added to alternative hypothesis density

Examples

pvalpic(.5,.05)

kolassa-dev/TheorStat documentation built on Dec. 7, 2023, 12:23 a.m.