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

Regression Model for Matched Continency Tables Coefficient Interpretation

Sorry to insist. A number of questions in the same direction (coefficient interpretation) by different contributors, never answered. ...
2
votes
0answers
15 views

Regression Model for Binary Matched or Paired Contingency Table Results

This is a follow-up question on a prior thread about the same setup as follows: We have two "Methods" ("A" and "B") to diagnose a medical condition. We are not trying to determine which one is better ...
0
votes
0answers
9 views

Fisher's exact test for 3x5 contingency table in R with post-hoc? Consistently with using Fisher or Chi-squared?

I'm struggling with some (relatively simple) stats questions for some work I'm doing in R, and can't seem to find answers online... I have a factorial response variable of habitat type of a species ...
1
vote
0answers
10 views

Correlated Proportions shown in a Mosaic Plot. What is the fitted model that generates residuals?

I have a 2-by-2 table of correlated proportions where I am plotting the positivity of two diagnostic methods applied on a sample of 216 individuals: ...
1
vote
0answers
36 views

Dimension reduction for discrete qualitative and aggregated variables

I know about PCA for multiple dimensions of continuous features but here is a problem I have some trouble to find a method for. I don't have a list of individual countries but rather a discrete ...
2
votes
0answers
14 views

Fisher's Exact Test for 2x3 tables

I'm writing my dissertation and I need to cite a source to support using the FET for 2x3 tables. Does anyone knows of a source that can be cited? Thank you!
2
votes
0answers
22 views

Is this a valid use of “positive predictive value”?

So here's your typical table for evaluating the performance of a diagnostic test: Gold standard result ...
1
vote
0answers
12 views

Calculating Odds Ratios for a 3 x 3 Table

How would I go about calculating the Odds Ratios (measures of association) for a 3 x 3 Table
4
votes
2answers
66 views

Is the chi-squared test appropriate with many small counts in a 5x2 table?

I have two sample populations, A, and B, which are independent. ...
0
votes
0answers
43 views

SPSS chi-square output interpretation

Sorry for the dumb question, I need some help with the interpretation of the spss chi-square test outcome. Basically I have two variables: the first one is a binary variable which takes value 1 if a ...
5
votes
2answers
151 views

How to simulate effectiveness of treatment in R?

Let's say I want to write a simulation for the table below to decide if Xylitol treatment and ear infections are independent. How would I go about doing this?
2
votes
1answer
33 views

chi-squared / Fisher's exact test with incomplete data for contingency table

I have a treatment group (n=42) and a control group (N=12). From this this, 13 used in the treatment HTN drugs and 4 people in control group used HTN drugs. How should the contingency table be set ...
1
vote
0answers
33 views

Test of Independence Between Two Nominal Variables With Many Levels Each

I am looking to test whether there is a significant relationship between two nominal variables, one which has 100 levels and the other with 10 levels. I initially considered doing a $\chi^2$ test of ...
2
votes
1answer
108 views

Computing the power of Fisher's exact test in R

Suppose that I have the following 3 x 3 contingency table: ...
2
votes
0answers
27 views

A question about the distribution of the log odds ratios in multivariate contingency tables

I know that in $2 \times 2$ tables, one may compute the standard error of the log odds ratio by the formula $$\sqrt{\frac{1}{N_{11}} +\frac{1}{N_{12}}+\frac{1}{N_{21}} +\frac{1}{N_{22}}}$$ where the ...
1
vote
1answer
72 views

how to compare two percentages to prove for statistical significance

I have problem to compare the two percentages and to get the statistical significance for these two different percentage. I just want to approve whether these two percentages are significant or not ...
9
votes
2answers
364 views

What distribution does Fisher's exact test assume?

In my work I have seen several uses of Fisher's exact test, and I was wondering how well it fits my data. Looking at several sources I understood how to calculate the statistic, but never saw a clear ...
3
votes
1answer
40 views

Denominator term in Chi-Square-Test for association in a contingency table

