In: Statistics and Probability
Suppose you have surveyed thirty people and asked them whether they are white (W) or nonwhite (N), and how many traumas (serious accidents, rapes, or crimes) they have experienced in the past year. You also asked them to tell you whether they perceive themselves as being in the upper, middle, working, or lower class. Your survey resulted in the following raw data:
Race |
Age (years) |
Class |
Traumas (#) |
W |
18 |
W |
0 |
W |
45 |
M |
2 |
W |
23 |
W |
1 |
W |
19 |
W |
1 |
N |
25 |
W |
0 |
N |
23 |
M |
2 |
W |
38 |
M |
1 |
W |
19 |
M |
0 |
N |
21 |
W |
1 |
W |
22 |
W |
0 |
W |
28 |
W |
0 |
N |
26 |
M |
0 |
N |
35 |
W |
0 |
N |
33 |
W |
1 |
W |
24 |
W |
0 |
W |
22 |
L |
1 |
W |
19 |
M |
0 |
W |
40 |
M |
1 |
N |
23 |
M |
1 |
N |
26 |
L |
2 |
W |
38 |
W |
0 |
N |
32 |
W |
0 |
W |
18 |
M |
0 |
W |
33 |
M |
1 |
N |
21 |
W |
1 |
N |
30 |
W |
2 |
N |
27 |
M |
0 |
N |
27 |
L |
0 |
W |
33 |
U |
0 |
W |
28 |
W |
1 |
(Data based on General Social Survey files for 1987 to 1991)
QUESTIONS:
1. What type/level of measurement is the variable race?
2. What type/level of measurement is the variable class?
3. Construct raw frequency table for the variable class.
4. Construct raw frequency table for the variable trauma.
5. How many of the thirty individuals are nonwhite?
6. What percentage of the sample is white?
7. What percentage of the sample self-identified as the middle class?
8. What is the mean age for this sample?
9. What is the mean for the trauma variable?
10. What is the median age for this sample?
11. What is the mode for the variable age?
12. What is the range for the variable age?
Exercise 2:
Thirty AA batteries were tested to determine how long they would last. The results (variable = battery longevity), to the nearest minute, were recorded as follows:
423, 369, 387, 411, 393, 394, 371, 377, 389, 1409, 392, 408, 431, 401, 363, 391, 405, 382, 400, 381, 399, 415, 428, 422, 396, 372, 410, 419, 386, 390
(Data from: www.statcan.gc.ca)
QUESTIONS:
1. Construct a frequency distribution table with 5 equal classes. (Hint: the first class should be 360 to 379).
2. What is the range for this variable?
3. What is the mean and median for this variable?
4. What is the outlier among these values?
Exercise 3
Bellow find the box plot of the weekly salaries in Company X in Wayne, NJ. Answer questions 1-4 based on these data.
QUESTIONS:
1. What is approximate median weekly salary in Company X?
2. What is approximate 25th percentile salary in Company X?
3. What is approximate 75th percentile salary in Company X?
4. The interquartile range (IQR) is approximately?
Exercise 1
1. variable race is nominal type of measurement.
2. variable class is also of nominal type.
3. frequency table for the variable class.
class | freq. |
L | 3 |
M | 11 |
U | 1 |
W | 15 |
total | 30 |
4. frequency table for the variable trauma.
Trauma | freq. |
0 | 11 |
1 | 11 |
2 | 4 |
total | 30 |
5. 13 individuals are nonwhite
6. 56.67% sample is white.
7. 36.67% of the sample is the middle class.
8. mean of age =27.2
9. mean trauma variable=0.633333
10.median age=26
11. mode age=23
12. range for variable age=27
Exercise 2
1. frequency distribution table .
class | freq |
360-379 | 5 |
380-399 | 12 |
400-419 | 8 |
420-439 | 4 |
1400-1419 | 1 |
total | 30 |
2. range =1046
3.mean=430.466666
median=395
4.outlier= 1409
Exercise 3 sorry but here data is not given.