# Questions tagged [chi-squared-test]

A test (typically of distribution, independence, or goodness of fit), for the family of distributions use [chi-squared-distribution].

2,288 questions
Filter by
Sorted by
Tagged with
21 views

### Definition of Corrected Contingency Coefficient

I quote RACHEV, HÖCHSTÖTTER, FABOZZI, FOCARDI (2010). Starting from the bivariate variable $(x,y)$, with the component variable $x$ taking values in $(v_i, i=1,\dots,r)$ and the component variable $y$ ...
15 views

### Are there small-sample cases where we can approximate the distribution of the Wald statistic better than with the Normal/Chi-squared distribution?

In my specific case, I'm referring to the parameter estimates of a binomial regression (regardless of whether we are estimating risk ratios or odds ratios). Can the problem of divergence of the Wald ...
20 views

### Chi square test on proportions within hierarchical data [closed]

I have a dataframe such as : In that dataframe I have 4 groups (G1,G2,G3 & G4), and within each group I have 3 modalities (...
16 views

### Chisq test for significance of intercept in R

I have a logistic mixed-effects model with both fixed and random effects. Imagine something like: ...
19 views

### Interpretation of 'incorrect' results of chi square test

I use the chisq.test() function for the goodness of fit test. I run the test through a range of variables, and in some cases get the following message: In chisq.test(TBL_all_f) : Chi-squared ...
9 views

### How to decide which variables to keep in logistic regression model based on anova(model, test = "Chisq") and glm output [duplicate]

I’m new to logistic regression and was hoping for some help in picking a "best fit model". Say I have a group of students who are assigned a job after college. Everyone can request their top ...
33 views

### Analysis of count data: Poisson regression, chi square, or Kruskal-Wallis?

I have collected data on how many events occur (as counts) across three groups: control, sham, experimental. I have also collected continuous data such as body mass, wing length, along with age. My ...
23 views

### Spearman rank after Pearson chi-square

I'm considering to use the Pearson chi-square test to see if two categorical variables are significantly associated. If the association is significant I want to apply the Spearman rank test to see if ...
6 views

### Categorical data: 2 x 2 x 2 Chi2 test with moderator, Tarone statistic is significant. How to compensate for violation of underlying assumption?

I am performing Chi-Square tests and, with a moderator variable: a 2 x 2 x 2 with an examination of the Mantel Haenszel Chi-square statistic. The problem:there is an underlying assumption of ...
36 views

### Chi-square testing help

Let's say I have the following groups: Controls : [239.473, 247.451, 259.486, 254.329, 240.195] Experiments : [252.568, 313.24, 292.972, 269.032, 260.48, 246.808] My goal is to see if there is a ...
22 views

### categories for chi-square test of independence - what if categories are determined by TWO variables?

My categories are the combination of two variables. For example if I have two age bands and two sexes, the categories are old women, young women, old men, and young men So on the one hand there are ...
23 views

### Can these data be grouped?

Whithin a certain population, I have selected three samples (in three different periods of time) and determined for each the frequency of individuals that present a specific characteristic. I want to ...
24 views

### chisq.test with p-value=1

I have simulated 10.000 observations for the gender of a population. The simulated count data is called gen.simcount and the marginals I gave as input for the ...
48 views

### Using chi square when expected value is 0

In a class (I'm the teacher), we are crossing Drosophila with different traits to see if they inherit some characteristics on autosomes or sex chromosomes. In order to do that, we do reciprocal ...
12 views

### Converting likelihood ratios hypothesis test from equality to inequality

I have the following LR test for proportions (to anyone familiar to applied statistics in finance, this is known as the Christoffersen's unconditional coverage test). We would like to know if $\pi$ is ...
21 views

### Paired/unpaired samples vs dependent/independent samples

I know that there are a lot of questions about these four terms on this website, but I didn't see rigorous statistical explanations in them, and at least half of them use term "paired samples&...
29 views

### How does Chisq.test() calculate degrees of freedom from two vectors as opposed to a matrix?

I'm confused about the way chisq.test() is handling a very simple table from an exercise where I asked students to "sample" a bag of M&Ms and compare their scope to the pooled samples ...
20 views

### Using chi square test to determine representativeness of sample drawn from known population

I am trying something out of my comfort zone and would appreciate any help provided! I have used census data to identify the frequency of age brackets in my town. I then sampled about a thousand ...
16 views

### Interpretation of Odds Ratio (OR) in Fisher's exact test [duplicate]

I've tried using R operating Fisher's exact test to test for independence of the 2 datasets below and struggling to interpret the Fisher report. Please have a look at the data and the Fisher's test ...
30 views

### What's a good hyptothesis testing method of non-gaussian distributions?

Let's say I have a single set of measurements, $M$ comprised of $N=10^4$ values (or so, I can increase if neccessary). The distribution of values are not gaussian. What I want is to gather $N' < N$ ...
64 views

### Interpretation of Odds Ratio (OR) in Fisher's exact test

I've tried using R operating Fisher's exact test to test for independence of the 2 datasets below and struggling to interpret the Fisher report. Please have a look at the data and the Fisher's test ...
16 views

### Formalization of statistical model and hypotheses for chi-squared goodness of fit test

I want to rigorously formalize the statistical model (i.e. the set of "allowed distributions") for the chi-squared goodness of fit test (when the probabilities of intervals are fixed and don'...
18 views

21 views

### Is the Chi-Square Test for Association more powerful than a Chi-Square Goodness of Fit Test?

Is the Chi-Square test for association (comparing two proportions) or a Fisher's exact test more powerful than a chi-square goodness of fit test (comparing multiple proportions to determine whether at ...