The dependent variable is the punishment of crime and the independent variable is ideology. …show more content…
As these two variables are continuous, the bivariable hypothesis test is crosstab. The figure~ ef{} shows the two categorical variables: The difference between democrat in control of the Upper house and if the states have or have not Death Penalty. The bars are even, because there are not difference between these two variables. As the table~ ef{tab:example2} shows the states which have death penalty a 63.42% are in the Upperhouse which is control for democrat and the 36,59% are in state with this House is control by other parties. The almost the same results are for the states which do not have death penalty (64,79% and 35.21%, respectively) With a Person Chi2 of 0.2091, a p value of 0.647 and a degree of freedom equivalent to 2, there is not statistical significant relationship between these two