gfiCDF: Fiducial cumulative distribution function

View source: R/inference.R

gfiCDFR Documentation

Fiducial cumulative distribution function

Description

Fiducial cumulative distribution function of a parameter of interest.

Usage

gfiCDF(parameter, gfi)

Arguments

parameter

a right-sided formula defining the parameter of interest, like ~ sigma_error/`(Intercept)`

gfi

a gfilmm object (output of gfilmm or gfilmmPredictive)

Value

The fiducial cumulative distribution function of the parameter.

Examples

h <- 0.01
gfi <- gfilmm(
  ~ cbind(yield-h, yield+h), ~ 1, ~ block, data = npk, N = 5000, nthreads = 2
)
F <- gfiCDF(~ sqrt(sigma_block^2 + sigma_error^2)/`(Intercept)`, gfi)
plot(F, xlim = c(0, 0.3), main = "Coefficient of variation", 
     ylab = expression("Pr("<="x)"))
F(0.2)

gfilmm documentation built on July 12, 2022, 1:05 a.m.