1. The following are monthly rents paid by a sample of 30 households selected from a small city: 880, 1081, 721, 1075, 1023, 775, 1235, 750, 965, 960, 1210, 985, 1231, 932, 850, 825, 1000, 915, 1191, 1035, 1151, 630, 1175, 952, 1100, 1140, 750, 1140, 1370, 1280.
a. What type of data is this? Be as specific as possible. (1 point)
Construct a stem-and-leaf plot of the data and order the “leaves” from smallest to largest. (2 points)
Sol:
Type of data is quantitative and in specific it is dicrete variable
stem and leaf plot :left side is stem and right side is leaf
rent<- c(880, 1081, 721, 1075, 1023, 775, 1235, 750, 965,
960, 1210, 985, 1231, 932, 850, 825, 1000, 915, 1191, 1035,
1151,
630, 1175, 952, 1100, 1140, 750, 1140, 1370, 1280)
stem(rent,scale=3)
Output:
The decimal point is 1 digit(s) to the right of the |
62 | 0
64 |
66 |
68 |
70 |
72 | 1
74 | 00
76 | 5
78 |
80 |
82 | 5
84 | 0
86 |
88 | 0
90 | 5
92 | 2
94 | 2
96 | 05
98 | 5
100 | 0
102 | 35
104 |
106 | 5
108 | 1
110 | 0
112 |
114 | 001
116 | 5
118 | 1
120 | 0
122 | 15
124 |
126 |
128 | 0
130 |
132 |
134 |
136 | 0
Get Answers For Free
Most questions answered within 1 hours.