priorResearch: Research for Prior

Description Usage Arguments Value Examples

View source: R/priorResearch.R

Description

The autor investigates prior

Usage

1
priorResearch(z, m = 6, sd = 1, e = 0.01)

Arguments

z

a real number, indicating θ_c.

m

a real number, specifying the mean of signal Gaussian

sd

a real number, specifying the standard deviation of signal Gaussian

e

a positive real number, indicating ε.

Value

A real, to investigate prior

μ + σ Φ^{-1}(1- ε + Φ( \frac{θ_{c} - μ }{σ} ) ) - Φ^{-1}( Φ( θ) \exp(ε ))

where, m = μ, sd = σ, z = θ, e = ε.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#========================================================================================
#            From this plot, we can evaluate the minimum value of x such that
#            the value is negative.
#========================================================================================


      x <- runif(100,-1,3 )  # Syntheisze 100 smaples from Uniform(-1,3)
      y <- priorResearch(x)

     plot(x,y)

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