pval: Calculates the p-value

View source: R/dkqs.R

pvalR Documentation

Calculates the p-value

Description

This function computes the p-value of the test based on the bootstrap estimates.

Usage

pval(T.bs, T.n)

Arguments

T.bs

The list of bootstrap estimates of the test statistic.

T.n

The sample test statistics.

Value

Returns the p-value:

p

The p-value.


conroylau/lpinfer documentation built on Oct. 23, 2022, 9:21 a.m.