The following data represent the square footage and rent for apartments in the borough of
Queens and Nassau County, New York.
Queens (New York City)
Nassau County (Long Island)
Square Footage, x
Rent per Month, y
Square Footage, x
Rent per Month, y
500
650
1100
1875
588
1215
588
1075
1000
2000
1250
1775
688
1655
556
1050
825
1250
825
1300
460
1805
743
1475
1259
2700
660
1315
650
1200
975
1400
560
1250
1429
1900
1073
2350
800
1650
1452
3300
1906
4625
1305
3100
1077
1395
Source: apartments.com
1. On the same graph, draw a scatter diagram for both Queens and Nassau County
apartments treating square footage as the explanatory variable. Be sure to use a
different plotting symbol for each group.
Hint: Understanding the following R example may help you to answer the above part
(1).