View source: R/unsup_pool_cdfs.R
unsup_pool_cdfs | R Documentation |
Construct CDF pooling prediction interval for a new subject. At any value t and for each subject j, the empirical CDF is given by F.hat_j(t) = (1/n_j) sum_i=1^n_j I(Y_ji <= t). We let q.hat(alpha) = inf{t : (1/k) sum_j=1^k F.hat_j(t) >= alpha}. The CDF pooling prediction interval is [q.hat(alpha/2), q.hat(1-alpha/2)].
unsup_pool_cdfs(Y, alpha, new_Y = NULL)
Y |
List containing data of all subjects. Each item in the list is a vector with one subject's observations. |
alpha |
Significance level |
new_Y |
Observation on new subject |
List containing prediction interval size, prediction interval lower bound, prediction interval upper bound, and whether new observation is contained inside prediction interval.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.