SMDM Assignment 1-1
SMDM Assignment 1-1
The probability
of finding a spoilt banana is 3% and 5% for suppliers A and B respectively. The
probability of finding a spoilt jackfruit is 5% and 7% for A and B respectively.
Both fruits comprise of 50% of the supply. One day a jackfruit is found to be
spoilt. What is the probability that it was from supplier A? What is the
probability that it could have been from supplier B?
Co
nfi
de
nti
al
C
So, there is a higher chance that the spoilt jackfruit came from supplier B.
Co
nfi
de
nti
al
C
2. A group of students is tested for their eating habits. The study is done
between the gender (Male/Female) and food preference (Veg/non veg). The
results are tabulated below.
Boys 75 35 110
Girls 25 35 60
100 70 170
Compare the eating preferences of boys and girls test using chi squared test
whether both boys and girls have similar eating habits.
Solution:
To compare the eating preferences of boys and girls using the Chi-Squared Test of Independence, we
will test whether gender (Boys/Girls) and food preference (Veg/Non-Veg) are independent. This
involves using the Chi-Squared test to determine if there is a significant relationship between gender
and food preference.
Null Hypothesis (H₀): There is no association between gender and food preference (i.e., boys and
girls have similar eating habits).
Alternative Hypothesis (H₁): There is an association between gender and food preference (i.e.,
boys and girls have different eating habits).
Co
nfi
de
nti
al
C
Calculate the expected frequencies:
Co
nfi
de
nti
al
C
Total Chi-Squared statistic:
degrees of freedom:
Co
nfi
de
nti
al
C
Critical value:
Conclusion:
There is enough evidence to conclude that there is a significant association between gender and food
preference. Boys and girls do not have similar eating habits.
Co
nfi
de
nti
al
C