covpGEN: General Coverage Probability given hypothetical "p" Coverage...

View source: R/224.CoverageProb_GENERAL_GIVEN_p.R

covpGENR Documentation

General Coverage Probability given hypothetical "p" Coverage probability for CI obtained from any method and discrete hypothetical p

Description

General Coverage Probability given hypothetical "p" Coverage probability for CI obtained from any method and discrete hypothetical p

Usage

covpGEN(n, LL, UL, alp, hp, t1, t2)

Arguments

n

- Number of trials

LL

- Lower limit

UL

- Upper limit

alp

- Alpha value (significance level required)

hp

- Hypothetical "p"

t1

- Lower tolerance limit to check the spread of coverage Probability

t2

- Upper tolerance limit to check the spread of coverage Probability

Details

Evaluation of intervals obtained from any method using coverage probability, root mean square statistic, and the proportion of proportion lies within the desired level of coverage for the n + 1 intervals and pre-defined space for the parameter p

Value

A dataframe with

mcp

Mean Coverage Probability

micp

Minimum coverage probability

RMSE_N

Root Mean Square Error from nominal size

RMSE_M

Root Mean Square Error for Mean Coverage Probability

RMSE_MI

Root Mean Square Error for minimum coverage probability

tol

Required tolerance for coverage probability

See Also

Other General methods for coverage probability: PlotcovpGEN()

Examples

## Not run: 
LL=c(0,0.01,0.0734,0.18237,0.3344,0.5492)		#Lower and Upper Limits
UL=c(0.4507,0.6655,0.8176,0.9265,0.9899,1)
hp=seq(0,1,by=0.0001)
n= 5; alp=0.05; t1=0.93; t2=0.97
covpGEN(n,LL,UL,alp,hp,t1,t2)

## End(Not run)

RajeswaranV/proportion documentation built on June 17, 2022, 9:11 a.m.