1
\name{computeTestPartialSpearman}
2
\alias{computeTestPartialSpearman}
3
\title{Compute the Partial Spearman Test on 2 data sets.}
5
This ROT function, called from a Test C++ object, is given 2 samples,
6
a vector specifying which variables are to be tested, and optionnaly
7
a test level. It then returns the result of a PS test against the
8
null hypothesis that the in/out variables are not correlated, and
12
computeTestPartialSpearman(inData, outData, selection, testLevel = 0.95)
15
\item{inData}{The 'in' sample. (m-by-n matrix)}
16
\item{outData}{The 'out' sample (n vector).}
17
\item{selection}{The list of partial tests (vector containing the
18
indexes of the variables to be tested.}
19
\item{testLevel}{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{pvalues}{The test pvalues. (vector)}
27
\author{Pierre-Matthieu Pair, Softia for EDF.}
30
inData=matrix(runif(40), 4, 10)
31
selection=c(1,2,3,6,9)
32
computeTestPartialSpearman(inData,outData,selection)
34
\keyword{multivariate}