calc_pvalue: Calculate p-values

View source: R/distr-pvalues.R

calc_pvalueR Documentation

Calculate p-values

Description

Calculate p-values from distr object

Usage

calc_pvalue(x, distr = NULL)

Arguments

x

A radf_obj object.

distr

A radf_distr object.

Examples



## Not run: 
radf_psy1 <- radf(sim_psy1(100))

calc_pvalue(radf_psy1)

# Using the Wild-Bootstrapped
wb_psy1 <- radf_wb_distr(sim_psy1(100))

calc_pvalue(radf_psy1, wb_psy1)

sb_psy1 <- radf_sb_distr(sim_data)

calc_pvalue(radf(sim_data), sb_psy1)


## End(Not run)

exuber documentation built on March 31, 2023, 9:51 p.m.