Many ANOVAS for count data with Poisson or quasi Poisson models | R Documentation |
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 \phi
is returned as well.
Michail Tsagris and Manos Papadakis
R implementation and documentation: Michail Tsagris <mtsagris@uoc.gr> and Manos Papadakis <papadakm95@gmail.com>
poisson.anova boot.ttest2, ttest2, ftest
y <- rpois(200, 10)
x <- matrix(rbinom(200 * 10, 3, 0.5 ), ncol = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.