Ajout de la fonction chisquare.test
This commit is contained in:
parent
7ef76de319
commit
9f17d7a2f7
4 changed files with 65 additions and 17 deletions
|
@ -2,18 +2,13 @@
|
|||
\alias{cftocdf}
|
||||
\title{Get distribution function from characteristic function}
|
||||
\usage{
|
||||
cftocdf(char.fun, n, min, max, param, wmin = 0, wmax = 50,
|
||||
MSwindows = FALSE)
|
||||
cftocdf(grid, char.fun, ..., wmin = 0, wmax = 50, MSwindows = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{grid}{Distribution function evaluation points}
|
||||
|
||||
\item{char.fun}{Vectorized characteristic function}
|
||||
|
||||
\item{n}{Amount of discretization points}
|
||||
|
||||
\item{min}{Lower bound for distribution function}
|
||||
|
||||
\item{max}{Upper bound for distribution function}
|
||||
|
||||
\item{param}{Characteristic function parameters}
|
||||
|
||||
\item{wmin}{Lower bound for transform variate}
|
||||
|
|
27
man/chisquare.test.Rd
Normal file
27
man/chisquare.test.Rd
Normal file
|
@ -0,0 +1,27 @@
|
|||
\name{chisquare.test}
|
||||
\alias{chisquare.test}
|
||||
\title{Pearson's Chi-Squared test based on the characteristic function}
|
||||
\usage{
|
||||
chisquare.test(DATA.hist, char.fun, ..., alpha = 0.05)
|
||||
}
|
||||
\arguments{
|
||||
\item{DATA.hist}{histogram object of the data}
|
||||
|
||||
\item{char.fun}{Characteristic function}
|
||||
|
||||
\item{...}{Characteristic function arguments}
|
||||
|
||||
\item{alpha}{tolerance level}
|
||||
}
|
||||
\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
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue