findB.design
(Package: MChtest) :
Calculates B-value stopping boundary
Internal function called by MCbound. Note same function also calculates stopping boundary for truncated sequential probability ratio test
● Data Source:
CranContrib
● Keywords: internal
● Alias: findB.design
●
0 images
|
find.cb
(Package: MChtest) :
Finds cb=Kstar for B-value stopping rule
Kstar=cb is the number of ways to get to each point in the stopping boundary times times beta(S+1,N-S+1). Called by MCbound.tsprt or MCbound.Bvalue
● Data Source:
CranContrib
● Keywords: internal
● Alias: find.cb
●
0 images
|
mult
(Package: MChtest) :
Calculation to Convert Stored cb values to K values.
Calculates frac{(p^r)* ( (1-p)^(n-r) )}{ β(r,n-r)}. This calculation is used to convert stored cb values to K values in MCdesign objects. For internal use only.
● Data Source:
CranContrib
● Keywords: internal
● Alias: mult
●
0 images
|
tSPRT.to.Bvalue
(Package: MChtest) :
Convert between MCbound parameterizations
Convert from the tSPRT to the Bvalue parametrization or vice versa.
● Data Source:
CranContrib
● Keywords: misc
● Alias: Bvalue.to.tSPRT, tSPRT.to.Bvalue
●
0 images
|
The package performs Monte Carlo hypothesis tests. It allows a couple of different sequential stopping boundaries (a truncated sequential probability ratio test boundary and a boundary proposed by Besag and Clifford, 1991). Gives valid p-values and confidence intervals on p-values.
● Data Source:
CranContrib
● Keywords: htest, package
● Alias: MChtest, MChtest-package
●
0 images
|
MCbound
(Package: MChtest) :
Create Monte Carlo stopping boundary
Creates one of several different types of Monte Carlo stopping boundaries
● Data Source:
CranContrib
● Keywords: htest
● Alias: MCbound
●
0 images
|
MCbound.type
(Package: MChtest) :
Create Monte Carlo Stopping Boundary: functions by type
These functions are called by MCbound , see that help for details.
● Data Source:
CranContrib
● Keywords: internal
● Alias: MCbound.BC, MCbound.Bvalue, MCbound.fixed, MCbound.tsprt, MCbound.type
●
0 images
|
rrisk
(Package: MChtest) :
Calculate resampling risk and expected resampling size
Calculates for a particular stopping boundary the resampling risk of making the wrong accept/reject decision. Can be calculated for different distributions of the p-value. If type="p" then assume point mass at pparms. If type="b" then assume a beta distribution with two shape parameters given by pparms.
● Data Source:
CranContrib
● Keywords: misc
● Alias: rrisk
●
0 images
|
beta.ratio
(Package: MChtest) :
Calculation Ratio of two Beta functions
beta.ratio(a,b,x,y) = beta(a,b)/beta(x,y), where beta(a,b)=(gamma(a)*gamma(b))/gamma(a+b)
● Data Source:
CranContrib
● Keywords: internal
● Alias: beta.ratio
●
0 images
|
find.ab
(Package: MChtest) :
Find beta parameters to approximate distribution of p-values.
Find parameters of a beta distribution to approximate distribution of a p-value derived from a normal test statistic with one-sided significance level=ALPHA and power=1-BETA.
● Data Source:
CranContrib
● Keywords: misc
● Alias: find.ab
●
0 images
|