Learn R Programming

gfilmm (version 2.0.5)

gfiConfInt: Fiducial confidence interval

Description

Fiducial confidence interval of a parameter of interest.

Usage

gfiConfInt(parameter, gfi, conf = 0.95)

Value

The fiducial confidence interval of the parameter.

Arguments

parameter

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

gfi

a gfilmm object (output of gfilmm or gfilmmPredictive)

conf

confidence level

Examples

Run this code
h <- 0.01
gfi <- gfilmm(
  ~ cbind(yield-h, yield+h), ~ 1, ~ block, data = npk, N = 5000, nthreads = 2
)
gfiConfInt(~ sqrt(sigma_block^2 + sigma_error^2)/`(Intercept)`, gfi)

Run the code above in your browser using DataLab