test0: Test statistics and P-values under case 0

Description Usage Arguments Value

View source: R/calcstats.R

Description

Obtain test statistics and P-values for all statistics under case 0, by simulation

Usage

1
test0(x, nsim = 10000, calc = punif, sim = runif, ...)

Arguments

x

vector of data

nsim

number of simulations to obtain P-value (default 10,000)

calc

Cumulative distribution function of null-hypothesis distribution

sim

Function to generate random sample of values from null-hypothesis distribution

...

additional parameters for distribution(s)

Value

vector of all test statistic values, labelled by which statistic each one is


nxskok/edfr documentation built on May 24, 2019, 11:51 a.m.