Questions tagged [chi-squared-test]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
29 views

Adding covariates in chi-squared test or proportions test?

I am having trouble figuring out what analysis is appropriate for my research question. I've been googling for the past few days but couldn't find the answer. I would greatly appreciate it if anyone ...
3
votes
2answers
286 views

Calculating statistical significance on survey results [closed]

Consider a single survey question: "What is your favourite color" with 4 possible responses: blue, green, red, yellow If I've collected 100 responses: blue 20 green 40 red 35 yellow 5 How ...
1
vote
1answer
28 views

Statsmodels tests for proportions give different results than other software

An example from Primer of Biostatistics by Glantz: 8 patients out of 61 died while undergoing heart surgery with one anesthetic. With another anesthetic, 10 patients died out of 67. If we use R, chisq....
0
votes
0answers
11 views

Normality of multivariable regression residuals - degree of freedom of chi-squared

I am doing multivariable regression modelling on a sample of n elements with m independent + 1 dependent variable. I used the OLS (Ordinary Least Squares) method to determine the beta vector of ...
0
votes
0answers
13 views

How to measure the strength of association between two variables where majority of pair are assosiated?

I am quite new to the stat so facing a huge problem in result extraction, I have a large dataset running ~19000 (genes) x1500 (patients). I would like to see the dependence between two variables (one ...
2
votes
1answer
54 views

In R, trying to find the confidence interval for the difference in proportions

I am comparing two different groups based on working status. For this instance I am looking at occupation so I have a table that looks like so: ...
1
vote
0answers
12 views

Chi-Square test with relative values?

I am working with a weird data set and it is driving me crazy. Survey respondents (a,b, c,...) were asked to each distribute 15 points among 3 different preferences. Accordingly, every preference can ...
0
votes
0answers
4 views

Calculating sample size for chi square independence test with gpower?

Using gpower I can only see a goodness of fit option, but I want to calculate sample size needed for some effect size and power of a Chi square independence test. Is it correct to say that Chi square ...
0
votes
0answers
23 views

Paired n-way comparison of proportions

my stats are a little rusty and I have a somewhat complex experiment to analyze, so I wanted to seek some advice. My experiment: I collected survey data from 150 participants. 75 of them completed ...
1
vote
0answers
14 views

Tranforming Breusch-Godfrey and Ljung-Box Tests: Canonical Rotation of Portmanteau Tests

Breusch-Godfrey and Ljung-Box appear to be optimizations of Chi-Square. Recently I noticed a library in R that transforms a Chi-Square to a Phi Four Point Coefficient (...
0
votes
0answers
27 views

What test should I use for correlation of categorical and discrete variable in R?

Here is a a portion of my data: ...
0
votes
0answers
22 views

Ranking subjects above/below model regression line

I want to rank subjects in terms of them being above a model regression line. I created a table where each row is a unique ID and there are columns ...
0
votes
0answers
16 views

Best statistical test for aggregated group rate vs individual rate?

I'm looking to test the difference between an aggregated group weight (weighted average) vs an individual group rate? For example: Let's say we have 4 companies: A - 35/60 = 58% B - 120 / 400 = 30% C -...
2
votes
0answers
16 views

global significance of glm model

I am a beginner regarding GLMs and R. I have built the following glm model: ...
1
vote
1answer
22 views

2by3by3 Chi-square test [duplicate]

thanks for reading my question. I planned to do a 2by2by3 Chi-square test , and ask how variable A (condition, 2 levels: Cued and Uncued) and variable B (group, 3 levels: English, Spa-Eng, and Chi-...
0
votes
0answers
24 views

How to take into account several p-values results?

I have a theoretical question about which is the best way to extract a result from a series of p-values obtained by using several times a 2x2 Chi Square test. I have 2 variables to take into account (...
1
vote
0answers
27 views

Degrees of freedom for a $\chi^2$ with non-linear polynomial model

I have a $\chi^2$ below for some model function $F$: $$ \chi^2 = \sum_{i=1}^{i=M} \frac{\left(y_{i}-F\left(x_i;\vec{a}\right)\right)^2}{\left(\Delta y_{i}\right)^2} $$ I know that non-linear model ...
0
votes
0answers
17 views

How can I do chi-squared tests on missing data?

I have a large dataset looking at how race is recorded. I want to see if there is an association between race being recorded in a specific dataset and not being recorded in another. For example, if ...
1
vote
0answers
22 views

What to Choose and Why ? Chi-Square or Mutual Information for Categorical Feature Selection

I am working on an ML problem. The dataset is of shape (15036, 216) containing all categorical variables. The task is to select the top 10 features which are applicable using any two feature selection ...
0
votes
0answers
25 views

Floating Normalization of Experimental Data Sets while Fitting Multiple Models

I have $N$ data sets of unequal cardinality, and I am told we do not treat each data set with a normalization of $1$. Instead we let the the normalization float and fit it as though it were any other ...
0
votes
0answers
21 views

Why there is not an "exact" version of the ANOVA or "Chi-Square Goodness of Fit Test?"

When we use the chi-square test for association, there exists an exact version of it, called Fisher's exact test used when certain cells in a 2x2 table are close to zero so we don't follow a chi-...
0
votes
0answers
19 views

Is One-Way Anova More powerful than a Chi-Square Goodness of Fit Test?

Is One-Way Anova More powerful than a Chi-Square Goodness of Fit Test? I know they compare different types of data, but power is unrelated to type of data compared.
0
votes
1answer
20 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 ...
0
votes
0answers
13 views

Do we check for association between categorical variables before clustering mixed-type data?

I am clustering mixed-type data using hierarchical clustering and the Gower measure. My question is: Do we have to check for association (dependence) between categorical variables (e.g. using chi-...
1
vote
1answer
32 views

between-group multinomial test

I'm having some trouble to decide what is the best method to analyze a between-groups / multinomial problem. For simplicity, I'll use an example: Let's say I want to compare basketball shooting ...
-1
votes
0answers
45 views

Please I need an answer to this question urgently [duplicate]

Four identical six-sided dice, each with faces masked 1 to 6, are rolled 200 times. At each rolling a record is made of the number of dice whose score on the uppermost face is even. The result is as ...
0
votes
0answers
6 views

R and C categories relatedness Fisher exact test

I am trying to compare a symptom expression with identified pathogens in plants. I cant use the chi-square test as I have a sample with a low count. And I am not sure about Fisher exact test if it is ...
3
votes
1answer
71 views

R's chisq.test degrees-of-freedom compared to manual calculation

I'm confused about the degrees-of-freedom discrepancy between R's chisq.test function, and doing the calculation "by hand". Using the code below, the test statistics in the two approaches ...
1
vote
0answers
12 views

Chi-squared test on the observed vs expected frequencies of elements taken pairwise

I have the following problem. I have a total of $N$ observations, and for each of these, I am evaluating absence (0) /presence (1) of a given factor. Let's call these factors $A$, $B$, $C$ and $D$. I ...
2
votes
1answer
33 views

What is the best way to test of draws ( 10,000 unique possibilities) from multiple sample are random?

say I have 6 people drawing from their own box, each box contains 10,000 unique barcodes. Now at the end of the experiment each person has drawn roughly 10-20 barcodes. How do I test if the barcodes ...
2
votes
1answer
47 views

Interpretation of chi-squared on proportion

I have this array: name responsive not responsive x 16 95 y 5 83 I am trying to compare the proportion of X_responsive with ...
0
votes
1answer
44 views

can i use chi square for two ordinal variables

I have two variables in my research survey, Variable 1(less than 6 hours,6-8 hours, more than 8 hours) and variable 2(not at all, several days, more than half the days, nearly everyday). I want to ...
1
vote
3answers
60 views

Interpretting a chi-sq correctly

I apologize for what may seem a very simple question. I can't seem to find an answer to how I can interpret chi-sq results other than rejecting the null hypothesis. Pearson's Chi-squared test with ...
1
vote
1answer
74 views

Significant coefficients but non-significant likelihood ratio test [closed]

Following a comment on this thread, I have a question about interpreting a logistic regression model with significant coefficients, but non significant likelihood ratio test. I have a super simple ...
0
votes
1answer
23 views

What is the effect on a Chi Squared test when one variable is nearly ubiquitous?

I am working with survey data that includes a number of yes/no questions about some behaviours that may or may not be linked to each other. In particular, there is one behaviour (we'll call it ...
-2
votes
1answer
62 views

why isn't the chi squared test just n-1?

The chi squared test for the sample variance is: $\chi^{2} = \frac{(n-1)s^{2}}{\sigma^{2}}$ Say that we do not know $\sigma^{2}$. In these cases it is common to use an estimator $s^{2}$, since $s^{2} \...
0
votes
0answers
16 views

Significant logistic regression but non-significant chi-square

I have a study design with one independent, categorical, variable with 5 conditions, and a binary outcome (0,1). When I run the chi square test, I see no overall effect of condition for the binary ...
0
votes
1answer
18 views

Significance test testing whether one variance is larger than the other

I feel like I am missing a key link and this tasks is quite easy: I am given the following averages and standard deviations: $\bar{x}_1 = 971$, $s_1 = 42$, $n_1 = 1000$ $\bar{x}_2 = 983.9$, $s_2 = 60....
0
votes
0answers
7 views

chi2 test like when one categorical variable is a membership matrix

When one want to test if two categorical variables X and Y are related, it is possible to do a simple chi2 test in a contingency table. Now, imagine that X is a membership matrix of size n*k (n = ...
1
vote
1answer
33 views

Multiple Hypothesis Tests - Chi Square

I want to write a method to test multiple hypothesese for a pair of schools . I want to consider all possible pairs of words (Research Thesis Proposal AI Analytics), and test the hypothesis that ...
0
votes
0answers
28 views

Cramer's V for test of homogeneity

Can Cramer's V be adapted for the chi-squared test of homogeneity? I know that Cramer's V has been adapted for the chi-squared test of goodness-of-fit, where it indicates the degree of deviation of ...
1
vote
1answer
37 views

P-value of alternative hypothesis - Can you simply take the difference of the chi2 goodness-of-fit tests?

I guess this is the kind of question extremely hard to Google if you're lacking just the right word. My situation is: I have some experimental data points, and I have two models: the "simple ...
1
vote
1answer
20 views

Should we remove duplicate records again after Feature reduction

I have binary medical data (6000,200) and I removed all duplicates (even though all records generated are of unique data of different patients- they showed similar pattern and thus duplicate data came ...
0
votes
0answers
9 views

Adjustment for Multiple Chi Squared Test With Random Attrition?

I'm sorry if this is an odd question or is difficult to understand (I can try to make it clearer if that's the case!) but I cannot find the answer anywhere else, so I was hoping someone here could ...
0
votes
0answers
24 views

Trying to determine if the variance in my data is significant. Unsure whether to use chi squared test or difference of proportions

I have 11,497 NBA games sorted into 7 categories, based on whether the away team is in their nth game of a road trip, for values of n between 1 and 6. The 7th category is for values of n > 6. To ...
1
vote
0answers
50 views

What are the metrics to assess the quality of a multiple correspondence analysis (MCA) model?

We are trying to implement a multiple correspondence analysis (MCA) model. I was looking for metrics to assess the quality of an MCA to evaluate our model. Sadly, I didn’t find much literature about ...
0
votes
0answers
16 views

Check relation btw two data frames from KAP survey dataset

So this survey have different questions which I have divided into knowledge attitude and practice. Now I need to check relation btw knowledge and practice. I can perform fisher exact test as the ...
0
votes
1answer
27 views

How do you test for significance different in A/B Testing?

I just started learning about A/B testing and I apologize if my questions may be weird. After reading/watching some content with regards to A/B testing, I cannot fully understand on how to evaluate (...
0
votes
0answers
22 views

Perform Chi-Square independence test with log-transformed percentage data?

I am in the woods now with the appropriate way to analyze my data. Some parameters: The format of the raw outcome variable is percentage (attendance rate). It is left-skewed initially. So I tried log ...
1
vote
0answers
70 views

Best practices for testing a coin-flip algorithm

I am uncertain what the best approach is to analyze a game's coin flip algorithm. A game that I play uses a coin flip algorithm to determine who goes first (on the play) or second (on the draw), but ...

1
2 3 4 5
46