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
0answers
55 views

Bernoulli distribution; test p <= 0.3

I have a random variable $X \sim Ber(p)$ and I should test: $$H_0: p \leq 0.3$$ $$H_1: p > 0.3 - alternative$$ I tried to use $\chi^2$- test, but there is a problem: the number of degrees of ...
0
votes
1answer
35 views

Statistical significance of 3 sample point [closed]

I have a data source with an accuracy of 69.3% (when compared with ground truth data). When a model is applied with 3 different parameters the resulting accuracies are 73.088, 74.912 and 72.89. How ...
0
votes
0answers
18 views

Significance or P value for limited sample size

I have calculated accuracy gain for applying an algorithm. For six different parameters, six estimates (both gain and loss) were obtained. I need to do a statistical test to say the average estimate ...
1
vote
1answer
40 views

Which test to use? looking for approval [closed]

I have a multiple categorized table. The columns are three+- categories which I want to compare (pairwise - 2 each time). For instance: ...
0
votes
0answers
10 views

How to find the Chisq values for a two tailed test in R? [duplicate]

How do we find the chisq value for a two tailed test? For left tail we use qchisq(x,df,lower.tail="True") For right tail we use qchisq(x,df,lower.tail="False") What about two ...
1
vote
0answers
23 views

Proper Test for Type of Data

