Learn R Programming

TFORGE (version 0.1.16)

chisq_calib: Chi Squared Calibration for Testing

Description

Similar to boot_calib(), but uses chi-squared calibration instead of bootstrapping.

Usage

chisq_calib(x, stat, df, ...)

Value

A list of

  • pval the p-value from the test

  • t0 the statistic for the observations x

  • df The degrees of freedom of the chi-squared distribution

The returned object has class TFORGE (same as boot_calib()) for easy use of print().

Arguments

x

Symmetric matrix observations. Either a fsm or a kfsm.

stat

Function to compute the statistic.

df

Degrees of freedom of the chi-squared distribution

...

Passed to stat