lr_cc_dist | R Documentation |
Returns the finite‑sample distribution of Christoffersen’s conditional‑coverage
statistic LR_{\mathrm{cc}}
. The returned list also includes the matching
unconditional‑coverage distribution LR_{\mathrm{uc}}
, produced by the same
dynamic‑programming run.
lr_cc_dist(n, alpha = 0.05, prune_threshold = 1e-15)
n |
Integer sample size ( |
alpha |
Exception probability |
prune_threshold |
Probability below which states are pruned by the dynamic‑programming recursion. |
A named list with elements LR_cc
, prob_cc
, LR_uc
,
prob_uc
. The pairs (LR_cc, prob_cc)
and (LR_uc, prob_uc)
have equal lengths; each probability vector is in [0,1]
and sums to 1.
lr_cc_dist(8, 0.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.