Learn R Programming

BayesianFROC (version 1.0.0)

priorResearch: Research for Prior

Description

The autor investigates prior

Usage

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

Arguments

z

a real number, indicating \(\theta_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 \(\epsilon\).

Value

A real, to investigate prior

$$ \mu + \sigma \Phi^{-1}(1- \epsilon + \Phi( \frac{\theta_{c} - \mu }{\sigma} ) ) - \Phi^{-1}( \Phi( \theta) \exp(\epsilon )) $$

where, m = \(\mu\), sd = \(\sigma\), z = \(\theta\), e = \(\epsilon\).

Examples

Run this code
# NOT RUN {
#========================================================================================
#            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)




# }

Run the code above in your browser using DataLab