Many F-tests with really huge matrices | R Documentation |
Many F-tests with really huge matrices.
list.ftests(x, logged = FALSE)
x |
A list with many big size matrices. Each element of the list contains a matrix. This is the |
logged |
Should the p-values be returned (FALSE) or their logarithm (TRUE)? |
The Welch's F-test (without assuming equal variances) is performed just like in the "ftests" function. The difference is that you have a really huge matrix which you cannot load into R. In the "ftests" function, the argument "ina" denotes the different groups. Here, you "cut" the matrix into smaller ones, each of which denotes a different group and put them in a list.
A matrix with the test statistic and the p-value of each test.
Michail Tsagris
R implementation and documentation: Michail Tsagris <mtsagris@uoc.gr>.
B.L. Welch (1951). On the comparison of several mean values: an alternative approach. Biometrika, 38(3/4), 330-336.
ftests, ttests
x <- matrnorm(300, 500)
ina <- rbinom(300, 2, 0.6) + 1
a <- list()
a[[ 1 ]] <- x[ina == 1, ]
a[[ 2 ]] <- x[ina == 2, ]
a[[ 3 ]] <- x[ina == 3, ]
mod <- list.ftests(a)
z <- NULL
a <- NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.