chi.square.independence.test.simple: Chi Square Independence Test

Description Usage Arguments Value

View source: R/chi.square.independence.test.simple.R

Description

Calculates chi square independence test for given contingency table.

Usage

1
2
3
4
5
6
chi.square.independence.test.simple(
  observed.frequencies,
  expected.frequencies = chi.square.2d.expected.frequencies(observed.frequencies),
  alternative = c("greater", "less", "two.sided"),
  conf.level = 0.95
)

Arguments

observed.frequencies

A matrix of values to test.

expected.frequencies

A matrix of values to compare with observed.frequencies.

alternative

The alternative hypothesis to use for the test computation.

conf.level

The confidence level for this test, between 0 and 1.

Value

The results of the statistical test.


burrm/lolcat documentation built on Oct. 13, 2021, 11:35 p.m.