Many Welch's F-tests
Many Welch's F-tests.
colanovas(y, x, logged = FALSE)
y |
A numerical vector with the dependent variable. |
x |
A matrix with the data, where the rows denote the samples (and the two groups) and the columns are the variables. This must be a matrix with the categorical variables as numbers, starting from 1. Welch's F-test is performed for each variable. |
logged |
A boolean variable; it will return the logarithm of the pvalue if set to TRUE. |
For each categorical variable in the x matrix Welch's F test is performed. This is the opposie of ftests,
where there are many dependent variables and one categorical variable.
A matrix with the test statistic and the p-value for each predictor variable.
Michail Tsagris
R implementation and documentation: Michail Tsagris <mtsagris@yahoo.gr> and Manos Papadakis <papadakm95@gmail.com>.
Draper, N.R. and Smith H. (1988). Applied regression analysis. New York, Wiley, 3rd edition.
McCullagh, Peter, and John A. Nelder. Generalized linear models. CRC press, USA, 2nd edition, 1989.
y <- rnorm(100) x <- matrix( rbinom(100 * 50, 2, 0.5) + 1 , ncol = 50) a <- colanovas(y, x) x <- NULL
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.