manta {manta} | R Documentation |
Non-parametric, Asymptotic P-values for Multivariate Linear Models
Description
Fits a multivariate linear model and computes test statistics and asymptotic P-values for predictors in a non-parametric manner.
Usage
manta(
formula,
data,
transform = "none",
type = "II",
contrasts = NULL,
subset = NULL,
fit = FALSE
)
Arguments
formula |
object of class " |
data |
an optional data frame, list or environment (or object coercible
by |
transform |
transformation of the response variables: " |
type |
type of sum of squares: " |
contrasts |
an optional list. See |
subset |
subset of predictors for which summary statistics will be
reported. Note that this is different from the " |
fit |
logical. If |
Details
A Y
matrix is obtained after transforming (optionally) and centering
the original response variables. Then, the multivariate fit obtained by
lm
can be used to compute sums of squares (type-I, type-II or
type-III), pseudo-F statistics and asymptotic P-values for the terms specified
by the formula
in a non-parametric manner. The designations "type-II"
and "type-III" correspond exactly to those used in Anova
.
"type-I" refers to sequential sums of squares.
Value
manta
returns an object of class
"manta", a list containing:
call |
the matched call. |
aov.tab |
ANOVA table with Df, Sum Sq, Mean Sq, F values, partial R-squared and P-values. |
type |
the type of sum of squares ( |
precision |
the precision in P-value computation. |
transform |
the transformation applied to the response variables. |
na.omit |
incomplete cases removed (see |
fit |
if |
Author(s)
Diego Garrido-MartÃn