# 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,637 questions
Filter by
Sorted by
Tagged with
20 views

### Is it reasonable to use Chi Square data in a bivariate analysis?

I am currently working on a report about the frequency of hand types in Texas Hold'em and whether or not the frequencies change when there are multiple players involved. For example, is there a change ...
1 vote
37 views

### Appropriate test for comparing categories in two groups?

I have a subset of a data as below: I would like to compare two groups (1/0) for 7 categories A, B, C, D, E, F, and G. The participants have each week (36 weeks in total) reported on reasons for using ...
10 views

### specific correlation for catagorical variables [closed]

I just wonder, can I determine the correlation for a data consisting of categorical variables. For example in school A, 300 out of 350 female students pass exam. While in School B, 100 out of 400 ...
34 views

### What is the test performed in this table?

Yesterday I was helping a friend in reviewing a clinical psychometric paper for his Bachelor's thesis. There, there is this table presented: Now, the paper states that (the emphasis is mine): "...
8 views

### How can mahalanobis and chi2-test be used to determine of an observation is acceptable?

Assume that you have a model $$\dot x = Ax + Bu$$ $$y = Cx$$ And this model is SISO. Single input and single output. You got the mission to determine of an observation is acceptable for the kalman ...
23 views

### What statistical method should be use if I have a 1 x n matrix of data

I am doing some data analysis on medical data and need to know what the most appropriate statistical method to use would. the data will be for a particular disease and checking against patients HIV ...
40 views

### Chi-squared test with more than two variables, or should I run a different test?

I am looking at whether certain animals or categories of animals are more likely to use human-made trails than natural trails. We used camera traps and recorded for every case which animal it was, ...
46 views

### Definition of 'independence' of comparisons in Multiple-Comparison - Bonferroni Adjusted Standardized Residuals for Chi-Squared Test

I have provided a hypothetical example to illustrate my question. Assume an alternate hypothesis for a difference between two variables of interest (arbitrary for the example), analyzed with a chi-...
20 views

### Difference of output in Chi-square in SAS and R

Currently I have a dataset with an N of 3866 with two variables, Project (group variable, six levels) and Topbox (two levels; yes, no). We are looking to see if there is a difference in the proportion ...
1 vote
39 views

### Correct statistical test to model user preferences among multiple models

My problem involves comparing the performance of machine learning models to how good each model's recommendation is. The way I'll design the experiment is as follows: I'll send out a form to multiple ...
1 vote
42 views

### One proportion Z-test and Chi Square Goodness of Fit should be identical but return different results

