The functions perform
t testing for several responses based
on a matrix of hypothesis observations and a matrix of error observations.
unitest(modelData, errorData, dfError = dim(errorData))
a design-with-responses object created by
matrix of hypothesis observations
matrix of error observations
Degrees of freedom for error needs to be specified if
errorObs correspond to
errorObs calculated by
xy_Obj. These matrices are efficient
representations of sums of squares and cross-products (see
xy_Obj for details). This means the univariate
F-statistics can be calculated straightforwardly from these input
matrices. Furthermore, in the single-degree-of-freedom case,
t-statistics with correct sign can be obtained.
unitests is a wrapper function that calls
unitest for each
term in the
xy_Obj for details) and collects
unitest returns a list with components
The test statistics as
unitests returns a list with components
Matrix of test statistics from
The function calculates the
p-values by making a call to
Øyvind Langsrud and Bjørn-Helge Mevik
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.