Learn R Programming

codadiags (version 1.0)

maxinv.bay.cdf: CDF of max(x,1/x) (=cdf(x)-cdf(1)+cdf(1)-cdf(1/x)) where x is 'Bay' distributed

Description

CDF of max(x,1/x) (=cdf(x)-cdf(1)+cdf(1)-cdf(1/x)) where x is 'Bay' distributed

Usage

maxinv.bay.cdf(x)

Arguments

x
value to test

Examples

Run this code
require(codadiags)
plot(null.lim.cdf("ratio_extremum.brownianbridge",forceUseECDF=TRUE),col='blue',xlim=c(0,10))
plot(Vectorize(maxinv.bay.cdf),col='green',add=TRUE,xlim=c(0,10))

Run the code above in your browser using DataLab