FourierStuff/man/chisquare.test.Rd

32 lines
751 B
Text
Raw Normal View History

2014-02-19 20:35:43 -05:00
\name{chisquare.test}
\alias{chisquare.test}
\title{Pearson's Chi-Squared test based on the characteristic function}
\usage{
2014-02-22 13:27:24 -05:00
chisquare.test(DATA.hist, FUN, ..., alpha = 0.05, method = "integral")
2014-02-19 20:35:43 -05:00
}
\arguments{
\item{DATA.hist}{histogram object of the data}
2014-02-22 13:27:24 -05:00
\item{FUN}{Characteristic function (integral) or
Saddlepoint distribution approximation (saddlepoint)}
2014-02-19 20:35:43 -05:00
2014-02-22 13:27:24 -05:00
\item{...}{FUN arguments}
2014-02-19 20:35:43 -05:00
\item{alpha}{tolerance level}
2014-02-22 13:27:24 -05:00
\item{method}{Method to approximate the distribution
function. "integral" or "saddlepoint"}
2014-02-19 20:35:43 -05: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
}