gfiQuantile: Fiducial quantiles

Description Usage Arguments Value Examples

View source: R/inference.R

Description

Quantiles of the fiducial distribution of a parameter of interest.

Usage

1
gfiQuantile(parameter, fidsamples, probs)

Arguments

parameter

a right-sided formula defining the parameter of interest

fidsamples

fiducial samples, the output of gfilogisreg

probs

numeric vector of probabilities

Value

Numeric vector of quantiles, of the same length as probs.

Examples

1
2
3
4
5
6
7
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)
gfiQuantile(~ group2 - group1, fidsamples, c(25, 50, 75)/100)

gfilogisreg documentation built on March 16, 2021, 5:09 p.m.