Description Usage Arguments Value Examples
Fiducial confidence interval of a parameter of interest.
1 | gfiConfInt(parameter, fidsamples, conf = 0.95)
|
parameter |
a right-sided formula defining the parameter of interest |
fidsamples |
fiducial samples, the output of |
conf |
confidence level |
The fiducial confidence interval of the parameter.
1 2 3 4 5 6 7 8 | y <- c(
0, 0, 0, 1,
0, 1, 1, 1
)
group <- gl(2, 4)
fidsamples <- gfilogisreg(y ~ 0 + group, N = 500) # (N=500 is not serious)
expit <- function(x) exp(x) / (1+exp(x))
gfiConfInt(~ expit(group1) - expit(group2), fidsamples)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.