Learn R Programming

gss (version 3.0-0)

retroCI: Calculating Retrospective Confidence Intervals using Clones of ssanova and gssanova Objects

Description

Evaluate clones of ssanova or gssanova objects at arbitrary points, then obtain quantiles of the clone evaluations for retrospective confidence intervals.

Usage

retroCI(object, newdata, limits=c(0.025,0.975),
 include=c(object$fit$terms$labels,object$fit$lab.p))

Value

A matrix of length(limits) columns of clone evaluation quantiles on the newdata points.

Arguments

object

Object of class "clone".

newdata

Data frame or model frame in which to predict.

limits

To be passed to quantile for quantiles of clone evaluations.

include

List of model terms to be included in the prediction. The offset term, if present, is to be specified by "offset".

References

Gu, C. (2026), Retrospective statistical inference. Manuscript.