TNRatioApprox: Approximation of the ratio of two normal probabilities

View source: R/trunc_dist.R

TNRatioApproxR Documentation

Approximation of the ratio of two normal probabilities

Description

This function returns an approximation of P(Z \in E1)/P(Z \in E2), where Z ~ N(0, 1).

Usage

TNRatioApprox(E1, E2, scale = NULL)

Arguments

E1, E2

"Intervals" objects or matrices where rows represents a union of intervals with positive and finite endpoints.

scale

scaling parameter.

Value

This function returns the value of the approximation.

References

Bryc, Wlodzimierz. "A uniform approximation to the right normal tail integral." Applied mathematics and computation 127.2 (2002): 365-374.


lucylgao/clusterpval documentation built on July 4, 2023, 4:40 p.m.