0% found this document useful (0 votes)
22 views14 pages

Tutorial 1 Solutions.

Uploaded by

Chao
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views14 pages

Tutorial 1 Solutions.

Uploaded by

Chao
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Num e r i ca l Metho d s an d Da ta A n al ys i s

Lecture 1 – Calibration, Hypothesis Testing, Distribution test


Tutorial 1

Question 1

Note:
Zα = Z0.05 = 1.645 (Non reject 90%)
Zα = Z0.025 = 1.96 (Non reject 95%)

> 1.645 rejected

How about P value?


Tutorial 1

Answer 1
Note:
Zα = Z0.05 = 1.645 (Non reject 90%)
Zα = Z0.025 = 1.96 (Non reject 95%)

P < 0.05 = 0.00256 <0.05


= Null Hypothesis rejected
Tutorial 1

Question 2
The viscosity of a liquid detergent is supposed to average 800 centistokes at
25°C. A random sample of 16 batches of detergent is collected, and the
average viscosity is 812. Suppose we know that the standard deviation of
viscosity is σ= 25 centistokes.
a) State the hypotheses that you think should be tested in this experiment
b) Test these hypotheses using α= 0.05. What are your conclusions?
c) Find the P-value for the test in part (b)
d) Construct a 95 percent confidence interval on the mean breaking
strength.
Tutorial 1

Answer 2

1 - 0.9726 = 0.0274
Tutorial 1

Question 3
The shelf life of a carbonated beverage is of interest. Ten
bottles are randomly selected and tested, and the
following results are obtained.
a) We would like to demonstrate that the mean shelf
life exceeds 120 days. Set up appropriate
hypotheses for investigating this claim.
b) Test these hypotheses using α= 0.01. What are your
conclusions?
c) Find the P-value for the test in part (b).
d) Construct a 99 percent confidence interval on the
mean shelf life.
Tutorial 1

Answer 3
108 529
124 49
124 49
106 625
115 256
138 49
163 1024
159 784
134 9
139 64
average 131 3438
382 19.54482

19.54 19.54
131 − 2.821 ≤ 𝜇 ≤ 131 + (2.821)
10 10
113.57 ≤ 𝜇 ≤ 148.43
Tutorial 1

Question 4
Two machines are used for filling plastic bottles with a net volume of 16.0 ounces. The filling processes can
be assumed to be normal, with standard deviation of σ1 = 0.015 and σ2 = 0.018. The quality engineering
department suspects that both machines fill to the same net volume, whether or not this volume is 16.0
ounces. An experiment is performed by taking a random sample from the output of each machine.
a) State the hypotheses that you think should be tested in this experiment
b) Test these hypotheses using α= 0.05. What are your conclusions?
c) Find the P-value for the test in part (b)
d) Construct a 95 percent confidence interval on the mean breaking strength.
Tutorial 1

Answer 4

1- 0.9115 = 0.0885
2 sides = 0.0885 x 2 = 0.177

1.96 1.96
Tutorial 1

Question 5
Two machines in Table Q4 are used for computerized
machining iPhone 6 uni-body aluminium chassis. The Readings y1 y2
quality engineering department suspects that both 1 15.03 15.02
machines to complete the process at different net time 2 15.04 14.97
(in seconds. An experiment is performed by taking a daily 3 15.05 14.96
batch of random sample from the output of each 4 15.05 15.01
machine. Y1 is machine 1 and Y2 is machine 2. The 5 15.02 14.99
readings are in seconds of production finishing time. 6 15.01 15.03
7 14.95 15.04
If given variances for both machines are 0.015 and 0.018,
analyse your hypothesis using 95% acceptance level (α = 8 14.98 15.02
5%) to prove that both machines complete at different 9 15.02 15.01
time with: 10 14.99 15.01

a) The appropriate statistical analysis.

b) The range analysis between the two machines


(confidence Interval)
Tutorial 1

Answer 5
Readings y1 y2 alpha 5 1.96 Ho accept

