View source: R/unsup_get_pval_group1.R
unsup_get_pval_group1 | R Documentation |
Helper function for method that predicts a new observation on subject 1 using only data from subject 1. Create augmented sample containing subject 1's observations and u. As nonconformity scores, compute the absolute difference between each observation in augmented sample and the augmented mean. The p-value is the proportion of observations in the augmented sample with nonconformity score >= u's nonconformity score.
unsup_get_pval_group1(u, Y_1)
u |
Hypothetical new observation from subject 1 |
Y_1 |
Vector of observations from subject 1 |
p-value of u relative to subject 1's sample
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.