MC_pvalue: Monte-carlo simulation function to compute pvalues

Description Usage Arguments Value

View source: R/crit_val.R

Description

This function approximate by Monte-carlo simulation the distribution of a given test statistic under the H0.

Usage

1
MC_pvalue(stat, n, m, test, B = 10^4, seed = 1982, circle = TRUE)

Arguments

stat

observed test statistics

n

total of frequencies

m

number of spacings

circle

boolean to indicate circular data

Value

A list with the following structure:

dist

a vector containing the approximate distribution of the test statistic

n

total of frequencies

m

number of spacings

test

the considered test


SMAC-Group/circTest documentation built on Oct. 7, 2020, 7:18 p.m.