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

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

chi.square.independence.test.simpleR Documentation

Chi Square Independence Test

Description

Calculates chi square independence test for given contingency table.

Usage

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 Sept. 15, 2023, 11:35 a.m.