Questions tagged [chi-squared-test]
A test (typically of distribution, independence, or goodness of fit) for analyzing contingency tables of counts.
2,700 questions
1 vote
0 answers
23 views
Post hoc analysis in complex survey data analysis chi square test
I am running chi square tests on complex survey data of annual household income and education levels, and I want to determine which cells are contributing to the significant results. I am familiar ...
2 votes
1 answer
55 views
Test of independence between two ordinal variables with repeated measures
I have two ordinal variables: $Y$ and $X$. Variable $Y$ has 4 levels, variable $X$ has 3 levels. These variables are measured multiple times on the same subjects. Data looks like this: subject Y X ...
2 votes
3 answers
275 views
Non-significant result for Chi Square test followed by a significant post-hoc test
I have some data - I have 3 groups of participants (33 people in group 1, 26 in group 2, and 22 in group 3), and I want to compare the proportion of married vs. non-married people in each of the ...
0 votes
0 answers
82 views
Which test is better for evaluating goodness-of-fit for a dataset of millions of discrete values following Zipf distribution? KS test or Chi-square?
I have a dataset of 40 million discrete values, whose histogram follows a Zipf distribution with the following statistical parameters: Minimum = 1, Maximum = 1738, Mean = 2.16, STD = 16.50, P95 = 4, ...
1 vote
0 answers
32 views
the method um of non-central chi-square using Laguerre expansion [closed]
I'm a student from China,and recently I read this paper(https://link.springer.com/article/10.1007/BF02595410).In this paper,β is scaling factor. But can β be arbitrary, as long as β>0 or dependent ...
1 vote
0 answers
77 views
Interpreting odds ratio from contingency table
I want to check my interpretation of the odds ratio, given the structure of my contingency table. In R, I have a 2x2 contingency table showing parasite status (Negative or Positive) for birds from a ...
2 votes
2 answers
103 views
Which totals should I use in a Chi-square analysis?
I'm creating a presentation for some secondary math teachers. I want them to see how AI's ability to write code opens up a lot more data and analysis opportunities for them. For my example, I'm using ...
4 votes
1 answer
130 views
About Bonferroni correction for adjusted Pearson residuals
I am reading about how to interpret the results of a chi-square test based on adjusted Pearson residuals. I am reading is https://cscu.cornell.edu/wp-content/uploads/conttableresid.pdf I understand ...
0 votes
0 answers
70 views
Confusion about stange results of difference checking test (Classical Chi-square test and Bayesian Chi-square test)
I am a newbie at conducting difference checking test (Chi square test). When I make contegency table for doing Chi square test (classical and Bayesian tests), I get some phenomena that they would be ...
3 votes
2 answers
200 views
About alternative test for McNemar test with $3\times3$ contingency table
I would like to test whether there are differences between the original one and the intervention one for the same sample group. However, there are three answers to my variable. The contingency table ...
0 votes
0 answers
67 views
Chi-squared test of independence for a contingency table
With the chi-squared test of independence, how can we use the test statistic if $O_{ij}$ are dependent random variables? It also seems like with a contingency table, they are always going to be ...
-1 votes
1 answer
111 views
Validate my AI driven results of chisquare with the humanized ones [closed]
These are the results i got from an AI agent and i have also attached my data file below .My goal is to validate these results , where i want to see either these results are correct or not , now the ...
0 votes
0 answers
64 views
Which technique should I use to test the independence categorical variables over repeated samples
I have individual level data with a performance measure (good/bad) and characteristic variables for the individual (e.g. gender). I usually analyse this using a chi-squared test to see if the ...
2 votes
2 answers
150 views
Why would scipy.stats.chisquare give a NaN [closed]
I am a newcomer to ChiSq goodness of fit tests. I have some codon counts, two 64 length vectors. One is from a population of genes in Ecoli, the other is a single gene from Bsubtilis. I want to use ...
2 votes
1 answer
101 views
Statistical test on counts: chisq? [closed]
I have the following table with counts: ...