powered by
Convert from the tSPRT to the Bvalue parametrization or vice versa.
tSPRT.to.Bvalue(parms) Bvalue.to.tSPRT(parms,p0,TOL=10^-8)
named vector of parameters
To pick a unique parameterization of the type tSPRT, you must specify p0
tolerance for solution of p1.given.p0
p1.given.p0
Parameter vector of other parameterization.
MCbound
# 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