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].

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 ...
Emman's user avatar
  • 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 ...
Simona ysf's user avatar
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 ...
user2330624's user avatar
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 ...
Geertje's user avatar
  • 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), ...
Ommo's user avatar
  • 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 ...
nhaus's user avatar
  • 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 ...
Syd Amerikaner's user avatar
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 ...
curious's user avatar
  • 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 &...
Lysanderoth's user avatar
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 ...
A Friendly Fish's user avatar
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 ...
anonymours's user avatar
0 votes
0 answers
39 views

Likelihood ratios not distributed as a chi2 distribution with the correct dof (Wilks' theorem)

I perform Bayesian inference on a mixture model such that $\mu$ is the mixture weight for a feature in the mixture $p(x | \mu, \theta) = \mu p_{f}(x|\theta) + (1-\mu)p_{nf}(x|\theta)$ I have prior $p(\...
malavika v vasist's user avatar
1 vote
0 answers
23 views

Fisher exact test in correlated dataset

Suppose I have n subjects. I have measured them twice with some binary outcomes. Now I want to test whether outcomes measured earlier agree with outcome measured later. Usually, I would need to do ...
user45765's user avatar
  • 1,445
0 votes
0 answers
14 views

Confusion about the chi-squared test to compare 3 proportions

I have run an within-subjects experiment in which each participants answers to 3 binary questions (A,B and C). This means that all participants answered every questions. I want to compare the ...
MiKiDe's user avatar
  • 113
0 votes
0 answers
24 views

Lower threshold for Sequential Probability Ratio Test on Contingency Table testing

For testing whether a die is fair, we have the log likelihood ratio: $$ \Lambda = \frac{1}{2} \sum_{i} \mathrm{observed}_i \log\left(\frac{\mathrm{observed}_i}{\mathrm{expected}_i}\right). $$ Suppose ...
shabbychef's user avatar
  • 14.9k
1 vote
0 answers
22 views

chi-square test of independence - adjusted residuals interpretation [closed]

If you have a large contingency table (or variables with a lot of categories), should the relationship with the highest adjusted residual be interpreted as the combo that is informing the sig. chi-...
stephan_phd's user avatar
0 votes
0 answers
22 views

adjusted residuals chi-square test of independence

I'm confused about what the value should be for adjusted residuals for chi-square test of independence. I requested adjusted residuals to see which combo drives the relationship for chi-square. I know ...
stephan_phd's user avatar
1 vote
0 answers
13 views

Am I using the correct test statistic for a binomial glm using the type III Anova function in the package car?

I am trying to look at how the likelihood of event Y is influenced by two factors A (5 levels) and B (2 levels) and my model is as follows: ...
Insect_biologist's user avatar
5 votes
2 answers
166 views

Why do I get a negative chi-squared value in my type III ANOVA output for my binomial GLM?

I am trying to look at how the likelihood of event X occurring is affected by three factors A (5 levels), B (2 levels) and C (3 levels). To do this I have run a binomial glm followed by a type 3 ANOVA ...
Insect_biologist's user avatar
1 vote
0 answers
21 views

I have two samples size. One is 135 the other 15. Can I use Chi-square for analysis [closed]

I am conducting a survey about awareness. I have two variable. One is student sample size 150 and the other teachers sample size 15 using questionnaire on 4 point likert scale. Can I use Chi-square? ...
Lukman's user avatar
  • 11
0 votes
0 answers
8 views

determining if odds-ratio for a numerical x variable and binary y label in logistic regression differs between groups (ie. gender or race) [duplicate]

I've seen people ask a similar question, but I'm still not super clear what the best recommendation would be - I am looking at a binary dependent variable, and multiple independent variables (some of ...
mz.'s user avatar
  • 1
0 votes
0 answers
18 views

fishers exact test and chi-square test [duplicate]

What are potential advantages of chi-square test of independence over fisher's exact test? Alternatively, does fisher's have limitations?
stephan_phd's user avatar
0 votes
0 answers
38 views

Compatibility of two atom spectra

I've measured in laboratory the wavelength of the emission lines of an unknown element. I now have these values in a set (called x) along with their relative errors. Now I need to compare my ...
yZemp's user avatar
  • 1
0 votes
1 answer
46 views

Statistical test for frequency counts?

I have data of customer purchases over time. Certain clusters of purchases tend to occur together within a short timeframe for each customer. One customer can have multiple clusters of purchases. I ...
Alis's user avatar
  • 1
4 votes
1 answer
84 views

Why do I get smaller degrees of freedom for the Scalar invariance model than the Metric one while testing measurement invariance?

I am trying to test the measurement invariance in my bi-factor model with CFA tests. I have 23 binary questions coded "correct" and "incorrect" and 3 different groups in my data. ...
Enes Bayrakoglu's user avatar
0 votes
1 answer
16 views

Is there a statistical test where you test whether any of multiple separate analyses of variances or chi-square tests are statistically significant?

Is there a statistical test where you test whether any of multiple separate analyses of variances or chi-square tests are statistically significant?
jkj's user avatar
  • 1
4 votes
1 answer
54 views

Modeling no-show rates of attendees in R

I'm trying to determine to what extent the no-show rate of registered candidates to a (past) event is dependent on the weekday that the event was hosted on. Given a number of past events that have ...
Marco W.'s user avatar
2 votes
1 answer
63 views

How does the Wald test follow a chi-square distribution? (Do we ignore independence)

So, according to the definition, a statistic follows a chi-square distribution if we square and add independent and standard normal variables right? So for the Wald test (Chi-square version), we are ...
chunguc1004's user avatar
0 votes
1 answer
31 views

Gaps (misinterpreting perhaps) between chi square sig and Cramer’s v

I did chi square test for independence and Cramer’s V test. I’m having problems with interpret the results. I checked if there is a connection between gender and dropping out of school (in SPSS). My ...
Shir's user avatar
  • 3
1 vote
0 answers
71 views

Understanding $\chi^2$ in plain language [closed]

Suppose I was trying to explain what $\chi^2$ is and why it's important to my grandma. I want to give core intuition to this formula: $$\chi^2 = \sum_{i}\frac{(O_i-E_i)^2}{E_i}$$ I would tell her ...
Swike's user avatar
  • 139
0 votes
0 answers
12 views

Can you use the Marascuillo procedure for a contingency table with more than 3 rows?

When obtaining a significant result on a Chi-square test of a contingency table with 2 rows and c columns where c > 2, the Marascuilo procedure should be performed to interrogate the proportions (...
Nibood_the_slightly_advanced's user avatar
1 vote
0 answers
46 views

Can Cramér's V or contingency coefficient be used if chi-squared assumptions are not met?

I am testing for the independence of a specific set of variables with respect to a common event. Despite having a fairly decent sample size (n=236), the event I am testing for is relatively rare (2% ...
Daniel's user avatar
  • 11
3 votes
1 answer
50 views

Why run a chi-square of independence test before the multinomial logistic regression?

I would like to find out why is it necessary and key to run the chi-square test before the multinomial logistic regression? I am reading someone's unpublished work and it says the Chi square test is ...
Amelia Nicodemus's user avatar
2 votes
0 answers
57 views

Chi-Squared for demonstrating confounding in Logistic regression (or not...)

I am using logistic regression for inference and classification, using data from 190 X-rays/subjects. We want to see if certain X-ray measurements could predict development of a disease (Case vs ...
Maks Hall's user avatar
0 votes
1 answer
68 views

Relationship between p-value and Cramer's V

Is there a relationship between p-value and Cramer's V value after conducting Chi-square test for independence... is for Cramer's V value of about 0.13 the associated p-value is of about 0.001 or it ...
Rusul Raed's user avatar
0 votes
0 answers
25 views

Can I use Chi^2 to test significance in frequencies of three groups?

I have conducted fieldwork on tree seedlings in plots with different treatments: natural, managed, and fertilised. The dataset consists of the frequency at which the different tree species occur. I ...
Thomas's user avatar
  • 528
0 votes
1 answer
55 views

Sample size issue

I have conducted a questionnaire survey of 20 questions, each question of one answer selection, but only one question is a multiple choice question. The sample size was 1000, means 1000 participants ...
Rusul Raed's user avatar
-1 votes
1 answer
31 views

Testing proportion differences between conditions

I've asked 10 people to choose between A and B in 3 different conditions and 5 times per condition (resulting in 5 data points per person for condition 1, 5 data points per person for condition 2 and ...
statuser's user avatar
0 votes
0 answers
12 views

external internal validation and chi square

The internal test set, created from 20 percent of the train data set, consists of 'a' and 'b' labels. I take the 'a' labels from the internal test and combine them with the 'c' group of another ...
Nemo's user avatar
  • 1
0 votes
1 answer
33 views

Appropriate test to prove hypothesis for given sample

Essentially, I'm writing a research paper, and I have these subjects grouped by their cancer stage from I to IV (ordinal scale) and whether or on they're positive for a specific marker (nominal scale)....
semperusfi's user avatar
0 votes
0 answers
34 views

change of chi2 with Monte Carlo

I am reaching out to open this topic in order to clarify a point regarding chi-square and the influence of Monte Carlo on it. For purely informative purposes, I have decided to generate random data ...
Baguette's user avatar
1 vote
1 answer
92 views

Fisher's exact test when a category has a 0

I've been doing the univariate analysis for a retrospective cohorts study. In this variable in particular, none of the no-cured patients had a growth of grampositive bacteria in their culture. Since ...
user406570's user avatar
0 votes
0 answers
22 views

How to interpret Chi-squared test results for these datasets?

I have two discrete distributions (histograms) A_i and B_i and antoher one C_i, and I'd like to compare first two with the third one in R using chisq.test. This is a combination of histogram A with C. ...
Ivan Z's user avatar
  • 101
0 votes
0 answers
25 views

Checking expected counts when analyzing binary outcome and binary explanatory variable using GLM

Understand that chi-squared test comparing two categorical variables is only valid when expected counts for each cell is at least 5. I have not read or heard that this needs to be checked when running ...
tatami's user avatar
  • 885
0 votes
0 answers
37 views

Need help with chi-square test interpretation with adjusted residuals

I have conducted multiple chi-square tests to compare 3 customer segments (1 cat variable, 3 groups) on different categorical variables. As the chi-square tests are not 2×2, I have asked SPSS to ...
Tom's user avatar
  • 7
0 votes
1 answer
52 views

Modification of Pearson's Chi-square test

At first glance, Pearson's chi-squared test seems flawed in a major way. Can you help me identify the error in my logic? I have a multinomial distribution with $k$ outcomes, and $p_i$ denotes the ...
Terence C's user avatar
  • 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 ...
Raven Mark S. Eduardo's user avatar
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 ...
Mukilan S C's user avatar
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 ...
ALESSANDRO GNUTTI's user avatar
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 ...
HQMA's user avatar
  • 145

1
2 3 4 5
54