# 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.

585 questions
Filter by
Sorted by
Tagged with
19 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 ...
• 14.8k
63 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 ...
• 3,366
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 ...
35 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
34 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% ...
• 11
1 vote
34 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 ...
• 63
43 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
136 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 ...
30 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 ...
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$ ...
• 131
77 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: ...
• 229
1 vote
47 views

### Logistic regression 2 x 2 table equivalent for continuous covariate

I am giving a talk about logistic regression and I am trying to go back to basics with explaining what odds are in the context of model estimation using logodds and calculation of probabilities which ...
• 703
41 views

### Finding the smallest possible sample size of a 2x7 contingency table, given row-wise proportions and relation between row marginal counts

NB: this is not about power analysis. Consider the following table, which has the following row-wise proportions: cat_1 cat_2 cat_3 cat_4 cat_5 cat_6 cat_7 A 0.3222449 0.302041 0.208163 0.089796 0....
• 4,731
76 views

### Required sample size for exact McNemar test and for phi coefficient (power analysis)

I aim to establish the required sample size for my study. In the main analyses, which are conducted to test my hypotheses, I am investigating two 2x2 tables. Specifically, I plan to perform an exact ...
1 vote
393 views

### Is Fisher's exact the right statistical analysis to be using?

I am conducting a service evaluation study and want to assess the association between referral type (self vs. clinician) and gender (Female v Male v Other). Therefore my contingency table is 2x3. I ...
• 11
11 views

### How to test if occurrence distributions are equal with dependent variables

Description of the experiment Each experiment is a performance done by an artist/athlete, and these are independent. I have $k=4$ judges labelled $J\in \{1,2,3,4\}$ that can classify a performance ...
42 views

### Barnard's unconditional test gives different results when switching rows and columns?

I'm really new to statistical analysis, and I've been playing around with exact tests for 2x2 contingency tables. I've noticed that for the Barnard test (implementation with ...
• 23
95 views

• 368
28 views

### Statistical test for odds ratio when 1. N is large and not meaningful; 2. replicates are present

I'm investigating the co-occurrence of 2 types of events (var1 and var2). The hypothesis is that ...
45 views

### No theoretical frequency should be less than 5 [duplicate]

Why does the theoretical frequency in chi-square distribution should not be less than 5? What's the concept behind pooling the preceding and succeeding frequency to make pooled frequency more than 5?
• 1
60 views

### Calculate correlation of nominal and ordinal variables and hypothesis test in r

I would like to statistically analyze three variables. One variable is "consortium mostly academic" (nominal, dichotomous), the second variable is "evaluation method" (nominal, non-...
56 views

### How to apply Bayes' theorem on a contingency in which the sampled distribution differs drastically from the entire population?

Summary: How can I calculate my probability of being truly positive based on a contingency table that has a completely different distribution than the total population? I was recently confronted with ...
1 vote
440 views

### Chi-square test for two vectors with very similar values

I have two vectors with two levels: vector 1:...
1 vote