You are on page 1of 11

University of Management and Technology

MID-Term Exam

Semester ---------

Session-Fall 2022
Name:

Registration No:

Subject: Marks Obtained:

Instructor: Muhammad Farooq Total Marks: 40

Q1
To study the effect of temperature on yield in a chemical process, five batches were produced at each
of three temperature levels. Use a .05 level of significance to test whether the temperature level has an
effect on the mean yield of the process. Only interpret the relevant tables. And give your conclusion.

Table 1:Descriptive
Statistic Std. Error
yield of chemical Mean 30.0000 1.20712
95% Confidence Interval for Lower Bound 27.4110
Mean Upper Bound 32.5890
5% Trimmed Mean 29.8889
Median 30.0000
Std. Deviation 4.67516
Minimum 23.00
Maximum 39.00
Table 2:
Kolmogorov-Smirnova
Statistic df Sig.
yield of chemical .100 15 .200*
Table 3

Test of Homogeneity of Variances


Levene Statistic df1 df2 Sig.
yield oc chemical Based on Mean .717 2 12 .508

Table 4

ANOVA
yield of chemical
Sum of Squares df Mean Square F Sig.
Between Groups 70.000 2 35.000 1.780 .210
Within Groups 236.000 12 19.667
Total 306.000 14
Table 5

Robust Tests of Equality of Means


yield oc chemical
Statistica df1 df2 Sig.
Welch 1.386 2 7.573 .307
a. Asymptotically F distributed.

Table 6
Multiple Comparisons
Dependent Variable: yield of chemical
Mean Difference
(I) temperature of process (J) temperature of process (I-J) Sig.
LSD 50 C 60 C 4.00000 .179
5.00000 .100
70 C 60 C -1.00000 .728
Tamhane 50 C 60 C 4.00000 .565
5.00000 .346
70 C -4.00000 .565
1.00000 .967
70 C 70 C -5.00000 .346
60 C -1.00000 .967

Q2
As the price of oil rises, there is increased worldwide interest in alternate sources of energy. A
Financial Times/Harris Poll surveyed people in six countries to assess attitudes toward a variety of
alternate forms of energy (Harris Interactive website, February 27, 2008). The data in the following
table are a portion of the poll’s findings concerning whether people favor or oppose the building of
new nuclear power plants.
a) Conduct a hypothesis test to determine whether people’s attitude toward building new nuclear
power plants is independent of country. What is your conclusion?
b) Using the percentage of respondents who “strongly favor” and “favor more than oppose,”
which country has the most favorable attitude toward building new nuclear power plants?
Which country has the least favorable attitude?
c) Also interpret the graph.

Response * country Crosstabulation


Country
Great United
Britan France Italy Spain Germany State Total
Response Strongly favor 2.2% 2.5% 4.6% 2.1% 2.0% 3.2% 16.5%
Favor more 5.4% 5.7% 4.8% 3.4% 4.2% 5.1% 28.6%
than oppose
Oppose more 5.8% 5.2% 3.4% 4.8% 5.0% 4.9% 29.1%
than favor
Strongly 3.4% 3.3% 3.4% 6.9% 6.0% 2.7% 25.7%
oppose
Total 16.7% 16.7% 16.2% 17.2% 17.3% 15.8% 100.0%

Chi-Square Tests
Asymptotic
Significance (2-
Value df sided)
Pearson Chi-Square 421.462 a
15 .000
Q3.
A Little League baseball coach wants to know if his team is representative of other teams in scoring
runs. Nationally, the average number of runs scored by a Little League team in a game is 5.7. He
chooses twenty five games at random in which his team scored 5, 9, 4, 11, 9, 7, 5, 8, 10, 8, 7, 6, 9, 8,
5, 6, 5, 6, 5, 4, 4, 4, 5, 6 and 8 runs. Is it likely that his team's scores could have come from the
national distribution? Assume an alpha level of 0.01. Because the team's scoring rate could be either
higher than or lower than the national average, the problem calls for a two‐tailed test.
a. State the null and alternative hypotheses?
b. Interpret the descriptive statistics in the table below?
c. Using the output of one-sample which ever is appropriate in this situation describe your
findings regarding the hypothesis you have constructed?
d. Repeat your findings for alpha level 0.1.

Table 1

Tests of Normality
Kolmogorov-Smirnova Shapiro-Wilk
Statistic df Sig. Statistic df Sig.
runs scored .188 23 .034 .910 23 .040
a. Lilliefors Significance Correction

Table 2:

One-Sample Statistics
N Mean Std. Deviation Std. Error Mean
runs scored 23 6.3478 1.96813 .41038
Table 3

One-Sample Test
Test Value = 5.7
90% Confidence Interval of the
Difference
t df Sig. (2-tailed) Mean Difference Lower Upper
runs scored 1.579 22 .129 .64783 -.0569 1.3525

Table 4

Runs Test 2
runs scored
Test Value a
5.7000
Total Cases 23
Number of Runs 12
Z .000
Asymp. Sig. (2-tailed) 1.000

You might also like