chisq.theo.multcomp: Pairwise comparisons after a chi-squared test for given probabilities
Description
Performs pairwise comparisons after a global chi-squared test for given probabilities.
Usage
chisq.theo.multcomp(x, p = rep(1/length(x), length(x)), p.method = "fdr")
Value
method
name of the test.
data.name
a character string giving the name(s) of the data.
observed
observed counts.
expected
expected counts.
p.adjust.method
method for p-values correction.
statistic
statistics of each test.
p.value2
corrected p-values.
p.value
data frame of results.
Arguments
x
numeric vector (counts).
p
theoretical proportions.
p.method
method for p-values correction. See help of p.adjust.
Author
Maxime HERVE <maxime.herve@univ-rennes1.fr>
Details
Since a chi-squared test is an approximate test, an exact test is preferable when the number of individuals is small (200 is a reasonable minimum). See multinomial.theo.multcomp in that case.