Questions tagged [chi-square-test]
The chi-square-test tag has no usage guidance.
27
questions
0
votes
0
answers
11
views
(Apparently) Inconsistent Results Between Visual Patterns and Chi-Square Test in Categorical Data Analysis
I'm stuck while working on a categorical data analysis project and would appreciate any insight.
Here are the first 4 rows of the dataset:
successful_upload
feat_1
feat_2
0
T>2
<\$10K
1
0.5&...
0
votes
1
answer
39
views
When using Chi-Squrare test in feature selection makes sense?
What are the prerequisites that need to be fulfilled before conducting a chi-square test (Bivariate analysis)? For instance, before having a correlation matrix, we should first ensure linearity. What ...
0
votes
1
answer
41
views
Feature Selection - determining the significance of imbalanced categorical data column
I have a dataset with a categorical column that contains three categories. One of the categories represents 98% of the data, while the remaining 2% are distributed between the other two categories, ...
0
votes
0
answers
17
views
Chi-Sqare test and Continuous values
How does chi-square test work for continuous variables. I see that it is used in most papers to test dependencies between continuous explanatory variables and the target variable. Please how does this ...
0
votes
0
answers
68
views
Interpreting chi-square statistic values and also scipy.stats.chisquare giving unreasonable value
I have some data from the S&P500 of daily returns. I'm not sure if I can show my graph, as I will be using it in my undergraduate paper, but it looks essentially the same as the histogram here:
...
0
votes
0
answers
8
views
What kind of model would I use to analyze a respondent's probablity of choosing one choice from a finite list of choices?
I have a data set of survey responses (~1500), and I've run chi-square tests for independence and found that certain features are influential on responses to a specific question.
But now I want to ...
2
votes
2
answers
73
views
Whether Chi-square statistic Test helps us to assess a non-linear correlation between two categorical variables?
I have two categorical variables: sports level (1, 2, 3 and 4) and Use of supplements (Yes and No).
I analyzed whether they are independent by the X² test, and their association was significant.
I ...
1
vote
2
answers
507
views
Are Chi-square and ANOVA (f_classif) to select best features?
I have a binary classification problem (target 0 o 1), I have both variables continuous and categorical as features. I understood that about Chi-square i can use only categorical features to evaluate ...
0
votes
1
answer
23
views
How to demonstrate two variables are orthogonal with respect to the output in a 3-D Python dataset?
I have a Python dataset with 300 samples and 3 columns: 2 independent integer variables X,Y and the dependent continuous variable ...
0
votes
1
answer
68
views
"Chi-squared approximation may be incorrect" on hypothesis test
I'm doing a hypothesis test to determine if the data follows binomial distribution with p=0.31, and I'm getting a warning when running this:
...
0
votes
1
answer
30
views
Goodness on test or train set?
I split my data set before on train (80%) and test (20%) splits. Trained logistic regression model on the train set. Now, want to check the goodness of fit using the Chi-square likelihood omnibus test,...
0
votes
1
answer
106
views
For feature selection, do we use Chi-squared with Mutual Information together?
Or do we only choose one out of two for categorical data.
0
votes
1
answer
475
views
Does one-hot encode effects chi-square test?
I am doing a feature selection for a data science project with one of those feature being a high cardinality categorical variable (for context, it’s nationality). I know chi-square test could handle ...
2
votes
2
answers
434
views
Does t-test require Standard Deviation of sample for calculation
Might be a novice question, but the main difference between a t-test and z-test, I was able to understand, is that the z-test calculation requires the SD value of the population where as in a t-test, ...
0
votes
3
answers
3k
views
p-value of chi squared test is exactly 0.0
I need to do a chi square test of two of my dataset's categorical variables.
This two variables have basically the same meaning but comes from two different sources, so my idea is to use a chi square ...
1
vote
1
answer
92
views
Why do I get this result with a chi- square test?
I have a question about the chi squared independence test, I'm working on dataset and I'm interested in finding the link between the categories of product and the gender, I plot my contingency table.
...
1
vote
1
answer
46
views
Low P value in Chi-squared test but low coefficient in logistic regression
I ran a chi squared test on multiple features & also used these features to build a binary classifier using logistic regression. The feature which had the least p value (~0.1) had a low ...
0
votes
1
answer
30
views
Multiple Hypotheses in python
I want to write a method to test multiple hypotheses for a pair of schools (say TAMU and UT Austin). I want to consider all possible pairs of words (Research Thesis Proposal AI Analytics), and ...
1
vote
0
answers
32
views
Should I remove features such as gender and birth month before drawing the heatmap because they are categorical?
I am working on a dataset that has both categorical and numerical (continuous and discrete) features (26 columns, 30244 rows). Target is categorical (1, 2, 3) and I am performing EDA on this dataset.
...
1
vote
0
answers
31
views
How to get correlation between the categories of two categorical variable?
I have a categorical variable with 2 categories ("Health") ('healthy', 'not_healthy') and another categorical variable ("country") with 5 categories ("english", "eua&...
0
votes
1
answer
69
views
Chi-Squared test: ok for selecting significant features?
I would have a question on the contingency table and its results.
I was performing this analysis on names starting with symbols as a possible feature, getting the following values:
...
2
votes
1
answer
141
views
What is the best alternative for Fisher's Exact test for contigency tables that are NOT 2x2?
I am a newbie to data mining. I am trying to find associations between two categorical variables. Since more than 20% of my expected frequencies are less than 5, I wanted to use Fisher exact test but ...
2
votes
1
answer
250
views
Interpreting the results based on Granger Causality test
I am trying to use Granger Causality test: https://www.statsmodels.org/stable/generated/statsmodels.tsa.stattools.grangercausalitytests.html
to assess whether "positivity score" affects ...
1
vote
0
answers
67
views
Chi Square Test Goodness of Fit
I want to use a chi square test but I'm unsure if I'm using it right. The KickStarter website shows the frequency of main categories projects. It is updated once a day. I got a data set of KickStarter ...
0
votes
1
answer
150
views
Chi-square test - how can I say if attributes are correlated?
I am experimenting a course's teorical contents on this dataset. After data cleaning, I am trying to use chi-square test. I wrote the following code:
...
1
vote
2
answers
837
views
Linear regression with a fixed intercept and everything is in log
I have a set of values for a surface (in pixels) that becomes bigger over time (exponentially). The surface consists of cells that divide over time. After doing some modelling, I came up with the ...
1
vote
0
answers
107
views
Using a Subset of Categories in a Categorical Column
I have a XGBoost model and I'm going to retrain it by adding new features. There is a column in my data and it's about professions of the customers. It has 60 categories. I suppose there is no need to ...