1 15.03 15.02 The two machines are working at the same pace
2 15.04 14.97
Production may not be inhibit
3 15.05 14.96
CI 1.96 -0.1045934279 < u1-u2 < 0.1205934279
4 15.05 15.01
5 15.02 14.99
6 15.01 15.03
7 14.95 15.04
8 14.98 15.02
9 15.02 15.01
10 14.99 15.01
Average 15.014 15.006

Given variance 0.015 0.018


Observation 10 10

Var/n 0.0015 0.0018


Sqrt var/n 0.05744562647

Z0 0.1392621248
Tutorial 1

Question 6
Two machines in Table Q4 are used for computerized No CNC 1 CNC 2
machining (CNC machines) iPhone 6 uni-body aluminium 1 4.00 4.00
chassis. The quality engineering department suspects that 2 4.00 5.00
both machines to complete the process at different net time
3 4.00 6.00
(in seconds. An experiment is performed by taking a daily
4 5.00 7.00
batch of random sample from the output of each machine.
CNC 1 is machine 1 and CNC 2 is machine 2. The readings 5 8.00 8.00
are in seconds of production finishing time. 6 1.00 3.00
7 5.00 4.00
Analyse your hypothesis using 95% acceptance level (α = 8 2.00 2.00
5%) to prove that both machines complete at different time 9 6.00 2.00
with:
10 7.00 1.00
a) The appropriate statistical analysis. 11 3.00 5.00
12 6.00 4.00
b) The range analysis between the two machines 13 5.00 5.00
(confidence Interval) 14 3.00 3.00
15 3.00 4.00
16 8.00 2.00
17 9.00 4.00
18 6.00 2.00
19 4.00 4.00
20 4.00 6.00
Tutorial 1

Answer 6
No CNC 1 CNC 2
CNC 1 CNC 2
1 4.00 4.00
2 4.00 5.00 4.85 -0.85 0.72 4.05 -0.05 0.00
3 4.00 6.00 4.85 -0.85 0.72 4.05 0.95 0.90
4 5.00 7.00
4.85 -0.85 0.72 4.05 1.95 3.80
5 8.00 8.00
6 1.00 3.00 4.85 0.15 0.02 4.05 2.95 8.70
7 5.00 4.00
4.85 3.15 9.92 4.05 3.95 15.60
8 2.00 2.00
9 6.00 2.00 4.85 -3.85 14.82 4.05 -1.05 1.10
10 7.00 1.00 4.85 0.15 0.02 4.05 -0.05 0.00
11 3.00 5.00
12 6.00 4.00 4.85 -2.85 8.12 4.05 -2.05 4.20

13 5.00 5.00 4.85 1.15 1.32 4.05 -2.05 4.20


14 3.00 3.00
4.85 2.15 4.62 4.05 -3.05 9.30
15 3.00 4.00
16 8.00 2.00 4.85 -1.85 3.42 4.05 0.95 0.90
17 9.00 4.00
4.85 1.15 1.32 4.05 -0.05 0.00
18 6.00 2.00
19 4.00 4.00 4.85 0.15 0.02 4.05 0.95 0.90
20 4.00 6.00 4.85 -1.85 3.42 4.05 -1.05 1.10
Sum 97.00 81.00
4.85 -1.85 3.42 4.05 -0.05 0.00
Ave 4.85 4.05
4.85 3.15 9.92 4.05 -2.05 4.20

4.85 4.15 17.22 4.05 -0.05 0.00

4.85 1.15 1.32 4.05 -2.05 4.20

4.85 -0.85 0.72 4.05 -0.05 0.00

4.85 -0.85 0.72 4.05 1.95 3.80

Sum 82.55 Sum 62.95

Variance 1 4.34 Variance 2 3.31

Tot var tot var


1 82.55 2 62.95
Tutorial 1

Answer 6

t0 = 1.292856 < 2.024 (Accept H0)


Confidence Interval

(Accept H0)

You might also like