Residual Randomization Inference for Regression Models


[Up] [Top]

Documentation for package ‘RRI’ version 1.1

Help Pages

check_model Checks whether the input 'model' is valid.
example_clustering An example 'clustering' object. A clustering is a 'List' that splits indexes 1..#num_datapoints to clusters. Each 'List' element corresponds to one cluster. The clustering is not necessarily a partition but it usually is.
example_model Example regression model and H0.
fastLm Fast least squares
get_clustered_eps Calculate residuals restricted under H0
OLS_c Fast least squares
one_sided_test One-sided testing
out_pval Calculates p-value or test decision
restricted_OLS_c Fast least squares with linear constraint
rrinf Generic residual randomization confidence intervals
rrinfBase Generic residual randomization inference This function provides the basis for all other rrinf* functions.
rrinf_clust Residual randomization inference based on cluster invariances
rrtest Generic residual randomization test
rrtest_clust Residual randomization test under cluster invariances
r_test_c Residual randomization test
two_sided_test Two-sided testing