100% found this document useful (2 votes)
1K views8 pages

Hypothesis Testing Assignment

The F&B manager wants to determine if there is a significant difference in the diameter of cutlets between two units. Statistical tests on the sample data find no significant difference, with a p-value greater than 0.05, so the null hypothesis that the units have equal diameters is accepted. A hospital wants to determine if there is a difference in turnaround time (TAT) for lab reports from different laboratories. An ANOVA test on the data finds a p-value much less than 0.05, so the null hypothesis that all labs have equal average TAT is rejected. Sales data for male-female buyers across four regions is analyzed to see if buyer ratios are similar. A chi-square test
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
1K views8 pages

Hypothesis Testing Assignment

The F&B manager wants to determine if there is a significant difference in the diameter of cutlets between two units. Statistical tests on the sample data find no significant difference, with a p-value greater than 0.05, so the null hypothesis that the units have equal diameters is accepted. A hospital wants to determine if there is a difference in turnaround time (TAT) for lab reports from different laboratories. An ANOVA test on the data finds a p-value much less than 0.05, so the null hypothesis that all labs have equal average TAT is rejected. Sales data for male-female buyers across four regions is analyzed to see if buyer ratios are similar. A chi-square test
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Hypothesis Testing Exercise

A F&B manager wants to determine whether there is any


significant difference in the diameter of the cutlet between two
units. A randomly selected sample of cutlets was collected from
both units and measured? Analyze the data and draw inferences
at 5% significance level. Please state the assumptions and tests
that you carried out to check validity of the assumptions.

Minitab File : Cutlets.mtw


ANS
Cutlets = pd.read_csv("C:\\Users\\RUSHIKESH\\Downloads\\Cutlets.csv")
here ,h0: unitA = munitB
h1: unitA =/= unitB
we have to perform two sample 2 tail test

stats.ttest_ind( cutlets["Unit A"] , cutlets["Unit B"]) [1]


P value = 0.47223

as the p value is greater than 0.05


we will go with the h0
which is unitA = unitB
Hypothesis Testing Exercise
A hospital wants to determine whether there is any difference in
the average Turn Around Time (TAT) of reports of the
laboratories on their preferred list. They collected a random
sample and recorded TAT for reports of 4 laboratories. TAT is
defined as sample collected to report dispatch.

Analyze the data and determine whether there is any difference in


average TAT among the different laboratories at 5% significance
level.
 
 
Minitab File: LabTAT.mtw
ANS
LABTAT=pd.read_csv("C:\\Users\\RUSHIKESH\\Downloads\\labTAT.csv")

here, h0: L1 = L2 = L3 = L4
h1: one of them are not equal
here we have to perform ANOVA test

stats.f_oneway( LABTAT["Laboratory 1"] , LABTAT["Laboratory 2"], LABTAT["Laboratory 3"], LABTAT["Laboratory 4"]) [1]

P value = 2.1156708949992414e-57

As we can see that the p value is very less than 0.05


We can say that there is difference in average TAT among the different laboratories.
Hypothesis Testing Exercise
Sales of products in four different regions is tabulated for males and females.
Find if male-female buyer rations are similar across regions.

East West North South


Males 50 142 131 70
Females 550 351 480 350

• All proportions are equal 1. Check p-value


H0
2. If p-Value < alpha,
we reject Null
Hypothesis
Ha • Not all Proportions are equal

Buyer Ratio.mtw
ANS
BR= pd.read_csv("C:\\Users\\RUSHIKESH\\Downloads\\BuyerRatio.csv")
table = BR.iloc[:,1:6]
EAST WEST NORTH SOUTH
0 50 412 131 70
1 435 1523 1356 750

As the given data was in categorical form and then converted into tabular format
we will perform the chi square test
here, h0: all proportional are equal
h1: all proprotional are not equal

stats.chi2_contingency (table) [1]


P value = 0.6603

as we can see the p value is greater than 0.05


we will reject the h0
means all proportional are not equal
Hypothesis Testing Exercise
TeleCall uses 4 centers around the globe to
process customer order forms. They audit a certain
% of the customer order forms. Any error in order
form renders it defective and has to be reworked
before processing. The manager wants to check
whether the defective % varies by centre. Please
analyze the data at 5% significance level and help
the manager draw appropriate inferences

Minitab File: CustomerOrderForm.mtw


 
ANS
telecall= pd.read_csv("C:\\Users\\RUSHIKESH\\Downloads\\Costomer+OrderForm.csv")

You might also like