hierinf: hierinf: Hierarchical Inference

Description Functions

Description

The hierinf package provides the functions to perform hierarchical inference. The main workflow consists of two function calls.

Functions

The building of the hierarchical tree can be achieved by either of the functions cluster_var or cluster_position. The function test_hierarchy performs the hierarchical testing by going top down through the hierarchical tree and obviously requires the hierarchical tree as an input.

It is possible to calculate the R squared value of a given cluster using compute_r2.

The hierarchical testing consists of two steps which can be evaluated separately if desired. Instead of calling test_hierarchy, the multi-sample splitting step is performed by multisplit and its output is used by the function test_only_hierarchy to test for significant clusters by going top down through the hierarchical tree.


crbasel/hierinf documentation built on April 4, 2020, 1:35 p.m.