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 gfilogisreg

Value

The fiducial cumulative distribution function of the parameter.

Examples

1
2
3
4
5
6
7
8
9
y <- c(
  0, 0, 0, 1,
  0, 1, 1, 1
)
group <- gl(2, 4)
fidsamples <- gfilogisreg(y ~ 0 + group, N = 500) # (N=500 is not serious)
fcdf <- gfiCDF(~ exp(group1) / exp(group2), fidsamples)
fcdf(1)
plot(fcdf)

gfilogisreg documentation built on Dec. 21, 2021, 5:06 p.m.