The general formula for the Chi Square Test for association in a contingency table with $I$ rows and $J$ columns, and cell counts $n_{ij}$ is $$ \chi^2 = \sum_{i=1}^I \sum_{j=1}^J \frac{(n_{ij} - ...
3
votes
0answers
35 views

chi-squared test vs fisher's test vs … => highly unbalanced length frequency data

I would like to statistically verify if two distributions are identical. Basically, the first distribution is a length frequency distribution from a large population ("population"). The second is the ...
2
votes
1answer
78 views

Chisquared on categorical data or a Wilcoxon test on the counts hereof?

This question is related to a question I had in R on SO here The background of my question is fairly simple. I was given two "databases" in the form of data.frames ...
0
votes
1answer
29 views

How to perform a conditional cross-tab in R or Excel? [closed]

I recently was given a project which consists of: pulling together words from ~500 small tweets and doing a matrix, which shows which words occur together in which tweets. I am wondering how I can ...
0
votes
2answers
88 views

Hypothesis testing using R

...
0
votes
1answer
20 views

Log Linear Models: Interpretation when None Fit

This is question 9.6 from Categorical Data Analysis by Alan Agresti (Wiley, 2013). The question asks us to find a Log Linear with the best fit for a 2x2x2 contingency table. The following are the ...
0
votes
0answers
6 views

How to adjust logistic models in case bivariate analyses encounter issues?

The model looks like: Y = X1 + X2 + ... + Xi Y is categorical or, to be exact, ordinal Xs can be categorical (dichotomous, ordinal, nominal) or continuous I first run bivariate analyses between Y ...
2
votes
0answers
33 views

Does N-1 correction for Pearson's Chi-Square apply to r x c tables generally?

Campbell (2007) recommended what he called the "N-1" correction for chi-square tests performed on two-by-two contingency tables. He described the correction as: "the K. Pearson chi-squared test ...
0
votes
0answers
43 views

How to enter data into contingency table directly?

I'd like to create a contingency table. I do it using: matr=matrix(c(62,61,36,19,10,21,58,60,39,22,12,19,91,83,72,23,52,62,43,28,59,57,29,20,12),5,5) but it ...
3
votes
1answer
110 views

Hypothesis testing based on Likert type data

I know this site is full of similar questions, but either their answers do not apply, or I'm missing something. I have data from a questionnaire. Responses are in the form of Likert items, some of ...
0
votes
0answers
51 views

Seeking basic advice re. contingency matrix for time-limited predictions

I am looking for advice on how to construct a contingency matrix ... A subject is measured on day 1 and a score is computed. This is repeated daily generating a series of scores. If on a given day ...
0
votes
0answers
36 views

Two tails or one tail McNemar's test in a binary classification problem. Which one should i choose?

I'm using McNemar's test for compare two designed models in a binary classification problem. As you know we have two kinds of this test. ...
1
vote
1answer
408 views

3x3 contingency table: what to use instead of chi-squared test?

I have questionnaire data from subjects divided into 3 groups, G1, G2 and G3. Subjects had to answer a question, and they had the options A1, A2 or A3 to choose from. The correct answer depended on ...
1
vote
0answers
20 views

test to show statsticial change due to an intervention

I have a group of 222 test results that were reviewed separately by two interpreters X and Y. Based on their assessment, they were to assign management into 4 categories A, B, C and D. Then another ...
2
votes
1answer
144 views

stats for 2x4 contingency table with both very large and small or zero counts

I have 7000 2x4 contingency tables with count data. They represent a particular position in a genome and the number of times each dna nucleotide is observed at that position in 2 different ...
2
votes
0answers
32 views

Visualise significant differences in a contingency table?

I'm working with pandas and scipy, and I would like to find a quick way to visualise unusual values in a contingency table. Say this is my contingency table: ...
0
votes
2answers
70 views

Logistic regression, Chi-square, and study design

I have a study in which I have developed a new predictor (binary) for a disease (also a binary variable). The study has two parts. In the first part, I want to test if my predictor is strongly ...
2
votes
0answers
127 views

2x2 contingency table - maximum likelihood estimate of the odds ratio and exact confidence intervals

I have two questions regarding the following 2x2 contingency table: 1, How can I derive the maximum likelihood estimate of the odds ratio ($OR = (a*d)/(c*b)$) 2, How can I derive exact confidence ...
2
votes
1answer
166 views

Proper analyses for 2x2 contingency tables

So I have multiple questions about the different types of analyses that can be used on a 2x2 contingency table and when different analyses should be used. To open, I'll note that this stems from my ...
1
vote
1answer
110 views

Why use chi-square (or other) statistic over regression modeling for 2x2 contingency tables?

I have a question regarding the use of logistic/log-linear regression vs. contingency test statistics, such as chi-square. Can someone explain to me why it would ever be preferable to use test ...
1
vote
0answers
71 views

How to report log linear models of contigency tables

I am using log linear models (loglm function, library MASS of R) to evaluate if 3 variables ...
1
vote
0answers
94 views

Testing specific categories after Fisher's exact test in 2 x k tables

I have two variables, one with 2 categories and one with 6 categories. To test, whether there is any relation between these variables, I performed Fisher's exact test, which gave a significant result. ...
2
votes
1answer
257 views

Why use G-test and the likes for AB testing at all?

I am learning about AB testing using the G-test. In my example, I have a 2x2 contingency table. ...
2
votes
2answers
156 views

Multiple testing: contingency table or logistic regression approach for survey?

I have a survey asking a person's gender (M/F), geographic region (West, East, Midwest, South) and a few other demographic variables along with two dozen questions in which they can disagree / ...
0
votes
1answer
36 views

Using split function in contingency table [closed]

I am quite beginner in R and I want to do a task that I think is manageable but I am still figuring out how. I have a contingency table like this: ...
2
votes
0answers
203 views

Contingency tables, Chi-Squared analysis and next steps in R

I'm hoping one of the more experienced R programmers/statisticians out there can help me with something, or explain why what I'm trying to do is stupid :-) In the past, I've done analysis of survey ...
0
votes
0answers
58 views

Which contingency method to use with a 3x3 table yet still account for expected or discrete choice?

Im not sure what test to conduct when I have 3x3 matrix of data and still account for availability. So, in a simple chi square you have an observed observation and then you are often able to ...
0
votes
0answers
30 views

Help with calculation of crossing more than expected from observed vs simulated data

I want to know if moose are crossing water more than expected. I followed the methods written in Beyer et al 2013 which I am now completely confused as to how to actually do the analysis. I am ...
1
vote
1answer
34 views

Coerce contingency table to report unrepresented classes [closed]

I have a contingency table computed from the out of sample observations. In some cases not all classes are represented in the out of sample and hence do not appear. I want to coerce the contingency ...
0
votes
0answers
91 views

Model selection of multinomial logistic regression for 2x3 contingency table

I want to analyze a 2x3 contingency table using multinomial logistic regression and I hope to be able to do it in Matlab or in R. I have looked around in old threads, but haven't been able to find a ...
0
votes
1answer
122 views

Alternative to Chi-Square, etc for categorical variables

I am trying again to explain my problem, and I have more concrete results. I have tried every potentially relevant test I can find, and none seem to work quite right. The question is illustrated ...
0
votes
0answers
50 views

Probability of Event from a table

I have the following table: From here I want to answer the following question: P(CHILD CAN RECOG BEG SOUNDS OF WORDS – YES | CHILD RECOGNIZES LETTERS - Most of them). From my understanding of ...
1
vote
1answer
200 views

Meta-analysis of RR and OR calculated from 2x2 tables in R using metafor

Background My question concerns the calculation of risk ratios and odds ratios for meta-analysis using the metafor package. I know it looks long, but please bear ...