Skip to main content

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,655 questions
Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

How to hypothesis test week-over-week metric for "significance", contrasting between test and control groups?

I have conducted an experiment to test a hypothesis that changing the layout of my website would increase overall user engagement with the website. I therefore assigned 50% of the website visitors to ...
• 207
1 vote
1 answer
33 views

Pearson chi square and correlation

My data are ordinal Pearson chi squared test value is 4.664 And asymp sig is 0.97 so the data are independent However pearson's R =-0.309 And the approx sig=0.037 Can they be independent and ...
2 votes
2 answers
52 views

Why is my pvalue for chisquared test so high?

I am sampling from values = [0, 1] with prob = [.25, .75]. I obtain 25019 zeros and 74981 ones. Yet, by chisquared test results in the following: statistic=0.0196, pvalue=0.889 This doesn't seem to ...
• 372
4 votes
3 answers
139 views

I have count data, but it does not follow a Poisson distribution, what to do?

My data consists of 3 variables, one is a numerical variable of the number of flower visits that I have counted on certain locations and on certain shrub species. My other 2 variables are categorical ...
• 41
1 vote
1 answer
26 views

The F-test and the t-test reject the null hypothesis while the KS test and the Chi-Squared test do not

This is a follow-up question to How can the F-test reject the null hypothesis while the KS test does not?. Let's consider I perform the following tests: Two-sample Kolmogorov-Smirnov test (KS-test), ...
• 280
0 votes
3 answers
35 views

Compare the proportion of multiple diseases between 2 groups

I'm conducting an analysis on data derived from two groups subjected to different environmental conditions. Here's a brief overview: Group A: 750 individuals exposed to smoke. Group B: 1500 ...
• 27
0 votes
0 answers
32 views

Simulate $p$-value of $\chi^2$-test

The R function chisq.test has an simulate.p.value argument that uses permutation for resampling. I know how to implement this ...
1 vote
2 answers
28 views

Association between more than 2 categorical variables

Is there a method that can detect an association between several categorical variables? I know that chi2 test Can help me with paired variables, but imagine the usecase with 5 variables and there IS ...
• 375
3 votes
1 answer
59 views

Testing dependence of two categorical variables with data separated by test subject

This relates to a real-world experiment I'm working on. Let's say in my experiment, test subjects look at pictures of sunglasses that are either red or blue, and then label them "cool" or &...
3 votes
1 answer
55 views

is the likelihood ratio test "best" for finite samples?

Wikipedia says The Neyman–Pearson lemma states that this likelihood-ratio (lr) test is the most powerful among all level α alpha tests for this case. Is this only true for infinite sample sizes? Is ...
0 votes
0 answers
12 views

confirmation using the right tests

Users were asked to pick the AGE GROUP, GENDER and EDUCATIONAL LEVEL each from 3 provided options. I want to check the connection between each of these variables and answers to the question where user ...
0 votes
0 answers
39 views

• 172
0 votes
0 answers
23 views

Test of association and Logistic regression

Hi I have 9 predictor variables and 1 binary dependent variable. After running chi-square test of association, 8 out of 9 are significantly associated to the dependent variable. My question is, should ...
1 vote
2 answers
140 views

Chi square test of independence with year as a categorical variable?

I suppose that this is a very simple question, and I have just now recently started doing stats. I am working on a dataset with count data relating to discontinuation/continuation of a specific ...
2 votes
0 answers
120 views

Post hoc after a 2xN chi-squared test

I have two groups of people, and I want to determine if there's a significant difference based on their language. My data consist of word frequencies (how many times a person sayed a given word in a ...
0 votes
0 answers
35 views

Pearson's theorem for cross table [duplicate]

In order to understand Person's theorem (why chi squared test is justified), I have read this lecture note and I think I understood the discussion, but I still don't understand why the degree of ...
• 145