Warning: I have not done any statistical analysis since 2012. Problem: I have a list of lists of lists: Each of the $289$ ($17\times 17$) element is $\{\phi_{j,1},\phi_{j,2},f(\phi_{j,1},\phi_{j,2}),\{...
0
votes
0answers
16 views

Correlation for ratio scale and nominal scale variables

I am doing a study on music genre and work output (0-100) and am trying to find a way to use PMCC, SRCC, or a Chi-Square test to determine whether or not there is a correlation/association. I am just ...
0
votes
2answers
29 views

What type of statistical test should I use to conduct this experiment?

I want to identify if there is an association between the Median Household Income of a random selection of 30 metropolitan areas and the rate of motor vehicle thefts in those areas. What type of test ...
2
votes
0answers
33 views

Establishing significance of crime statistics variation in a changing population over time [closed]

On the planet Zorblax, there are 2 ethnic groups, one much larger in number than the other. The National Statistics Body of Zorblax wants to determine, with significance, if one group commits a ...
3
votes
0answers
42 views

Boschloo or Barnard? In which case?

For 2x2 contingency tables, my understanding is that Boschloo and Barnard both have uniformly more power than Fisher's exact test (even if all marginals are fixed??). But I am still confused about the ...
0
votes
0answers
34 views

What are the correct way to determine the error bar of power spectrum (power spectral density)?

Firstly, we generate a 1D periodical scalar field $f(x)=f(x+T)$ by using two sets of normal random numbers $B_k$ and $C_k$, i.e. $$ f(x)=\frac{2}{T}\sum_{k=1}^{1024}\sqrt{T\cdot P(k)}[\frac{B_k}{\sqrt{...
0
votes
1answer
31 views

ANOVA or Chi-squared Test, which test should I use?

I have an depentent variable which means agreement, it is a value between 1 and 6 (integer) 6 means more agreement than 1. I have two categorical variables: Level of experience. Value from 1 to 4. 1 ...
0
votes
0answers
19 views

1 independant variables, 15 dependant variables - correct analytical procedure?

The research looks for a gender difference in product ratings, gender was collected (Male/Female) and rating on a 5-point scale. Each participant rated 15 products from 3 different categories. What ...
0
votes
1answer
18 views

Chi Squared test and value magnitude

With the chi-square test, does the magnitude of the observed and expected values make a difference? See the following example, in both data sets (A and B) the observed and expected vary by 30%, ...
0
votes
0answers
12 views

Test for homogeneity in categorical variable segmentation clustering

I want to check if the categorical variable with 4 classes used in a cluster exercise is homogeneous between elements in the same cluster and heterogeneous between themselves, I searched that the chi-...
0
votes
0answers
8 views

How to perform multiple independence tests at once?

I'm working in a data mining project with a dataset composed of tens of variables, both categorical and continuous. The goal is to apply a C4.5 tree for classification but first I'd like to perform ...
2
votes
0answers
31 views

Testing a relation between a categorical variable and a muticategorical set

I have a dataset with two variables: the response variable is the use of a fish species as a food resource, and the explanatory variable is the profession: Person Profession Use of fish John ...
0
votes
0answers
75 views

Will ranking "correlation" of variables by Pearson's return the same results as chi-square and F stats?

Generally speaking my understanding and experience is that when I have some target variable and want to see which other variables best correlate with it (for instance to build a predictive model), ...
1
vote
1answer
72 views

Poisson GAM - model never fits when using residual deviance test (chi squared)

If I were to fit an example GAM model using mgcv: ...
0
votes
0answers
10 views

How to prove drawing the same conclusion of not rejecting H0 about Hypothesis Testing?

I'm taking a statistics course, and the problem goes like this: Assume that 𝑋 follows 𝑁(πœ‡π‘‹,πœŽπ‘‹2). Consider a two-sided test with H0: πœ‡π‘‹=πœ‡0. If we do not reject H0 at a significance level 𝛼, ...
0
votes
0answers
19 views

(Very) Small sample size, confused about which test to run

First of, I would like to express that I have very limited experience with quantitative data analysis, as I am mainly a qualitative researcher. So I hope my question isn't to far out and I apologize ...
0
votes
0answers
9 views

Units of measurement for different feature selection techniques

I am trying to use multiple methods to select the best features, more especifically, ANOVA, Mutual information selection, Chi-2 and the internal feature selection method of Random Forest. I came ...
0
votes
0answers
23 views

Mixture of Chi Square for crossed mixed models

I have been reading the book "Linear Mixed Models for Longitudinal Data" by Geert Verbeke and Geert Molenberghs (Section 6.3.4) and they suggest that you can do marginal testing for the need ...
0
votes
0answers
20 views

Hypothesis Testing 3 variables from Survey, but survey data only shows frequencies

Here is an example of the data I'm working with. The data I have is larger and diverse but this is presented to illustrate my problem. n=100 $Income?$ 15,000: 15 15,0000-30,000 < : 45 30,000-45,000:...
1
vote
2answers
33 views

Test to compare frequencies?

I want to be able to see if an insect has a statistical preference for flower colour, which test should I use as the data is frequencies and I assume using Chi-squared wouldn't work. For example I ...
0
votes
1answer
46 views

Chi-squared vs. t-test for death rates (percentage data)

I have data regarding death rates (DR) for 5 different groups of people (A-E) as shown below. Groups A B C D E DR 1% 3% 2% 4% 3% samples 200 800 300 100 700 I'm trying to find out observed ...
0
votes
0answers
18 views

Is the Chi-Squared test appropriate to determine statistical significance for grouped continuous data?

For instance, if I wanted to find out if the age distribution of people at an event was reflective of population age distribution, could I group people by age (eg 0-4, 5-9, 10-14 etc) and then perform ...
1
vote
1answer
83 views

Chi-Squared-Test fails for large sample size?

I am currently working on an exercise for my statistics class and I came across some weird behaviour of the Chi-Squared-test (CST), which I hoped someone could explain to me. The problem is the ...
0
votes
0answers
27 views

Comparing multiple sample proportions between two groups where one group is a subset of the other

I have 2 populations which I want to test if the proportions between group A and B are the same for each location or not by using hypothesis testing. It's very much as this problem described here: ...
0
votes
0answers
23 views

Is a chi-square test the right test for my data?

I'm currently working on my Master's internship and struggling with the statistical part of my research. I’ve performed field work in a nature reserve and looked at the different types of vegetation ...
0
votes
0answers
8 views

Is this the correct way to check if a certain count data follows an expected ratio through Bayesian methods?

In my current experiment, I am looking at the no. of pieces of chicken eaten vs that of bread by dogs. In a previous experiment we had done the same experiment on individual dogs. The data of that are ...
0
votes
0answers
30 views

Chi-square test where sample is the population

I have Likert-scale survey data in which the sample is 97% of the population (181 out of a possible 188 respondents). I have tried to follow the complex debate about the need and value of statistical ...
0
votes
1answer
16 views

Goodness of fit for numerical simulation without clear degrees of freedom

I've got some simulation data which I'm trying to use to fit some historical data (red points). The simulation isn't a nice function $f(t, a, b, c...)$, instead it's just the result of numerically ...
0
votes
0answers
12 views

minimum distance estimation

I need to set up a minimum distance estimator for the uniform distribution $U[0,\theta]$ and take the $\mathcal{X}^{2}$ statistic as distance https://en.wikipedia.org/wiki/Minimum-distance_estimation $...
1
vote
0answers
41 views

Understanding the relationship between Chi-squared distribution and test statistic

Chi-squared distribution with $k$ degrees of freedom is defined as the distribution of the sum of the squares of $k$ standard normal random variables: $$\chi^2 = \sum_{i=1}^k Z_i^2$$ Where each $Z_i\...
0
votes
0answers
12 views

How to compare different levels of discrete variable?

I have a discrete variable that $P(X_{n, m}) \sim {\displaystyle \operatorname{Pois}(\lambda)}$ where $n$ and $m$ are the minimum and maximum values that it can takes respectively. I want to analyse ...
1
vote
0answers
33 views

Using a Pearson Chi-Squared to test if residuals are normally distributed

I'm was trying to create an exercise, where the 'student' would take the residuals of a multiple linear regression ($y=x\beta+u$), and then test if the residuals are normally distributed (assuming iid)...
0
votes
0answers
30 views

Chi Square test of normalised data and fit

I have done lots of data fits in the past, but this is the first time I approach with this kind of problem and I don't know what is the way to proceed. This is my problem: I have measured the time ...
0
votes
0answers
5 views

Comparing differences between three or more unpaired groups (DV categorical and non-normal continuous) and describing used tests

I have a made-up table as follows, including a footnote describing given p-values. P-value shows the differences between all subgroups, and it was derived from the Kruskal-Wallis test for continuous ...
2
votes
1answer
39 views

Comparisons of distributions: How to deal with discrepancies between visual impression and statistical tests (K-S, ranksum)?

I'm having some doubts how to properly compare my data (because of visual discrepancies), represented as histograms. Here's an minimal and representative example, illustrating the data: I measure BMI ...
-2
votes
2answers
82 views

Categorical ordinal data: which test is better? [closed]

I have the following data: Group very bad bad quite good good very good A 12 20 11 29 14 B 20 10 6 11 34 Group A receives training, group B doesn't which test is appropriate for this kind of data?...
0
votes
0answers
14 views

Measuring goodness of fit/is chi-squared appropriate?

I'm a physics rather than statistics student so please bear with me... I've got a simulation which produces some deterministic curves of the area covered by a particular weather system over time. ...
1
vote
1answer
27 views

Evaluate the increase of a variable (in Likert scale) for a subgroup of the population in a poll

Let's say we do a poll/survey for $n=250$ people, and we study a variable in a Likert scale with 7 possible values (-3 to +3): ...
0
votes
0answers
34 views

Chi-squared test for regression residuals

Per Cosma Shalizi, here, equation 11.2, I understood the chi-squared test for regression residuals to involve calculating: $$\sum_{i=1}^{n} \frac{(y_i - f(x_i, \theta))^2}{\sigma_i^2}$$ which will ...
0
votes
1answer
36 views

Is the residual deviance / residual dof equivalent to reduced Chi^2?

Question: I'm using a poisson fit; is the residual deviance = $ \chi^{2}$, and residual deviance / residual degrees of freedom = $\chi^{2}_{reduced}$? Does this method provide a valid tool comparable ...
1
vote
0answers
28 views

Chi- square test or Mann Whitney test? [duplicate]

I have the following data: group A: very bad 12, bad 20, quite good 11, good 29, very good 14 group B: very bad 20, bad 10, quite good 6, good 11, very good 34 which test is appropriate for this kind ...
0
votes
1answer
27 views

Chisquare statistic not working python

code is Python 3 I have a dataset of 5000 counts that I need to plot, compare to a Gaussian fit, and calculate the Chisquare statistic. The code I have used to plot my data is: ...
0
votes
1answer
36 views

The Degree of Freedom of the Pearson's X^2-test

everyone. The degree of freedom for a Person's X^2 test is (I-1)*(J-1) and it is obtained by (IJ-1) -([I-1]+[J-1]) =(I-1)(J-1). I am just wondering why it is (IJ-1) -([I-1]+[J-1])?? What is (IJ-1) ...
1
vote
1answer
30 views

Best statistic to compare disease appearance in two distinct groups

I have two distinct groups made of a different numbers of subjects (111 Millions and 126 Millions). My goal is to evaluate how many subjects in the two groups encounter 10 different diseases. For this ...
0
votes
0answers
28 views

Comparing disease variants prevalences in R

I have minimal data on disease variants prevalence in two periods of time. An example of the data I have might be represented with the following code: ...

1 2
3
4 5
…
46