Questions tagged [contingency-tables]
Tables of counts (occasionally proportions of marginal counts), arranged by (at least) two marginal categories, displaying bivariate or multivariate frequencies. Sometimes called crosstabs.
588
questions
2
votes
1
answer
41
views
Why do we usually test independence of row/column variables of a contingency table with a chisquare statistic?
For an $r \times c$ contingency table, the cells containing observed frequencies, the null hypothesis "the row and column variables are independent" is typically tested by using a $\chi^2$ ...
0
votes
0
answers
44
views
Equivalent of one-tailed Fisher's exact test for enrichment of the diagonal in 3x3 contingency table?
I have 2 ordinal variables A and B with 3 levels each (e.g. "down", "no change", and "up"). I want to know whether the up/down changes indicated by A and B are consistent ...
3
votes
1
answer
58
views
Testing dependence of two categorical variables with data separated by test subject
This relates to a real-world experiment I'm working on. Let's say in my experiment, test subjects look at pictures of sunglasses that are either red or blue, and then label them "cool" or &...
1
vote
1
answer
42
views
What hypothesis testing method should I use for comparing binned latency counts
I am trying to select a proper hypothesis testing method for testing if the latency is higher in a group of servers is higher than another group. However, all what I have is just counts for a number ...
0
votes
0
answers
24
views
Lower threshold for Sequential Probability Ratio Test on Contingency Table testing
For testing whether a die is fair, we have the log likelihood ratio:
$$
\Lambda = \frac{1}{2} \sum_{i} \mathrm{observed}_i \log\left(\frac{\mathrm{observed}_i}{\mathrm{expected}_i}\right).
$$
Suppose ...
5
votes
1
answer
75
views
Were two 2x2 tables drawn from the same population?
How might one test the null hypothesis that two 2x2 tables (of frequencies) were drawn from the same population?
More specifically, I have two 2x2 samples of unequal sample size. I would like to test ...
0
votes
0
answers
13
views
Estimate subgroup sizes with a a given OR including CI and total sample sizes
We are doing a meta-analysis using OR as the effect size, but on a limited number of trials. The data is a bit messy and some numbers are missing - at least for our purposes. I was wondering if there ...
2
votes
1
answer
39
views
Am I using the appropriate statistical comparison tests & applying them correctly to my qualitative coded data?
I am trying to determine if I am using the correct statistical tests in making comparisons & finding out if there are any statistically significant shifts of student attitudes. I have three open ...
1
vote
0
answers
45
views
Can Cramér's V or contingency coefficient be used if chi-squared assumptions are not met?
I am testing for the independence of a specific set of variables with respect to a common event. Despite having a fairly decent sample size (n=236), the event I am testing for is relatively rare (2% ...
1
vote
1
answer
44
views
Performing "exact" G-tests in R with contingency table samples using `r2dtable` [closed]
I am interested in performing the "exact" versions of G-tests of independence in R with nonparametric table enumeration after having been told that this could help with achieving more ...
0
votes
0
answers
60
views
Is there alternative to Fisher's Exact Test for 6X2 contingency table with the hypothesis of "less than"?
I have a table of contingency which is 6X2 and in my case, it is not an option to "convert" it in a 2X2 table. Also, I need to be able to use the hypothesis of "less than" and &...
1
vote
2
answers
140
views
Chi square test of independence with year as a categorical variable?
I suppose that this is a very simple question, and I have just now recently started doing stats.
I am working on a dataset with count data relating to discontinuation/continuation of a specific ...
2
votes
0
answers
34
views
Testing for Association in RxC Contingency Tables with 1 Ordinal Variable
I'm currently trying to analyze data similar to the following example:
Suppose I have count data from a survey of US States (~10) relating to
their population's feelings about how their current state ...
3
votes
0
answers
39
views
Statistical significance for difference in mean proportions when comparing groups
I may not have described my problem precisely, but I hope I can illustrate it with the following example.
Suppose that I have $m$ contingency tables:
Col 1
Col 2
Total
Row 1
$a_i$
$b_i$
$a_i+b_i$
...
3
votes
1
answer
82
views
Performing a Fisher test when the odds of the events not occurring are known to be very low when compared to the events occurring
Let's say I have a contingency table like this:
...