MChtest (version 1.0-3)

tSPRT.to.Bvalue: Convert between MCbound parameterizations

Description

Convert from the tSPRT to the Bvalue parametrization or vice versa.

Usage

tSPRT.to.Bvalue(parms)
Bvalue.to.tSPRT(parms,p0,TOL=10^-8)

Arguments

parms

named vector of parameters

p0

To pick a unique parameterization of the type tSPRT, you must specify p0

TOL

tolerance for solution of p1.given.p0

Value

Parameter vector of other parameterization.

See Also

MCbound

Examples

Run this code
# NOT RUN {
temp<-tSPRT.to.Bvalue(c(p0=.04,p1=p1.given.p0(.04),alpha0=.001,beta0=.001,Nmax=9999))
temp
Bvalue.to.tSPRT(temp,p0=.04)
# }

Run the code above in your browser using DataLab