Phi_inv: Inverse function of the Cumulative distribution function...

Description Usage Arguments Details Value See Also Examples

View source: R/Phi__and__Phi_inv.R

Description

The author is confused stats::qnorm() with stats::pnorm() and thus he made this.

Usage

1

Arguments

x

A real. To be passed to the function stats::qnorm()

Details

In Stan file, it is inv_Phi() and not inv_phi.

Since Φ(x) is monotonic, it follows that \frac{d}{dx}Φ^{-1} = (\frac{d}{dx}Φ)^{-1} >0, and thus Φ^{-1}(x) is also monotonic.

Value

A real number: Φ^{-1}(x)

See Also

Phi(), inv_Phi()

Examples

1
2
3
4
5
         x <- runif(100)

 Phi_inv(x) == stats::qnorm(x)

 inv_Phi(x) == stats::qnorm(x)

BayesianFROC documentation built on Jan. 23, 2022, 9:06 a.m.