Learn R Programming

Surrogate (version 3.4.4)

construct_longitudinal_ica_covariance: Construct covariance blocks on an evaluation grid

Description

This low-level function constructs the covariance blocks of the true- and surrogate-endpoint treatment-effect trajectories for one completed set of unidentified covariance parameters. It is primarily intended for validation and advanced analyses.

Usage

construct_longitudinal_ica_covariance(
  object,
  evaluation_times,
  residual_delta,
  random_delta = NULL
)

Value

A list with Sigma_TT, Sigma_SS, and Sigma_TS.

Arguments

object

A fitted longitudinal surrogate model.

evaluation_times

Valid evaluation times.

residual_delta

A 2 by 2 covariance matrix for the residual treatment-effect components, ordered T,S.

random_delta

Optional covariance contribution on the complete evaluation vector, ordered as all T times followed by all S times.