Description Usage Arguments Value Examples
View source: R/priorResearch.R
The autor investigates prior
1 | priorResearch(z, m = 6, sd = 1, e = 0.01)
|
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 ε. |
A real, to investigate prior
μ + σ Φ^{-1}(1- ε + Φ( \frac{θ_{c} - μ }{σ} ) ) - Φ^{-1}( Φ( θ) \exp(ε ))
where,
m =
μ,
sd =
σ,
z =
θ,
e =
ε.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.