| d_wc | R Documentation |
Let X \sim N(\mu, \sigma^2). Consider intervals of the form
X \pm \eta |X| or X / 2 \pm \eta |X|. These intervals
define a confidence distribution of \mu. This is the
density of the confidence distribution of (\mu - X)/|X|
or (\mu - X/2)/|X|. Please note that \mu is random
here not X. Also note that this confidence distribution does
not exist between the 25th and 75th percentiles.
d_wc(x, center = c("X", "ave"))
x |
The value at which to calculate the density.
Only defined for |
center |
What is the center of the interval? Either |
n=1 confidence density.
David Gerard
p_wc()
xseq <- seq(-10, 10, length.out = 500)
dseq <- d_wc(xseq)
plot(xseq, dseq, type = "l")
dseq <- d_wc(xseq, center = "ave")
plot(xseq, dseq, type = "l")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.