Skip to main content

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.

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$ ...
BenP's user avatar
  • 1,838
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 ...
Ryan C. Thompson's user avatar
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 &...
Lysanderoth's user avatar
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 ...
zyxue's user avatar
  • 1,178
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 ...
shabbychef's user avatar
  • 14.9k
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 ...
Joel W.'s user avatar
  • 3,377
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 ...
umrpedrod's user avatar
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 ...
Cassandra C's user avatar
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% ...
Daniel's user avatar
  • 11
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 ...
potpie's user avatar
  • 63
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 &...
Marlom's user avatar
  • 1
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 ...
Mukilan S C's user avatar
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 ...
Rubberduckquack's user avatar
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$ ...
libcaffe's user avatar
  • 131
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: ...
Caterina's user avatar
  • 229

15 30 50 per page
1
2 3 4 5
40