gfiCDF: Fiducial cumulative distribution function

Description Usage Arguments Value Examples

View source: R/inference.R

Description

Fiducial cumulative distribution function of a parameter of interest.

Usage

1
gfiCDF(parameter, fidsamples)

Arguments

parameter

a right-sided formula defining the parameter of interest

fidsamples

fiducial samples, the output of gfilinreg or gfilinregPredictive

Value

The fiducial cumulative distribution function of the parameter.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
set.seed(666L)
dat <- data.frame(
  group = gl(2, 5), 
  y = c(2*rlogis(5L), 10 + 2*rlogis(5L))
)
gfi <- gfilinreg(
  y ~ 0 + group, distr = "logistic", data = dat, L = 25L, nthreads = 2L
)
fcdf <- gfiCDF(~ group1 - group2, gfi)
fcdf(0)
plot(fcdf)

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