chi.gof: Goodness of fit

Description Usage Arguments Value Author(s) Examples

View source: R/chi.gof.R

Description

Calculate the chi-squared goodness of fit.

Usage

1
chi.gof(x,p)

Arguments

x

is vector of observed variabel

p

the different expected probabilities

Value

Return the Goodness of fit

Author(s)

Steffan Leth Jensen
Department of mathematics and computer science (IMADA)
University of southern Denmark, SDU, Odense
steje14@student.sdu.dk

Examples

1
chi.gof(c(2,5),c(0.3,0.7))

mrleth94/ST522ExamSteje14 documentation built on May 23, 2019, 7:37 a.m.