chi.GOF: Chi Probability

Description Usage Arguments Value Author(s) Examples

Description

This function computes the chi squared goodness of fit.

Usage

1
chi.GOF(x,p = 1/length(x))

Arguments

x

categorical variable

p

expected probability

Value

Goodness of fit value

Author(s)

Nina Louise Pedersen
Institute of Mathematics and Computer Science (IMADA)
University of Sourthern Denmark, (SDU)
npede14@student.sdu.dk

Examples

1
chi.GOF(cars$speed)

ninalpedersen/Temp2 documentation built on May 23, 2019, 7:05 p.m.