Project Step2: Hypothesis Testing

As mentioned in the proposal, we believe that the education level that given to the women affects the rate of women violence. To investigate this relation, we need hypothesis testing.

Null hypothesis: There is no relationship between violence against women, welfare level and their education level.

Alternative hypothesis: There is a relationship between women’s education level, welfare level and violence against them.

 

EducationRate

 

GDPpercapita

 

ViolenceRate

EducationRate 1.000000 0.204038 -0.737920
GDPpercapita 0.204038 1.000000 -0.009995
ViolenceRate -0.737920 -0.009995 1.000000

 

 

indir

 

pi

 

According to this graph, when we examine the correlation according to the colors, there is a strong negative correlation between violence and education rate. It means that when the education level increases, rate of violent acts decreases. But when look at the correlation between GDP per capita and violence rate, there is no clear correlation between them.

In conclusion, this result is supported our hypothesis that there is correlation between violence against women and women’s level of illiteracy, however we cannot say anything about welfare level of people and  tendency of violence against women. As a result, we reject null hypothesis.

Our Python Code:

Github Link

Leave a comment