Learn R Programming

gfilinreg (version 2.0.1)

gfiConfInt: Fiducial confidence interval

Description

Fiducial confidence interval of a parameter of interest.

Usage

gfiConfInt(parameter, fidsamples, conf = 0.95)

Arguments

parameter

a right-sided formula defining the parameter of interest

fidsamples

fiducial samples, the output of gfilinreg or gfilinregPredictive

conf

confidence level

Value

The fiducial confidence interval of the parameter.

Examples

Run this code
# NOT RUN {
set.seed(666L)
dat <- data.frame(
  group = gl(2, 15), 
  y = c(2*rlogis(15L), 10 + 2*rlogis(15L))
)
gfi <- gfilinreg(
  y ~ 0 + group, distr = "logistic", data = dat, L = 30L, nthreads = 2L
)
gfiConfInt(~ group1 - group2, gfi)
# }

Run the code above in your browser using DataLab