Mod4.cv {PSIndependenceTest}R Documentation

Modular test for independence in four-way contingency table

Description

Calculates the critical value of the modular test for independence in four-way contingency table

Usage

Mod4.cv(nr, nc, nt, nu, n, alfa, B = 10000)

Arguments

nr

a number of rows

nc

a number of columns

nt

a number of tubes

nu

a number of tubes

n

a sample size

alfa

a significance level

B

an integer specifying the number of replicates used in the Monte Carlo test (optional)

Details

The Critical value of the Logarithmic minimum test for independence in r x c x t contingency table,

Value

The function returns the critical value of the modular test.

Author(s)

Piotr Sulewski, piotr.sulewski@apsl.edu.pl, Pomeranian University in Slupsk.

References

Extension of the information contained in Sulewski, P. (2018). Power Analysis Of Independence Testing for the Three-Way Con-tingency Tables of Small Sizes. Journal of Applied Statistics 45(13), 2481-2498

Examples


Mod4.cv(2, 2, 2, 2, 160, 0.05, B = 1e2)
Mod4.cv(2, 2, 2, 2, 160, 0.1, B = 1e3)


[Package PSIndependenceTest version 0.0.1 Index]