Linked Questions

0
votes
0answers
663 views

Chi-squared test for three-way contingency table (i.e., array) in R [duplicate]

In base R, the function chisq.test() "performs chi-squared contingency table tests and goodness-of-fit tests". However, ...
17
votes
2answers
4k views

Contingency tables: what tests to do and when?

I'd like to see an extension of this discussion of the age-old chi-sq vs. Fisher's exact test debate, broadening the scope a bit. There are many many tests for interactions in a contingency table, ...
12
votes
2answers
5k views

Statistical test for n x m contingency tables

I have a dataset made up of elements from three groups, let's call them G1, G2, and G3. I analysed certain characteristics of these elements and divided them into 3 types of "behaviour" T1, T2, and T3 ...
5
votes
2answers
579 views

Chi-squared test: Investigating fruit flies attraction to different colours

I have a few questions about the Chi-squared test. First of all, this is what I was investigating: H0: Fruit flies show no difference in attraction to light of different colours Protocol: 20 fruit ...
5
votes
1answer
780 views

$\chi^2$ test of homogeneity for three-way contingency table

I have a three-way contingency table in which the marginal totals for two sides are fixed and for the third are random. I'm wondering how to perform a chi-square test for homogeneity for such a three-...
7
votes
2answers
1k views

Are log-linear models exponential models?

What is usually referred to as "log-linear models"? Is a log-linear model an exponential model where the normalization constant is 1 (since its logarithm needs to be a linear function)? Or is there ...
0
votes
2answers
440 views

How to combine p values? [closed]

I have three datasets A, B and C. A and C can construct a contingency table, and I can get a p value (pValue1) with Fisher's exact test. B and C can construct another contingency table, and I can get ...
0
votes
1answer
351 views

Calculation of Pearson's Chi-squared statistic

I am having difficulty in how to calculate the Pearson's $\chi^2$ statistic for a contingency table with entries: (3, 0) and ...
1
vote
1answer
268 views

Effect size for log linear models

My understanding is Cramer's V is a measure of the correlation between two discrete variables can be used as an effect size measure for a chi-squared test for observations in a two-way contingency ...
1
vote
1answer
90 views

Cooccurence of Two Categorical Variables

I am trying to calculate if there is a dependence between two categorical columns, or a significant cooccurence of two categorical variables. Let's say I have columns A and B, and and out of 200K ...
1
vote
1answer
106 views

Single statistics resuming the variance of a two-dimensional discrete matrix

I have a set of data described by two qualitative variables. The data can therefore be analysed as a matrix, showing how many occurrences there are at each intersection of the two variables' levels. ...
1
vote
0answers
114 views

Independent Poisson variables in comparison of confusion matrices

I want to compare two confusion matrices, as I discuss here, and I have realized that examining the accuracy of each model is inadequate for such a comparison. Gung gave a nice answer about how to ...
1
vote
0answers
29 views

Poisson regression comparison of two confusion matrices

I have two groups, say $\text{G}$ and $\text{H}$, and they each perform a classification task. Let's say that I get the following confusion matrices $$\text{G's Performance}\\ \begin{array} &&...
0
votes
0answers
23 views

Difference between null and saturated log-linear models

I have data from an experiment testing the number of 'cases' at each of three measurement points (0, 12, and 24 weeks). I am interested in whether the proportion of cases across these measurement ...