@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