bootstrap_centered_null: Bootstrap the null distribution for a statistic centered at a...

Description Usage

View source: R/boot.R


This function generates a distribution for the null hypothesis that two groups do not differ in some statistic. For example if we were interested in whether two samples had a different mean; this function would produce a bootstrapped sample for one group centered at the actual mean across both groups. This ensures that the bootstrapped distribution corresponds to the actual null hypothesis. Explained better here:


bootstrap_centered_null(mutation_table, statistic, center, ..., reps = 10000)

fennerm/fen.R.util documentation built on May 17, 2018, 7:37 p.m.