Many ANOVAS for count data with Poisson or quasi Poisson models
Many ANOVAS for count data with Poisson or quasi Poisson models.
colpoisson.anovas(y, x, logged = FALSE) colquasipoisson.anovas(y, x, logged = FALSE)
y |
A numerical vector with the data. |
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. Poisson or quassi Poisson ANOVA takes place for each column. |
logged |
A boolean variable; it will return the logarithm of the pvalue if set to TRUE. |
Poisson or quassi Poisson ANOVA takes place at each column.
A matrix with the test statistic and the (logged) p-value for each predictor variable. In the case of the quasi Poisson, the φ is returned as well.
Michail Tsagris and Manos Papadakis
R implementation and documentation: Michail Tsagris <mtsagris@yahoo.gr> and Manos Papadakis <papadakm95@gmail.com>
y <- rpois(200, 10) x <- matrix(rbinom(200 * 10, 3, 0.5 ), ncol = 10)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.