check.structure_post_frailty_CI {TimeDepFrail}R Documentation

Check structure of Posterior Frailty Confidence Interval

Description

The function controls that the structure of the 'Posterior Frailty Confidence Interval' coincides with the theoretical one.

Usage

check.structure_post_frailty_CI(post_frailty_CI, n_intervals, n_centres)

Arguments

post_frailty_CI

Posterior frailty estimates S3 object of class 'PFCI.AdPaik', composed of two elements:

  • left confidence interval for the estimated \hat{Z}_{jk}, \forall j,k

  • right confidence interval for the estimated \hat{Z}_{jk}, \forall j,k

n_intervals

Number of intervals of the time-domain

n_centres

Number of centres/clusters.

Value

An error if any condition is not satisfied.


[Package TimeDepFrail version 0.0.0.9 Index]