gfiConfInt: Fiducial confidence interval

Description Usage Arguments Value Examples

View source: R/inference.R

Description

Fiducial confidence interval of a parameter of interest.

Usage

1
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

1
2
3
4
5
6
7
8
9
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)

gfilinreg documentation built on March 17, 2021, 1:06 a.m.