Chapter 3 Quiz 1 (Quiz on Feb 3rd.)
The data on maximum temperature (in Fahrenheit) for 16 days in Santa Cruz are provided below.
37.8,52.9,43.7,46,27,81,14,48.5,43.7,45.9,50.3,56,46,43.7,31.2,36.4
By definiction, the sample mean is ˉX=∑ni=1xin=37.8+52.9+⋯+36.416=44.00625≈44.01
## [1] 14.0 27.0 31.2 36.4
## [1] 37.8 43.7 43.7 43.7
## [1] 45.9 46.0 46.0 48.5
## [1] 50.3 52.9 56.0 81.0
Therefore, the median is by definition 43.7+45.92=44.8
## x
## 14 27 31.2 36.4 37.8 43.7 45.9 46 48.5 50.3 52.9
## 1 1 1 1 1 3 1 2 1 1 1
## 56 81
## 1 1
The mode is 43.7 because it shows up three times.
By definition, the variance is S2=∑ni=1(xi−ˉx)2n−1=(37.8−44.01)2+(52.9−44.01)2+⋯+(36.4−44.01)216−1≈207.538
By definition, it is
sˉx×100%=√207.3844.01×100%≈32.73%
First, compute the first quartile as 1QR=36.4+37.82=37.1 then the third quartile is 3QR=48.5+50.32=49.4 Hence, the interquartile range is IQR=3QR−1QR=49.4−37.1=12.3
Method 1: Z-score First compute the z-score as Z=X−ˉXS=81−44.01√207.538≈2.568>2 This is an outlier!
Method 2: LF/UF The LF is given by LF=Q1−1.5×IQR=37.1−1.5×12.3=18.65 and the UF is given by UF=Q3+1.5×IQR=49.4+1.5×12.3=67.85 Because 81>67.85, this is an outlier!
Exercise 3.8 Find the correct option in the following multiple choice questions.