FourierStuff/man/chisquare.test.Rd

32 lines
749 B
Text
Raw Normal View History

2014-02-20 01:35:43 +00:00
\name{chisquare.test}
\alias{chisquare.test}
\title{Pearson's Chi-Squared test based on the characteristic function}
\usage{
2014-03-15 15:41:07 +00:00
chisquare.test(datahist, FUN, ..., alpha = 0.05, method = "integral")
2014-02-20 01:35:43 +00:00
}
\arguments{
2014-03-15 15:41:07 +00:00
\item{datahist}{histogram object of the data}
2014-02-20 01:35:43 +00:00
2014-02-22 18:27:24 +00:00
\item{FUN}{Characteristic function (integral) or
Saddlepoint distribution approximation (saddlepoint)}
2014-02-20 01:35:43 +00:00
2014-02-22 18:27:24 +00:00
\item{...}{FUN arguments}
2014-02-20 01:35:43 +00:00
\item{alpha}{tolerance level}
2014-02-22 18:27:24 +00:00
\item{method}{Method to approximate the distribution
function. "integral" or "saddlepoint"}
2014-02-20 01:35:43 +00:00
}
\value{
A list containing the chi-square statistic, degree of
freedom, hypothesis reject boolean and p.value
}
\description{
Pearson's Chi-Squared test based on the characteristic
function
}
\author{
François Pelletier
}