In: Statistics and Probability
Assume you are a realtor in Bradenton, Florida. You have recently obtained a listing of the selling prices of the homes that have sold in that area in the last 6 months. You wish to organize those data so you will be able to provide potential buyers with useful information. Use the following data to create a histogram, frequency polygon, and cumulative frequency polygon.
142,000 127,000 99,600 162,000 89,000 93,000 99,500 73,800 135,000 119,500 67,900 156,300 104,500 108,650 123,000 91,000 205,000 110,000 156,300 104,000 133,900 179,000 112,000 147,000 321,550 87,900 88,400 180,000 159,400 205,300 144,400 163,000 96,000 81,000 131,000 114,000 119,600 93,000 123,000 187,000 96,000 80,000 231,000 189,500 177,600 83,400 77,000 132,300 166,000
OR by using R program
X=c(142000 ,127000 ,99600 ,162000 ,89000, 93000, 99500,
73800,135000,119500, 67900, 156300,104500 ,108650, 123000,91000
,205000 ,110000, 156300 ,104000 ,133900, 179000, 112000, 147000
,321550, 87900, 88400 ,180000, 159400 ,205300 ,144400, 163000,96000
,81000, 131000, 114000 ,119600, 93000 ,123000, 187000 ,96000
,80000, 231000 ,189500, 177600, 83400 ,77000 ,132300 ,166000)
a=hist(X,col=1:10,main="Histogram")
F=(a$counts)
M=a$mids
plot(M,F,"l",col=4, main="Frequency Polygon")
plot(M,cumsum(F),"l",col=4, main="Cummulative Frequency
Polygon")