Tables of counts (occasionally proportions of marginal counts), arranged by (at least) two marginal categories, displaying bivariate or multivariate frequencies. Sometimes called crosstabs.

learn more… | top users | synonyms

0
votes
0answers
13 views

Which version of Barnard's exact test to use?

Everything starts simply, we have standard $2 \times 2$ contingency table and we're determined to use Barnard's exact test over Fisher's exact test due to higher power. And here, the question arises: ...
0
votes
0answers
3 views

Sample Size in a multiway contingency table

I am planning a trial involving sterilizing biological material with four treatments (1 Rinse and 15% solution strength, 1 Rinse and 25% solution strength, 2 rinse and 15% solution strength, 2 rinse ...
0
votes
0answers
16 views

Dealing with sampling zeros

I would like to perform a $\chi^2$-test, but due to low sample size in some cases, I have sampling zeros. One example of such a case: ...
0
votes
0answers
21 views

P values and calculating residuals in chi-squared contingency tables

Given an n x m contingency table I calculate a chi-squared value and probability for that table telling me if there are cells that differ significantly from the mean. I go to calculate the adjusted ...
1
vote
1answer
21 views

How to calculate mutual information from frequencies

Can someone explain to me how to calculate mutual information from contingency table? I have a contingency table containing counts from a sample of data And I want to calculate the mutual ...
0
votes
0answers
18 views

Comparison between two conditions

I want to compare the effects of a treatment with placebo. The values are the number of subjects that reach a particular level of pain threshold. Since the values in before and after are dependent ...
0
votes
0answers
12 views

How to calculate Wald Chi-squared test for contingency table

I am trying to understand the documentation from SAS concerning the Wald Chi-squared test for contingency tables via the surveyfreq procedure. Specifically, I am ...
1
vote
0answers
18 views

How do I create a four-way contingency table in R? [closed]

I’m doing interaction analysis and am trying to figure out how to set up the variables so I get the structures I’ll need in R. Not sure where to start, as most contingency table examples are VERY ...
1
vote
1answer
42 views

Residuals colors of the mosaic plot are all dark. Implies?

I am working on interpreting the nature of the association of a contingency table. I tried to provide a mosaic plot of the data that I have and it resulted to Can anyone help me interpret this data ...
1
vote
2answers
95 views

SciPy chisquare applied on continuous data?

chi2 seems to be used to compare distributions between categorical features. Is it possible to use SciPy chisquare function to compare two distributions of continuous data ? For example : ...
1
vote
0answers
13 views

How collapsing columns in contingency tables influences independence of observations

Suppose we've got a table of frequencies of different transcripts in two samples of different tissue. For each transcript I want to perform a between-sample pairwise frequency difference test and ...
-2
votes
2answers
42 views

Is there an r package similar to LEM for analyzing contingency tables? [closed]

Is there an R package for log-linear analysis that is similar to LEM? Here is an example LEM script ...
1
vote
0answers
25 views

Exact test for m x n contingency table conditional (i.e. fixed by design) on one margin

I have a $m \times n$ contingency table (with $m, n > 2)$ . The experiment yields ~15% cells with expected frequencies lower 5 and also zero counts in the empirical data. The prerequisite for the ...
1
vote
0answers
32 views

Fisher's exact test vs kappa analysis

I was reading a paper where the authors assessed the association between two different diagnostics tests intended to diagnose the same disease and they performed the analysis with Fisher's exact test. ...
0
votes
0answers
39 views

How to test the independence of two categorical variables with repeated observations?

I'm wondering how to test whether male and female birds differed significantly on the preference of habitat type on the following contingency table. ...
0
votes
0answers
70 views

Interpretation of global test (p-value) of the interaction term with two categorical variables, each has 3 levels, in Logistic regression

My data: I have a dichotomous outcome: Disease(Y/N); and 2 categorical independent variables, each has 3 levels -- IPV: 0 (ref), 1, 2 -- Race: White (ref), Black, Hispanic My research question: ...
2
votes
0answers
29 views

Calculating degrees of freedom for a contingency table with interactions

Below is a contingency table with residual deviance given by a Poisson regression model with a log-link. I have searched online and I believe that for the mutually exclusive model ...
1
vote
0answers
30 views

Stuart Maxwell on 3x3 contingency table or collapsing of 3x3 to 2x2 for McNemar

I have a 3x3 table of paired data (current,former,never) which is compatible with the Stuart-Maxwell or even the Bhapkar test but all of the studies I've seen working with similar data collapse the ...
2
votes
1answer
96 views

Logistic regression vs chi-square in a 2x2 and Ix2 (single factor - binary response) contingency tables?

I'm trying to understand the use of logistic regression in 2x2 and Ix2 contingency tables. For instance, using this as an example What is the difference between using chi-square test and using ...
1
vote
0answers
23 views

Is chi-squared for homogeneity right here?

The hospital I work for sends out a patient satisfaction survey after discharge (assuming a random independent draw of patients getting the survey), all multiple choice/categorical questions. Some of ...
0
votes
0answers
19 views

Chi square test for independence

While testing using contingency tables the hypothesis used are Ho: the two categorical variables are independent or not related H1: the variables are related. Suppose if Ho is rejected, can anything ...
4
votes
1answer
94 views

How to analyze $ 2\times n$ contingency table?

I have a $2\times n$ contingency table. I want to assess whether the rows are independent from the columns or not. If not, I want to know which columns are not independent and which are. What tests ...
0
votes
0answers
15 views

MLE's of Log-linear parameters

Can the MLE's of the log-linear parameters (the constant, main effects and the interaction effects) be infinite even if cell counts and the margins in a contingency table are all positive ?
2
votes
1answer
104 views

Analyzing multiple dependent pairs of 2x2 contingency tables

In advance, I ask forgiveness for my statistical naïvety. Suppose I have experimental data from pre- and post-treatment, and this data is split according to two binary categories like so: ...
0
votes
0answers
31 views

Poisson distribution vs Three-way table to Compare multiple incidences

I need some help understanding the difference between comparing incidences of rare events with a Poisson distribution and using a three-way contingency table. I'm sure I have some fundamental ...
2
votes
0answers
33 views

Measure dependence of categorical and ordinal variable

My purpose: When trying to find out which variables of a generic questionnaire data set will show striking differences across columns in crosstabs, I first do correlation tests (or dependence tests) ...
3
votes
3answers
499 views

Chi-Square-Test: Why is the chi-squared test a one-tailed test? [duplicate]

In my Masters thesis I conducted an experiment in that subjects should decide between two alternatives. I had a control and a treatment group. The hypothesis was that in the treatment group more ...
4
votes
1answer
141 views

Boschloo or Barnard? Which Test for Cross Table Analysis?

Actually I am analyzing a 2x2 table from a small dataset of 30 patients. We are retrospectively trying to find some variables that give a hint about which treatment to choose. The variables (obs ...
0
votes
0answers
40 views

Can I use the quadratic formula to calculate the cells of a 2 X 2 contingency table?

This is an extra credit problem in a biostatistics course. I am not looking for the answer, just a starting point... If you are given the following: The total sample size: (N = 200) The overall ...
2
votes
0answers
107 views

G-test vs Pearson's chi-squared test

I'm testing independence in an $N \times M$ contingency table, I don't know which of the G-test or Pearson's chi-squared test is the best ? The sample size is in the hundreds but there are some low ...
1
vote
2answers
178 views

Is the Fisher's exact test “parametric” or “non-parametric”?

It is not clear to me whether we can consider the Fisher's exact test as a "parametric" or "non-parametric" one. My gut feeling is that it should be defined as "parametric" as it involves a fully ...
0
votes
1answer
38 views

Association between two distributions where only tails matter

I have two bell shaped (but not normally distributed) data sets, A and B. In these, most of the values in the middle can not be trusted, i.e. they are probably noise. I am interested in knowing how ...
2
votes
2answers
300 views

Fisher's test with large data

I want to compare the proportions in two samples, that can be organized as P NP SAMPLE_A 3,129,548 427,953 SAMPLE_B 2,930,639 407,353 If I ...
2
votes
1answer
71 views

Is there a Bowker-like test to assess the symmetry of squared contingency tables with small expected values and a small number of observations?

I ask this question because Bowker test (McNemar extension for $k\times k$ tables with $k>2$) requires a large number of observations for fitting well and also requires (as a rule of thumb) that ...
1
vote
0answers
33 views

comparing multiple proportions over time

I have a dataset of 22 fish species in a fish market, sampled monthly, from 2007 to 2011. I want to see if there is a statistically significant change in their relative proportions over time. I first ...
1
vote
1answer
13 views

Method in jmp to analyze occurrence of an event based on unique users in a category

I have a student project in which I would like to analyze application usage data specifically between three user groups. I have log data gathered including unique User IDs, actions and the identifier ...
1
vote
0answers
34 views

Test for differences in frequencies of categorical variable with multiple responses

Background Interviews with two groups of therapists were conducted: experienced therapists and inexperienced therapists. Each statement of the interview was classified into 9 different categories. ...
3
votes
1answer
76 views

How to compare contingency tables for a specific pattern?

I have a a series of contingency tables, like: A B |----|----| C | 0 | 10 | D | 17 | 2 | and I need a numerical value to select and order those tables ...
2
votes
1answer
73 views

Can I get an Odds Ratio (or other effect size) from two proportions and a p-value?

I am conducting a meta analysis that is comparing dichotomous outcomes for two groups. So for each study, I have the proportion of the outcome for both groups and the sample size of each group, and I ...
0
votes
0answers
138 views

How to interpret conditional odds ratios from a three-way contingency table?

I am trying to understand how to correctly interpret the estimated conditional odds ratios from a loglinear model on a three-way contingency table. This is an example from Agresti 2013 (p. 346, ...
1
vote
0answers
44 views

What is the null model for a four-way contingency table?

I'm working through this tutorial on the Titanic data in R, a four-way contingency table, and I'm unclear as to what is the NULL ...
4
votes
2answers
155 views

How to interpret a two-dimensional contingency table?

I am trying to understand how to interpret log-linear models for contingency tables, fitted by way of Poisson GLMs. Consider this example from CAR (Fox and Weisberg, 2011, p. 252). ...
0
votes
1answer
30 views

solution for large contingency table

I have performed logistic regression using SPSS on my data with a dichotomous variable as the dependent variable with three independent variables and three covariates (they are mostly categorical) ...
0
votes
0answers
23 views

goodness of fit vs independence test in finite population case

I have a finite population frame. Around 80% of the frame members have e-mail addresses, and a survey was sent via e-mail to those people. Roughly 20% of those to whom e-mails were sent replied to the ...
4
votes
1answer
207 views

How does Google Analytics calculate “Probability of Outperforming Original”?

Here's an example content experiment in Google Analytics. Can anyone explain how to calculate that there's a 98.7% "Probability of Outperforming the Original"?
1
vote
0answers
22 views

Contingency testing in geographic data with the issue of independence?

How can I test contingency between two variables in geographic data with the issue of independence? I have a column of fire frequency and a column of vegetation change but do not think a simple chi ...
3
votes
2answers
601 views

R: how to interpret mosaic and association plots

I'm using the mosaic and assoc functions in the library vcd. My mosaic plot is as follows: ...
0
votes
0answers
11 views

Finding the differences for nominal data when each participant contributes to more than one cell in the frequency table?

Finding the differences for nominal data when each participant contributes to more than one cell in the frequency table. The point is that I don't have paired nominal data as it is in repeated ...
1
vote
0answers
17 views

enumerating patterns in a set of contingency tables

I have a set of 3X3 contingency tables and want to identify the distribution of the patterns by comparing their expected and observed number of samples in each cell using a right statistical test. For ...
6
votes
1answer
63 views

Cramer's $\phi $ for three-way contingency tables

Can Cramer's $\phi $ be determined for three-way contingency tables? I know how to calculate the expected values, chi squared, and how Cramer's $\phi $ works with two-way contingency tables. However, ...