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
10 views

Measure heterogeneity among multiple samples and scale variables

I would like to know what are the available statistical measures for quantifying heterogeneity on data that look like this... ...
2
votes
0answers
14 views

Mutations in known DNA sequence: which test to use?

I am analysing a double knockout (mouse), and trying to see whether restoring one or another of the genes it's missing affects specific positions preferentially in a third gene. The data* looks ...
0
votes
0answers
19 views

Comparing classifier with random classifier. Imbalanced data with small sample.

I would like to compare a classifier I developed against a random classifier. However, I have only 82 testing samples with 12 (15%) positive cases. I am planning to use McNemar's test. The way I ...
0
votes
0answers
10 views

Sample size to determine correlation between multiple binomial variables?

How can I calculate the sample size to test for a correlation (p < alpha) between multiple (k > 2) binomial variables, where the frequency f of each variable is very low? For example, what sample ...
1
vote
0answers
32 views

Barnard's Exact Test (Boschloo's variant) when distribution is hypergeometric

Let's say, we have a standard $2 \times 2$ contingency table and because of low sample size we're about to use some type of Exact Test, e.g. Fisher's Exact Test (FET) or Barnard's Exact Test. It's ...
0
votes
0answers
20 views

Equation for marginal odds ratio

I am working my way through Alan Agresti's "Categorical Data Analysis and I am stuck at a seemingly very simple exercise. This is about a 2x2x2 contingency table. The notation used is as follows: ...
0
votes
1answer
25 views

Statistical analysis of fourier transform of a 2D image (freaking AMAZING)

I'm a statistics grad student, and I just started getting into Digital-Image-Processing (an analogy for processing super-large contingency tables). In the book "Digital Image Processing" by Gonzalez ...
1
vote
0answers
13 views

Conditional probability of contributing to the (1,1) cell of a 2-by-2 table, given the row and column sums

Suppose you have data from a 2-by-2 table \begin{array}{c|cc} {\rm } & {\rm Yes} & {\rm No} \\ \hline {\rm Yes} & N_{11} & N_{10} \\ {\rm No} & N_{01} & N_{00} \\ ...
0
votes
0answers
41 views

Statistical test for paired data in an r x c contingency table

To perform statistical test on paired data when we have two dichotomous nominal variables (i.e., in a 2 x 2 contingency table) we can use the McNemar's test. When ...
0
votes
0answers
9 views

How does *structural* symmetry effect the analysis of square contingency tables?

I am working with a contingency table new to genetics called a "Hi-C Dataset," which in it's simplest (and maybe not most articulate) sense represents counts of co-occurence in 3D SPACE of disparate ...
0
votes
0answers
25 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
22 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
37 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
43 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
20 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
21 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
22 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
59 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
166 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
18 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
58 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
38 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 ...
2
votes
0answers
44 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
42 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
112 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
30 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
43 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
154 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
27 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
24 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
110 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
16 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
127 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
48 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
38 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
685 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
229 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
42 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 ...
3
votes
0answers
189 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 ...
2
votes
2answers
508 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
41 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
303 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
80 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
39 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
14 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
38 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
84 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
86 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
217 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
63 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 ...