Learn R Programming

xnet (version 0.1.11)

permtest-class: Class permtest

Description

This class represents the permutation test outcomes. See also the function permtest.

Arguments

Slots

orig_loss

a numeric value with the original loss of the model.

perm_losses

a numeric vector with the losses of the different permutations.

n

the number of permutations

loss_function

the function used to calculate the losses.

exclusion

a character value indicating the exclusion setting used for the test

replaceby0

a locigal value that indicates whether the exclusion was done by replacing with zero. See also loo.

permutation

a character value that indicats in which kernel matrices were permuted.

pval

a p value indicating how likely it is to find a smaller loss than the one of the model based on a normal approximation.

exact

a logical value indicating whether the P value was calculated exactly or approximated by the normal distribution.

See Also

  • the function permtest for the actual test.

  • the function loo for the leave one out procedures

  • the function t.test for the actual test