My understanding is that a Chi Square Goodness of Fit test and a one-proportion Z-test should have identical p-values and be equivalent (https://youtu.be/-Vssir6yUNQ?si=4-t9Np9h4bedU9xN&t=423). ...
1 vote
24 views

### Can I fit a Poisson distribution to a continuous variable to apply event detection algorithm?

Preprocessing: I have a time series of number of tweets per 10 minutes time interval that are all taken from a given discussion on a specific topic in a specific region. I preprocessed the data by ...
1 vote
32 views

### Sample size calculation for a three independent arm RCT with a categorical outcome

I have three study arms on interventions A, B, and C, which are independent of each other. The primary outcome is categorical (positive or negative). The null hypothesis is A = B = C. From prior ...
41 views

### How to perform a chi-squared test on tables with multiple dimensions?

I want to test with the chi-squared test if there is a difference between the survival rate for each earthworm species and the flooding condition of my experiment. An example of my dataset, survival1, ...
15 views

### Comparing subgroup to the overall group, using 3 different tests for nominal and ordinal data

I have a dataset, which has different categories, such as Females vs Males, Race, Ethnicity I also have responses - nominal (yes/no) or ordinal (from 1 to 7). I plan to use 3 tests: Ordinal data - ...
231 views

### Confusion on Chi-Squared test results

Basically, I have the data where I am trying to assess whether there is any correlation between the gender of the manager and the gender of people within their team. I decided to do the chi-squared ...
9 views

### Can I move on to the next level (test) of invariance when my fit gets better?

I am running a group invariance test. The data consists of data from students from grades 5 and 6 for one school (School A) and only from grade 5 in another school (School B). I have already run group ...
19 views

### How to compare a percentage of a sample to an observed population percentage, similar to chisquare

I have a sample that is randomly drawn from a population, and want to test if the distribution for a categorical variable age (under 30, 30-64, and 65+) is significantly different from observed ...
28 views

### Performing Chi-Square test (or similar) across a spatial grid

I have a dataframe in R where each row is an sf-formatted geospatial grid. For each grid, I have the number of venomous snakes and the number of non-venomous snakes seen in that area. I also have data ...
22 views

### Test if difference between two groups across 4 categories [duplicate]

I want to make a sensitivity analysis to test whether there is a statistically significant difference between the observations included for the study (n = 100,000) and the excluded observations (n = ...
1 vote
23 views

### How do I understand the calculation of degrees of freedom in the context of a 2 x 3 contingency table?

I am currently reading an article, Analysis of sensory ratings data with cumulative link models. In section 2.4 - example 1, the authors describe an experiment from Bi, 2002*: ... 25 subjects each ...
1 vote
21 views

### Chi-square test of association reporting in APA

Hello I'm really confused as to wether I'm reporting my data correctly. Independent variable : expert or non-expert Dependent variable: agreement with statement (strongly disagree, disagree, neither, ...
1 vote
27 views

### Statistical test to use for study where answers are correct or incorrect

I have data from a study where participants saw an image and were supposed to judge whether it was an AI generated image or not. The Hypothesis I want to test is if they actually are able to ...
42 views

### calculate effect size from regression table

I am working on power analysis for a project. I want to benchmark effect size from another study. How can I find the effect size (Cohen's d) just by looking at the regression table below? For instance,...
12 views

### difference between two proportion in SPSS [duplicate]

The following is a toy example to help me understand how to perform test of difference between two proportions in SPSS. I have two main geographic regions (Region 1 and Region 2) and several ...
19 views

### Curve fitting: Scaling the sigmas so that the reduced chi-squared statistic = 1. Is this a good heuristic?

In the official documentation for the python function scipy.optimize.curve_fit, the following description is given for a boolean-typed parameter absolute_sigma. If False (default), only the relative ...
34 views

### Pearson chi squared test vs deviance test in GLM

From my understanding, both Pearson chi squared test and deviance test can be used to assess the goodness of fit for GLM, but they have different alternative hypotheses. For the Pearson chi-squared ...
19 views

### How I can establish A/B test framework?

I know that my question has big scope but I would like to get your perspective especially from statistical point of view. I want to establish A/B framework specially for our feature tests. We are ...
53 views

### The chi-square test in Python for 3 groups of data (1 variable) [closed]

I analyse chemical data from surface water and groundwater for a scientific paper. My data is split into three main groups: The River, row A consisting of "x" wells, and row B consisting of &...
1 vote
24 views

### Making inferences from summary data: Can one relate chi squared tests to output from a Cox PH models?

This might be a silly question, but I've been asked about interpretation of a paper and have a query on how much one can ascertain without access to the raw data used, illustrated by example here. In ...
1 vote
121 views

### Post Hoc for Significant Chi Square Test

I have applied Chi square test between Gender and Practice of specific norm (4 levels; Daily, Weekly, Monthly, Quarterly) to check the association. ...
42 views

### Can I test for a significant difference within one variable?

I collected microplastics falling on an island in a year. The types of microplastics are fiber (F) and miscellaneous (M) particles. I want to know if the number of each that fell are significantly ...
32 views

### Is Pearson's chi-squared appropriate for models with low deviance explained?

I'm working on fitting a binomial GLM using LASSO in R (package glmnet). My response variable is a proportion which is generated using count data (successes and failures). The main purpose of my model ...
83 views

### Statistical test or distance metric for comparing different distributions?

I want to compare the distributions of two different groups to determine if they are statistically different. Here is an example: ...
46 views

### What kind of relationship is there, if any, between simultaneous confidence intervals for multinomial proportions and chi-squared residuals?

I'm trying to understand if/how the chi-square test relates to simultaneous confidence intervals for multinomial proportions. It doesn't relate to a practical problem to solve, so this is just a ...
22 views

### How to compare U.S. Census demographic data to a population-level dataset? E.g. how to approach a question like are women underrepresented on boards?

I have a population-level dataset of all people who testified on environmental legislation in a single year. I have data on all witness's ages, races, genders, and ethnicities. This dataset is not a ...
30 views

### Chi-square for proportion/percentage of M/F in two different groups

I'm attempting to figure out how to do a chi-square based on gender in two different groups. Overall, my data has two different groups that I'm dealing with, with a column for what drug the person is ...
203 views

### Chi Square test for repeated measures

I have a computer model simulation of a real world machine that generates either blue or red colours as output (as an example). Suppose the expected proportion of blue is 0.2 and expected red is 0.8 ...
22 views