Sunteți pe pagina 1din 6

MATH 3020

Exam 1: Due 5/18/2015

GROUND RULES:

You are to work alone on this exam. You can ask me questions, but you
can not discuss any part of this exam with anyone else. You can use your course
notes, text book, and any other resource that you deem relevant. Giving or receiv-
ing unauthorized assistance, will result in you receiving 0/100 on this exam (at a
minimum).

Show all of your work to receive full credit! If you use R (which I do encourage where
appropriate), you must print out all code and output to receive any credit. Read
the last sentence again. I will ignore R code that you have written in yourself. If
you use any other software (e.g., Maple, etc.), please turn in all relevant code and
output. With that being said, you should still summarize your solutions in a clear
and concise fashion; i.e., I will not search through pages of R output to find your
answer.

Please write up your solutions paying attention to neatness and organization.


Again, I will NOT sort through R output to find your answer. Further, you should
create informative labels for all figures.

1
Problem 1: The shear strengths of 100 spot welds in a titanium alloy are provided
below.

weld<-c(5408, 5431, 5475, 5442, 5376, 5388, 5459, 5422, 5416, 5435,
5420, 5429, 5401, 5446, 5487, 5416, 5382, 5357, 5388, 5457,
5407, 5469, 5416, 5377, 5454, 5375, 5409, 5459, 5445, 5429,
5463, 5408, 5481, 5453, 5422, 5354, 5421, 5406, 5444, 5466,
5399, 5391, 5477, 5447, 5329, 5473, 5423, 5441, 5412, 5384,
5445, 5436, 5454, 5453, 5428, 5418, 5465, 5427, 5421, 5396,
5381, 5425, 5388, 5388, 5378, 5481, 5387, 5440, 5482, 5406,
5401, 5411, 5399, 5431, 5440, 5413, 5406, 5342, 5452, 5420,
5458, 5485, 5431, 5416, 5431, 5390, 5399, 5435, 5387, 5462,
5383, 5401, 5407, 5385, 5440, 5422, 5448, 5366, 5430, 5418)

Using R, complete the following:

(a) Calculate the sample mean, variance, and standard deviation.

(b) Construct a stem-and-leaf diagram for these data.

(c) Calculate the quartiles, 5th percentile, and 95th percentile. Write a short descrip-
tion of what these summary measures represent.

(d) Create a histogram of the data. Does the data appear to be symmetric or skewed?
Explain.

(e) Create box plot of the data. Does there appear to be any outliers in the data?
Discuss. Does the data appear to be symmetric or skewed? Explain.

2
Problem 2: An important characteristic of water is the concentration of suspended solid
material. The following data consists of 60 measurements on suspended solids from a
certain lake.

water<-c( 42.4, 65.7, 29.8, 58.7, 52.1, 55.8, 57.0, 68.7, 67.3, 67.3,
54.3, 54.0, 73.1, 81.3, 59.9, 56.9, 62.2, 69.9, 66.9, 59.0,
56.3, 43.3, 57.4, 45.3, 80.1, 49.7, 42.8, 42.4, 59.6, 65.8,
61.4, 64.0, 64.2, 72.6, 72.5, 46.1, 53.1, 56.1, 67.2, 70.7,
42.6, 77.4, 54.7, 57.1, 77.3, 39.3, 76.4, 59.3, 51.1, 73.8,
61.4, 73.1, 77.3, 48.5, 89.8, 50.7, 52.0, 59.6, 66.1, 31.6)

Using R, complete the following:

(a) Calculate the sample mean, variance, and standard deviation.

(b) Construct a stem-and-leaf diagram for these data.

(c) Calculate the quartiles, 5th percentile, and 95th percentile. Write a short descrip-
tion of what these summary measures represent.

(d) Create a histogram of the data. Does the data appear to be symmetric or skewed?
Explain.

(e) Create box plot of the data. Does there appear to be any outliers in the data?
Discuss. Does the data appear to be symmetric or skewed? Explain.

3
Problem 3: Suppose that we have a sample x1 , ..., xn and that we have calculated the
sample mean (xn ) and variance (s2n ) for this sample. Now consider observing the (n+1)st
observation, call it xn+1 . Let xn+1 and s2n+1 denote the sample mean and variance of the
sample that consists of all n + 1 observations.

(a) Show how xn+1 can be computed using xn and xn+1 .

(b) Show how s2n+1 can be computed using s2n , xn , and xn+1 .

4
Problem 4: An engineer at a semiconductor company wants to model the relationship
between the device HFE (y) and three parameters: Emitter-RS (x1 ), Base-RS (x2 ), and
Emitter-to-Base RS (x3 ). The data is provided in the following table.

x1 x1 x1 y
Emitter-RS Base-RS E-B-RS HFE-1M-5V
14.620 226.00 7.000 128.40
15.630 220.00 3.375 52.62
14.620 217.40 6.375 113.90
15.000 220.00 6.000 98.01
14.500 226.50 7.625 139.90
15.250 224.10 6.000 102.60
16.120 220.50 3.375 48.14
15.130 223.50 6.125 109.60
15.500 217.60 5.000 82.68
15.130 228.50 6.625 112.60
15.500 230.20 5.750 97.52
16.120 226.50 3.750 59.06
15.130 226.60 6.125 111.80
15.630 225.60 5.375 89.09
15.380 229.70 5.875 101.00
14.380 234.00 8.875 171.90
15.500 230.00 4.000 66.80
14.250 224.30 8.000 157.10
14.500 240.50 10.870 208.40
14.620 223.70 7.375 133.40

Using R, complete the following:

(a) Construct scatter plots of each x versus y and comment on any relationships.

(b) Compute and interpret the three sample correlation coefficients between x and y.

5
Problem 5: For the data below, create a scatter plot of x versus y and comment on any
relationship. Also compute the correlation coefficient. If completed correctly, you should
ascertain that x and y are related and that the correlation coefficient is relatively small,
explain this phenomenon.

y x
2.0 -1.4
1.2 -1.2
-0.2 0.1
0.2 -0.6
0.3 -0.3
0.8 1.0
0.6 -0.8
0.7 0.9
0.1 0.4
1.1 -1.1
1.3 -1.2
0.3 0.6
2.1 1.5
0.0 0.3
0.6 -0.8
0.8 -0.9
3.0 -1.8
-0.1 -0.2
0.1 0.0
0.9 0.9
0.5 -0.6
0.6 -0.7
0.1 0.2
1.3 1.1
1.8 -1.3
0.8 -0.9
0.4 -0.7
0.6 0.7
0.2 -0.4
0.1 0.2
0.4 0.4
2.3 1.6
-0.1 0.1
0.6 -0.8
5.2 2.2
1.0 -1.0
0.3 0.5

S-ar putea să vă placă și