empirical_pval: Compute empirical p-values

Description Usage Arguments Value Examples

View source: R/pval.R

Description

Compute empirical p-values

Usage

1
empirical_pval(t_rep, t, alternative = c("two.sided", "less", "greater"))

Arguments

t_rep

Vector of samples from a distribution.

t

Observation (numeric scalar).

alternative

Indicates the alternative hypothesis: must be one of "two.sided", "greater" or "less".

Value

Empirical p-value.

Examples

1

HuraultMisc documentation built on Sept. 6, 2021, 9:09 a.m.