Introduction
In this project I want to test whether students who live with their families dine out more than those who do not live with their families. I also compared among the families and males and how much they spend whenever they go out to dine. I have determined the confidence interval for the students who live with their families and for the proportion of students who do not live with their families.
- The alternative hypothesis is the number of students that live with family dines less than those students who live by themselves. The null hypothesis is that those students who live with family dines more than those who live by themselves, the degree of freedom is 5 and is tested at a confidence level of 5%. From the tables the t values at this interval are 2.015 and the t Stat is -1.09616 while the t Critical is 2.5708. Since t Stat is less than the t value at 5% level confidence the null hypothesis is rejected at 5% level of confidence and the alternative hypothesis is accepted; the number of students that live with family dines less than those students who live by themselves.
- Next the mean for females is compared to that of males. The female sample mean is 15.5 and the male sample mean is 22.66. The alternative hypothesis is that the mean for female is less than for male. The alternative hypothesis is that the mean for females is greater than or equal to that of males. The critical value for α = 5% is 2.015048 using 5 degrees of freedom. Since the test static is -1.58307 the null hypothesis is accepted.
- The number of students is tested of independence of gender. The null hypothesis is that the number of students who dine out is independent of gender, while the alternative hypothesis is that it dependents on gender. Since the test static of 2.5623 is less than the critical value of 2.57058 for α = 5% with two degrees of freedom the null hypothesis is not rejected. There is no sufficient data to show that the number of students dines is related to gender.
- Table above shows that 78 out of 95 students prefer to dine on Friday and Saturday. My null hypothesis is that this proportion is greater than 70% for the population, while the alternative hypothesis that this number is less than or equal to 70%. Since the test static of 2.568 is greater than the critical value of 2.447 for α =2.5%, the null hypothesis is rejected. Less than or equal to 70% of students dine out on Friday and Saturday.
- The null hypothesis is that more males spent more than ksh.101 as compared to females. The alternative hypothesis is fewer males spend more than ksh.101 as compared to females. Since the test static of -2.4184 is less than the critical value of 2.1318 for α =2.5%, the null hypothesis is rejected and the alternative hypothesis is accepted; alternative hypothesis is fewer males spend more than ksh.101 as compared to females.
- The null hypothesis is that more than 15 females of the total students always enjoy going out. The alternative hypothesis is less than or 15 females of the total students always enjoy going out. Since the test static of 0.17566 is less than the critical value of 2.35336 for α =2.5%, the null hypothesis is accepted; more than 15 females of the total students always enjoy going out.
Summary
Students that leave by themselves dine more as compared to those that live with their families. As regards to gender there exist insufficient data to show that students dine out is related to gender. The proportion of students who always dine out is significant.