1
\name{computeTestKolmogorovStudent}
2
\alias{computeTestKolmogorovStudent}
3
\title{Compute the Kolmogorov-Smirnoff test on a Student Distribution sample.}
5
This ROT function, called from a Test C++ object, is given a sample,
6
a point, the necessary distribution parameters and optionnaly a test level. It then
7
returns the result of a K-S test against the null hypothesis that the sample
8
has un underlying Student distribution of the given parameters and returns
9
a list containing the result and test p-value.
12
computeTestKolmogorovStudent(numericalSample, nu, mu, testLevel = 0.95, estimatedParameters)
15
\item{numericalSample}{the sample to be tested (numeric vector)}
16
\item{nu}{The Student distribution nu.}
17
\item{mu}{The Student distribution mu.}
18
\item{testLevel}{the test level. (scalar in [0:1])}
19
\item{estimatedParameters}{the test level. (scalar in [0:1])}
22
A list is returned, containing :
23
\item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
24
\item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
25
\item{pValue}{The test p-value. (scalar)}
27
\author{Pierre-Matthieu Pair, Softia for EDF.}
28
\examples{# Standard Student distribution example.
30
print(computeTestKolmogorovStudent(rt(1000, 10), 10, 0))
31
print(computeTestKolmogorovStudent(rt(1000, 2), 10, 0))
33
\keyword{distribution}