Professional Documents
Culture Documents
Solution For Project
Solution For Project
saurabh.bisht1984@gmail.com
BUSINESS REPORT
8KBJP7L0VE
Problem -1 .............................................................................................................................................. 4
1.1 What is the probability that a randomly chosen player would suffer an injury? .............................. 4
1.2 What is the probability that a player is a forward or a winger? ....................................................... 4
1.3 What is the probability that a randomly chosen player plays in a striker position and has a foot
injury? ................................................................................................................................................. 4
1.4 What is the probability that a randomly chosen injured player is a striker? .................................... 4
1.5 What is the probability that a randomly chosen injured player is either a forward or an attacking
midfielder? .......................................................................................................................................... 4
Problem-2 ............................................................................................................................................... 5
2.1 What are the probabilities of a fire, a mechanical failure and a human error respectively? ............ 5
2.2 What is the probability of a radiation leak? .................................................................................... 5
2.3 Suppose there has been a radiation leak in the reactor for which the definite cause is not known.
saurabh.bisht1984@gmail.com
8KBJP7L0VE What is the probability that it has been caused by; .............................................................................. 6
Problem-3 ............................................................................................................................................... 6
3.1 What proportion of the gunny bags have a breaking strength less than 3.17 kg per sq cm?............ 6
3.2 What proportion of the gunny bags have a breaking strength at least 3.6 kg per sq cm.? ............... 7
3.3 What proportion of the gunny bags have a breaking strength between 5 and 5.5 kg per sq cm.? ... 7
3.4 What proportion of the gunny bags have a breaking strength NOT between 3 and 7.5 kg per sq
cm.? .................................................................................................................................................... 8
Problem-4 ............................................................................................................................................... 9
4.1 What is the probability that a randomly chosen student gets a grade below 85 on this exam? ....... 9
4.2 What is the probability that a randomly selected student scores between 65 and 87? ................. 10
4.3 What should be the passing cut-off so that 75% of the students clear the exam? ......................... 11
Problem-5 ............................................................................................................................................. 11
5.1 Earlier experience of Zingaro with this particular client is favourable as the stone surface was
found to be of adequate hardness. However, Zingaro has reason to believe now that the unpolished
stones may not be suitable for printing. Do you think Zingaro is justified in thinking so? ................... 11
5.2 Is the mean hardness of the polished and unpolished stones the same? ...................................... 12
Problem-6 ............................................................................................................................................. 13
6.1 Aquarius Health club: ................................................................................................................... 13
7.2 Before the hypotheses may be tested, state the required assumptions. Are the assumptions fulfilled?
Comment separately on both alloy types………………………………………………………………………………………………..17
Irrespective of your conclusion in 6.4, we will continue with the testing procedure.
7.3 What do you conclude regarding whether implant hardness depends on dentists? Clearly state your
conclusion. If the null hypothesis is rejected, is it possible to identify which pairs of dentists differ?.......18
7.4 Now test whether there is any difference among the methods on the hardness of dental implant,
separately for the two types of alloys. What are your conclusions? If the null hypothesis is rejected, is it
possible to identify which pairs of methods differ?....................................................................................19
7.5 Now test whether there is any difference among the temperature levels on the hardness of dental
implant, separately for the two types of alloys. What are your conclusions? If the null hypothesis is
rejected, is it possible to identify which levels of temperatures differ?......................................................20
7.6 Consider interaction effect of dentist and method and comment on the interaction plot, separately for
the two types of alloys……………………………………………………………………………………………………………………………22
7.7 Now consider effect of both factors, dentist and method, separately on each alloy. What do you
conclude? Is it possible to identify which dentists are different, which methods are different and which
saurabh.bisht1984@gmail.com
8KBJP7L0VE interaction levels are different?...................................................................................................................23
Figure 7 Green shaded area shows 75% of the students having more marks than the cut off indicated by
the line ------------------------------------------------------------------------------------------------------------------------ 11
saurabh.bisht1984@gmail.com
8KBJP7L0VE
1.1 What is the probability that a randomly chosen player would suffer an injury?
From the given table we can see that the, number of players injured is 145, and the total number of
players is 235. Hence the probability that a randomly chosen player is injured is;
1.4 What is the probability that a randomly chosen injured player is a striker?
Note that this is a conditional probability problem, because not all players and considered. Given that
the chosen player is injured we need to find the probability that he is a striker. Since there are 145
injured players. The conditional probability is;
1.5 What is the probability that a randomly chosen injured player is either a
forward or an attacking midfielder?
Again, this is a conditional probability problem. Given that the player is injured the probability is;
Problem-2
An independent research organization is trying to estimate the probability that an accident at a nuclear
power plant will result in radiation leakage. The types of accidents possible at the plant are, fire hazard,
mechanical failure or human error. The research organization also knows that, two or more types of
accidents cannot occur simultaneously.
According to the studies carried out by the organization, the probability of a radiation leak in case of a
fire is 20%, the probability of a radiation leak in case of a mechanical 50% and the probability of a
radiation leak in case of a human error is 10%. The studies also showed the following;
The probability of a radiation leak occurring simultaneously with a mechanical failure is 0.15%.
The probability of a radiation leak occurring simultaneously with a human error is 0.12%.
On the basis of the information available, answer the questions below;
P (Fire) = P (Radiation Leak AND Fire)/ P (Radiation Leak | Fire) = 0.001/0.2 = 0.005
According to the information available, probability of a mechanical failure is;
P (Human Error) = P (Radiation Leak AND Human Error)/ P (Radiation Leak | Human Error)
= 0.0012/0.1 = 0.012
P (Radiation Leak) = P (Radiation Leak AND Fire) + P (Radiation Leak AND Mechanical
failure) + P (Radiation Leak AND Human error) = 0.001 + 0.0015 + 0.0012 = 0.0037
2. A Mechanical Failure
3. A Human Error.
Problem-3
saurabh.bisht1984@gmail.com
8KBJP7L0VE
The breaking strength of gunny bags used for packaging cement is normally distributed with a
mean of 5 kg per sq. centimetre and standard deviation of 1.5 kg per sq. centimetre. The quality
team of the cement company wants to know the following about the packaging material to better
understand wastage or pilferage within the supply chain; Answer the questions below based on
the given information; (Provide appropriate visual representation of your answers, without
which marks will be deducted)
3.1 What proportion of the gunny bags have a breaking strength less than 3.17 kg
per sq cm?
Using the mean and the standard deviation of the normal distribution, we need to find the probability
of a gunny bag having a breaking strength less than 3.17 kg per sq cm.(cumulative probability
calculated using stats.norm.cdf function).
3.2 What proportion of the gunny bags have a breaking strength at least 3.6 kg
per sq cm.?
Using the mean and the standard deviation of the normal distribution, we need to find the probability
of a gunny bag having a breaking strength at least 3.6 kg per sq cm.
3.3 What proportion of the gunny bags have a breaking strength between 5 and
5.5 kg per sq cm.?
Using the mean and the standard deviation of the normal distribution, we need to find the probability
of a gunny bag having a breaking strength between 5kg per sq cm and 5.5 kg per sq cm.
saurabh.bisht1984@gmail.com
8KBJP7L0VE
Problem-4
Grades of final examination in a training course are found to be normally distributed, with a mean of
77 and a standard deviation of 8.5. Based on the given information answer the questions below.
4.1 What is the probability that a randomly chosen student gets a grade below 85
on this exam?
P (Grade < 85) = 0.8267
(Cumulative probability calculated using stats.norm.cdf function).
4.2 What is the probability that a randomly selected student scores between 65
and 87?
Using stats.norm.cdf function. It can be represented visually as below;
P (65 < Grade < 87) = P (Grade < 87) – P (Grade < 65) = 0.8803 – 0.0790 = 0.8013
saurabh.bisht1984@gmail.com
8KBJP7L0VE
Figure 7 Green shaded area shows 75% of the students having more marks than the cut off indicated by the line
saurabh.bisht1984@gmail.com
8KBJP7L0VE
Problem-5
Zingaro stone printing is a company which specialises in printing images or patterns on polished or
unpolished stones. However, for optimum level of printing of the image the stone surface has to
have a Brinell's hardness index of at least 150. Recently, Zingaro has received a batch of polished
and unpolished stones from its clients. Use the data provided to answer the following (assuming 5%
significance level);
5.1 Earlier experience of Zingaro with this particular client is favourable as the stone
surface was found to be of adequate hardness. However, Zingaro has reason to
believe now that the unpolished stones may not be suitable for printing. Do you think
Zingaro is justified in thinking so?
The hypothesis test is formulated as below,
H0 = The population mean BHI for unpolished stones is at least 150 or (µu ≥ 150)
Looking at the Hypothesis formulation, it can be observed that this is a left tailed test with a Level
of Significance 0.05 (α = 5%).
Output -
As observed above, since the numerical value of the test statistic is smaller than the critical
value, the P-value is smaller than the level of significance. Hence, the Null Hypothesis that the
unpolished stone surfaces have an average BHI of at least 150 is rejected.
Zingero is justified in concluding that the unpolished stones are not suitable for optimal level of
printing.
5.2 Is the mean hardness of the polished and unpolished stones the same?
H0: The population mean BHI for Polished stones and Unpolished stones is equal
(µp = µu) or (µp - µu =0)
saurabh.bisht1984@gmail.com
8KBJP7L0VE H1: The population mean BHI for Polished stones and Unpolished stones is not equal
(µp ≠ µu) or (µp - µu ≠ 0)
Note that this is a two-tailed test with a Level of Significance of 0.05 (α = 5%).
Output -
Note that the test statistic is larger than the upper critical value and hence the P-value is smaller
than the level of significance. The Null Hypothesis that the polished stone surfaces have a BHI equal
to that of the unpolished stones will be rejected.
Average hardness of the polished and the unpolished stones is not equal.
H0 = The mean number of push ups being done after the training (µA) is 5 or less than the
mean number of push ups being done before the program (µB) (µA - µB ≤ 5)
H1 = The mean number of push ups being done after the training (µA) is 5 or less than the
mean number of push ups being done before the program (µB) (µA - µB > 5)
This is a right-tailed test with a Level of Significance of 0.05 (α = 5%).
saurabh.bisht1984@gmail.com
8KBJP7L0VE
Considering the Difference column, the Hypothesis can be re-formulated in terms of the difference.
H0 = µD ≤ 5
H1 = µD > 5
Output -
7.1 Dental implant data: The hardness of metal implant in dental cavities depend on
multiple factors, such as the method of implant, the temperature at which the metal is treated,
the alloy used as well as on the dentists who may favour one method above another and may
work better in his/her favourite method. Response is the variable of interest.
7.1 Test whether there is any difference among the dentists on the implant hardness. State the null
and alternative hypotheses. Note that both types of alloys cannot be considered together. You
must state the null and alternative hypotheses separately for the two types of alloys.
Solution-
Hypothesis test formulation for Alloy 1
H01: The mean implant hardness is the same across different dentists with type 1 alloy.
HA1: Mean implant hardness is different for at least one pair of the dentists with type 1 alloy.
Hypothesis test formulation for Alloy 2
H02: The mean implant hardness is the same across different dentists with type 2 alloy.
HA2: Mean implant hardness is different for at least one pair of the dentists with type 2 alloy.
saurabh.bisht1984@gmail.com
8KBJP7L0VE
7.2 Before the hypotheses may be tested, state the required assumptions. Are the assumptions
fulfilled? Comment separately on both alloy types.
Solution –
Test of Normality (Shapiro) for Type 1 Alloy for Dentist variable
In none of the cases, p-value is smaller than 0.05. Hence normality assumption is satisfied.
In none of the cases, p-value is smaller than 0.05. Hence normality assumption is satisfied
For one dentist, p-value is smaller than 0.05. We will proceed with ANOVA.
saurabh.bisht1984@gmail.com
8KBJP7L0VE
Levene test of equal variance for Type 1 and Type 2 Alloy for Method variable
Form above result for both alloy 1 and alloy 2 p value is less than 0.05 we can conclude that
the variances are not equal
Levene test of equal variance for Type 1 and Type 2 Alloy for Dentist variable
Form above result for both alloy 1 and alloy 2 p value is greater than 0.05 we can conclude
that the variances are equal.
Solution –
Since the level of significance is 5%, we can check from the below ANOVA output arrived at by
using the anova_lm function from scipy. stats.
saurabh.bisht1984@gmail.com
8KBJP7L0VE Since p-value is greater than 0.05, we fail to reject the null hypothesis of equality.
Since p-value is greater than 0.05, we fail to reject the null hypothesis of equality.
As Null Hypothesis is not rejected, so no need to do post hoc test Tukey HSD
Since the level of significance is 5%, we can check from the below ANOVA output arrived at by
using the anova_lm function from scipy. stats.
HA1: Mean implant hardness is different for at least one pair of the methods with type 1 alloy.
Since p-value is smaller than 0.05, null hypothesis is rejected. At least one method is different from
the rest.
Hypothesis test formulation for Alloy 2
saurabh.bisht1984@gmail.com
8KBJP7L0VE
H01: The mean implant hardness is the same across different methods with type 2 alloy.
HA1: Mean implant hardness is different for at least one pair of the methods with type 2 alloy.
Since p-value is smaller than 0.05, null hypothesis is rejected. At least one method is different from
the rest.
Null rejected here, using Tukey HSD we get that Group 3 is different from Groups 1 and 2.
Solution –
Since the level of significance is 5%, we can check from the below ANOVA output arrived at by
using the anova_lm function from scipy. stats.
saurabh.bisht1984@gmail.com
8KBJP7L0VE
As we can see from the ANOVA output the P-value is more than the level of significance, we are
Failed to Reject the Null Hypothesis
As we can see from the ANOVA output the P-value is more than the level of significance, we are
Failed to Reject the Null Hypothesis
As Null Hypothesis is not rejected, so no need to do post hoc test Tukey HSD
We can clearly say that mean hardness of dental implant is not same when different Dentists are
using different Methods in Alloy 1. This interaction is very significant here.
We can clearly say that mean hardness of dental implant is not same when different Dentists are
using different Methods in Alloy 2. This interaction is very significant here.
Since the level of significance is 5%, The two-way ANOVA can be tested using the anova_LM
function resulting in the below output.
H0: The mean implant hardness is same across different Methods with type 1 Alloy.
HA: Mean implant hardness is different for at least one of the Method type with type 1 Alloy.
H0: There is no interaction between Dentist and Method types with type 1 Alloy.
HA: There is interaction between Dentist and Method types with type 1 Alloy
saurabh.bisht1984@gmail.com
8KBJP7L0VE
For alloy 1: Dentist, Method and their interaction all are significant
H0: There is no interaction between Dentist and Method types with type 1 Alloy.
HA: There is interaction between Dentist and Method types with type 1 Alloy
saurabh.bisht1984@gmail.com
8KBJP7L0VE
For Alloy 2: Method and their interaction are significant for Implant hardness