Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Chi-square test on Megastar contest

$
0
0

@syed.danish wrote:

Hi,
I am working on megastar contest. The objective of this dataset is to predict the correct category of the working professionals in India. Below is data dictionary of the variables.

After applying chi-square test on two categorical variable(UG_Education and Category) by using following code:
sc.stats.chisquare(pd.crosstab(train.UG_Education,train.Category,margins=True))
I get following result :

I have following questions about the two categorical variables(UG_Education and Category) :
1. Are they co-related?
2. What is Null Hypothesis in this case if the cross table is :

3. If the two variables are not co-related, does that mean UG_Education has no effect on outcome(Category is the outcome variable)?

Thanks in advance,
Danish

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles