Learn R Programming

fwildclusterboot (version 0.9)

get_bootstrap_pvalue: get bootstrapped p-value based on bootstrapped t-stats

Description

get bootstrapped p-value based on bootstrapped t-stats

Usage

get_bootstrap_pvalue(p_val_type, t_stat, t_boot)

Arguments

p_val_type

Character vector of length 1. Type of p-value. Options include "two-tailed", "equal-tailed", ">" and "<".

t_stat

The original t-statistic

t_boot

The bootstrapped t-statistics

Value

A bootstrapped p-value