Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The datafile 'Boston Housing.csv Download Boston Housing.csv' (pasted below) contains 506 observations from Census tracts around the city of Boston, Massachusetts. The data were originally

The datafile 'Boston Housing.csv Download Boston Housing.csv' (pasted below) contains 506 observations from Census tracts around the city of Boston, Massachusetts. The data were originally published by Harrison and Rubinfield in 1978 and have been examined by many researchers since. From these, the data provided indicate the name of the town of the Census tract, the median value of owner-occupied homes in the tract (MEDV), and the average number of rooms per home (RM) in the tract. As pointed out by Gilley and Pace (1996), the median home values were censored, so that any Census tract with a median home value of more than $50,000 was only recorded as $50,000. The interest here is to look at a simple regression model to predict the median home values in the tract.

1. Show a scatter plot of the data, including the response variable on the vertical (y) axis and the explanatory variable on the horizontal (x) axis.

2. Describe the pattern of data that you see between MEDV and RM for the 506 Census tracts. Are there any unusual features in the plot?

TOWN MEDV RM Nahant 24 6.575 Swampscott 21.6 6.421 Swampscott 34.7 7.185 Marblehead 33.4 6.998 Marblehead 36.2 7.147 Marblehead 28.7 6.43 Salem 22.9 6.012 Salem 27.1 6.172 Salem 16.5 5.631 Salem 18.9 6.004 Salem 15 6.377 Salem 18.9 6.009 Salem 21.7 5.889 Lynn 20.4 5.949 Lynn 18.2 6.096 Lynn 19.9 5.834 Lynn 23.1 5.935 Lynn 17.5 5.99 Lynn 20.2 5.456 Lynn 18.2 5.727 Lynn 13.6 5.57 Lynn 19.6 5.965 Lynn 15.2 6.142 Lynn 14.5 5.813 Lynn 15.6 5.924 Lynn 13.9 5.599 Lynn 16.6 5.813 Lynn 14.8 6.047 Lynn 18.4 6.495 Lynn 21 6.674 Lynn 12.7 5.713 Lynn 14.5 6.072 Lynn 13.2 5.95 Lynn 13.1 5.701 Lynn 13.5 6.096 Sargus 18.9 5.933 Sargus 20 5.841 Sargus 21 5.85 Sargus 24.7 5.966 Lynnfield 30.8 6.595 Lynnfield 34.9 7.024 Peabody 26.6 6.77 Peabody 25.3 6.169 Peabody 24.7 6.211 Peabody 21.2 6.069 Peabody 19.3 5.682 Peabody 20 5.786 Peabody 16.6 6.03 Peabody 14.4 5.399 Peabody 19.4 5.602 Danvers 19.7 5.963 Danvers 20.5 6.115 Danvers 25 6.511 Danvers 23.4 5.998 Middleton 18.9 5.888 Topsfield 35.4 7.249 Hamilton 24.7 6.383 Wenham 31.6 6.816 Beverly 23.3 6.145 Beverly 19.6 5.927 Beverly 18.7 5.741 Beverly 16 5.966 Beverly 22.2 6.456 Beverly 25 6.762 Manchester 33 7.104 North Reading 23.5 6.29 North Reading 19.4 5.787 Wilmington 22 5.878 Wilmington 17.4 5.594 Wilmington 20.9 5.885 Burlington 24.2 6.417 Burlington 21.7 5.961 Burlington 22.8 6.065 Burlington 23.4 6.245 Woburn 24.1 6.273 Woburn 21.4 6.286 Woburn 20 6.279 Woburn 20.8 6.14 Woburn 21.2 6.232 Woburn 20.3 5.874 Reading 28 6.727 Reading 23.9 6.619 Reading 24.8 6.302 Reading 22.9 6.167 Wakefield 23.9 6.389 Wakefield 26.6 6.63 Wakefield 22.5 6.015 Wakefield 22.2 6.121 Melrose 23.6 7.007 Melrose 28.7 7.079 Melrose 22.6 6.417 Melrose 22 6.405 Stoneham 22.9 6.442 Stoneham 25 6.211 Stoneham 20.6 6.249 Winchester 28.4 6.625 Winchester 21.4 6.163 Winchester 38.7 8.069 Winchester 43.8 7.82 Winchester 33.2 7.416 Medford 27.5 6.727 Medford 26.5 6.781 Medford 18.6 6.405 Medford 19.3 6.137 Medford 20.1 6.167 Medford 19.5 5.851 Medford 19.5 5.836 Medford 20.4 6.127 Medford 19.8 6.474 Medford 19.4 6.229 Medford 21.7 6.195 Malden 22.8 6.715 Malden 18.8 5.913 Malden 18.7 6.092 Malden 18.5 6.254 Malden 18.3 5.928 Malden 21.2 6.176 Malden 19.2 6.021 Malden 20.4 5.872 Malden 19.3 5.731 Everett 22 5.87 Everett 20.3 6.004 Everett 20.5 5.961 Everett 17.3 5.856 Everett 18.8 5.879 Everett 21.4 5.986 Everett 15.7 5.613 Somerville 16.2 5.693 Somerville 18 6.431 Somerville 14.3 5.637 Somerville 19.2 6.458 Somerville 19.6 6.326 Somerville 23 6.372 Somerville 18.4 5.822 Somerville 15.6 5.757 Somerville 18.1 6.335 Somerville 17.4 5.942 Somerville 17.1 6.454 Somerville 13.3 5.857 Somerville 17.8 6.151 Somerville 14 6.174 Somerville 14.4 5.019 Cambridge 13.4 5.403 Cambridge 15.6 5.468 Cambridge 11.8 4.903 Cambridge 13.8 6.13 Cambridge 15.6 5.628 Cambridge 14.6 4.926 Cambridge 17.8 5.186 Cambridge 15.4 5.597 Cambridge 21.5 6.122 Cambridge 19.6 5.404 Cambridge 15.3 5.012 Cambridge 19.4 5.709 Cambridge 17 6.129 Cambridge 15.6 6.152 Cambridge 13.1 5.272 Cambridge 41.3 6.943 Cambridge 24.3 6.066 Cambridge 23.3 6.51 Cambridge 27 6.25 Cambridge 50 7.489 Cambridge 50 7.802 Cambridge 50 8.375 Cambridge 22.7 5.854 Cambridge 25 6.101 Cambridge 50 7.929 Cambridge 23.8 5.877 Cambridge 23.8 6.319 Cambridge 22.3 6.402 Cambridge 17.4 5.875 Cambridge 19.1 5.88 Arlington 23.1 5.572 Arlington 23.6 6.416 Arlington 22.6 5.859 Arlington 29.4 6.546 Arlington 23.2 6.02 Arlington 24.6 6.315 Arlington 29.9 6.86 Belmont 37.2 6.98 Belmont 39.8 7.765 Belmont 36.2 6.144 Belmont 37.9 7.155 Belmont 32.5 6.563 Belmont 26.4 5.604 Belmont 29.6 6.153 Belmont 50 7.831 Lexington 32 6.782 Lexington 29.8 6.556 Lexington 34.9 7.185 Lexington 37 6.951 Lexington 30.5 6.739 Lexington 36.4 7.178 Bedford 31.1 6.8 Bedford 29.1 6.604 Lincoln 50 7.875 Concord 33.3 7.287 Concord 30.3 7.107 Concord 34.6 7.274 Sudbury 34.9 6.975 Sudbury 32.9 7.135 Wayland 24.1 6.162 Wayland 42.3 7.61 Weston 48.5 7.853 Weston 50 8.034 Waltham 22.6 5.891 Waltham 24.4 6.326 Waltham 22.5 5.783 Waltham 24.4 6.064 Waltham 20 5.344 Waltham 21.7 5.96 Waltham 19.3 5.404 Waltham 22.4 5.807 Waltham 28.1 6.375 Waltham 23.7 5.412 Waltham 25 6.182 Watertown 23.3 5.888 Watertown 28.7 6.642 Watertown 21.5 5.951 Watertown 23 6.373 Newton 26.7 6.951 Newton 21.7 6.164 Newton 27.5 6.879 Newton 30.1 6.618 Newton 44.8 8.266 Newton 50 8.725 Newton 37.6 8.04 Newton 31.6 7.163 Newton 46.7 7.686 Newton 31.5 6.552 Newton 24.3 5.981 Newton 31.7 7.412 Newton 41.7 8.337 Newton 48.3 8.247 Newton 29 6.726 Newton 24 6.086 Newton 25.1 6.631 Newton 31.5 7.358 Natick 23.7 6.481 Natick 23.3 6.606 Natick 22 6.897 Natick 20.1 6.095 Natick 22.2 6.358 Natick 23.7 6.393 Framingham 17.6 5.593 Framingham 18.5 5.605 Framingham 24.3 6.108 Framingham 20.5 6.226 Framingham 24.5 6.433 Framingham 26.2 6.718 Framingham 24.4 6.487 Framingham 24.8 6.438 Framingham 29.6 6.957 Framingham 42.8 8.259 Ashland 21.9 6.108 Ashland 20.9 5.876 Sherborn 44 7.454 Brookline 50 8.704 Brookline 36 7.333 Brookline 30.1 6.842 Brookline 33.8 7.203 Brookline 43.1 7.52 Brookline 48.8 8.398 Brookline 31 7.327 Brookline 36.5 7.206 Brookline 22.8 5.56 Brookline 30.7 7.014 Brookline 50 8.297 Brookline 43.5 7.47 Dedham 20.7 5.92 Dedham 21.1 5.856 Dedham 25.2 6.24 Dedham 24.4 6.538 Dedham 35.2 7.691 Needham 32.4 6.758 Needham 32 6.854 Needham 33.2 7.267 Needham 33.1 6.826 Needham 29.1 6.482 Wellesley 35.1 6.812 Wellesley 45.4 7.82 Wellesley 35.4 6.968 Wellesley 46 7.645 Dover 50 7.923 Medfield 32.2 7.088 Millis 22 6.453 Norfolk 20.1 6.23 Walpole 23.2 6.209 Walpole 22.3 6.315 Walpole 24.8 6.565 Westwood 28.5 6.861 Westwood 37.3 7.148 Westwood 27.9 6.63 Norwood 23.9 6.127 Norwood 21.7 6.009 Norwood 28.6 6.678 Norwood 27.1 6.549 Norwood 20.3 5.79 Sharon 22.5 6.345 Sharon 29 7.041 Sharon 24.8 6.871 Canton 22 6.59 Canton 26.4 6.495 Canton 33.1 6.982 Milton 36.1 7.236 Milton 28.4 6.616 Milton 33.4 7.42 Milton 28.2 6.849 Quincy 22.8 6.635 Quincy 20.3 5.972 Quincy 16.1 4.973 Quincy 22.1 6.122 Quincy 19.4 6.023 Quincy 21.6 6.266 Quincy 23.8 6.567 Quincy 16.2 5.705 Quincy 17.8 5.914 Quincy 19.8 5.782 Quincy 23.1 6.382 Quincy 21 6.113 Braintree 23.8 6.426 Braintree 23.1 6.376 Braintree 20.4 6.041 Braintree 18.5 5.708 Braintree 25 6.415 Braintree 24.6 6.431 Braintree 23 6.312 Braintree 22.2 6.083 Randolph 19.3 5.868 Randolph 22.6 6.333 Randolph 19.8 6.144 Holbrook 17.1 5.706 Holbrook 19.4 6.031 Weymouth 22.2 6.316 Weymouth 20.7 6.31 Weymouth 21.1 6.037 Weymouth 19.5 5.869 Weymouth 18.5 5.895 Weymouth 20.6 6.059 Weymouth 19 5.985 Weymouth 18.7 5.968 Cohasset 32.7 7.241 Hull 16.5 6.54 Hingham 23.9 6.696 Hingham 31.2 6.874 Rockland 17.5 6.014 Rockland 17.2 5.898 Hanover 23.1 6.516 Norwell 24.5 6.635 Scituate 26.6 6.939 Scituate 22.9 6.49 Marshfield 24.1 6.579 Marshfield 18.6 5.884 Duxbury 30.1 6.728 Pembroke 18.2 5.663 Pembroke 20.6 5.936 Boston Allston-Brighton17.8 6.212 Boston Allston-Brighton21.7 6.395 Boston Allston-Brighton22.7 6.127 Boston Allston-Brighton22.6 6.112 Boston Allston-Brighton25 6.398 Boston Allston-Brighton19.9 6.251 Boston Allston-Brighton20.8 5.362 Boston Allston-Brighton16.8 5.803 Boston Back Bay 21.9 8.78 Boston Back Bay 27.5 3.561 Boston Back Bay 21.9 4.963 Boston Back Bay 23.1 3.863 Boston Back Bay 50 4.97 Boston Back Bay 50 6.683 Boston Beacon Hill 50 7.016 Boston Beacon Hill 50 6.216 Boston Beacon Hill 50 5.875 Boston North End13.8 4.906 Boston North End13.8 4.138 Boston Charlestown15 7.313 Boston Charlestown13.9 6.649 Boston Charlestown13.3 6.794 Boston Charlestown13.1 6.38 Boston Charlestown10.2 6.223 Boston Charlestown10.4 6.968 Boston East Boston10.9 6.545 Boston East Boston11.3 5.536 Boston East Boston12.3 5.52 Boston East Boston8.8 4.368 Boston East Boston7.2 5.277 Boston East Boston10.5 4.652 Boston East Boston7.4 5 Boston East Boston10.2 4.88 Boston East Boston11.5 5.39 Boston East Boston15.1 5.713 Boston East Boston23.2 6.051 Boston East Boston9.7 5.036 Boston South Boston13.8 6.193 Boston South Boston12.7 5.887 Boston South Boston13.1 6.471 Boston South Boston12.5 6.405 Boston South Boston8.5 5.747 Boston South Boston5 5.453 Boston South Boston6.3 5.852 Boston South Boston5.6 5.987 Boston South Boston7.2 6.343 Boston South Boston12.1 6.404 Boston South Boston8.3 5.349 Boston South Boston8.5 5.531 Boston South Boston5 5.683 Boston Downtown11.9 4.138 Boston Downtown27.9 5.608 Boston Downtown17.2 5.617 Boston Downtown27.5 6.852 Boston Downtown 15 5.757 Boston Downtown17.2 6.657 Boston Downtown17.9 4.628 Boston Downtown16.3 5.155 Boston Roxbury 7 4.519 Boston Roxbury 7.2 6.434 Boston Roxbury 7.5 6.782 Boston Roxbury 10.4 5.304 Boston Roxbury 8.8 5.957 Boston Roxbury 8.4 6.824 Boston Roxbury 16.7 6.411 Boston Roxbury 14.2 6.006 Boston Roxbury 20.8 5.648 Boston Roxbury 13.4 6.103 Boston Roxbury 11.7 5.565 Boston Roxbury 8.3 5.896 Boston Roxbury 10.2 5.837 Boston Roxbury 10.9 6.202 Boston Roxbury 11 6.193 Boston Roxbury 9.5 6.38 Boston Roxbury 14.5 6.348 Boston Roxbury 14.1 6.833 Boston Roxbury 16.1 6.425 Boston Savin Hill 14.3 6.436 Boston Savin Hill 11.7 6.208 Boston Savin Hill 13.4 6.629 Boston Savin Hill 9.6 6.461 Boston Savin Hill 8.7 6.152 Boston Savin Hill 8.4 5.935 Boston Savin Hill 12.8 5.627 Boston Savin Hill 10.5 5.818 Boston Savin Hill 17.1 6.406 Boston Savin Hill 18.4 6.219 Boston Savin Hill 15.4 6.485 Boston Savin Hill 10.8 5.854 Boston Savin Hill 11.8 6.459 Boston Savin Hill 14.9 6.341 Boston Savin Hill 12.6 6.251 Boston Savin Hill 14.1 6.185 Boston Savin Hill 13 6.417 Boston Savin Hill 13.4 6.749 Boston Savin Hill 15.2 6.655 Boston Savin Hill 16.1 6.297 Boston Savin Hill 17.8 7.393 Boston Savin Hill 14.9 6.728 Boston Savin Hill 14.1 6.525 Boston Dorchester12.7 5.976 Boston Dorchester13.5 5.936 Boston Dorchester14.9 6.301 Boston Dorchester 20 6.081 Boston Dorchester16.4 6.701 Boston Dorchester17.7 6.376 Boston Dorchester19.5 6.317 Boston Dorchester20.2 6.513 Boston Dorchester21.4 6.209 Boston Dorchester19.9 5.759 Boston Dorchester 19 5.952 Boston Mattapan 19.1 6.003 Boston Mattapan 19.1 5.926 Boston Mattapan 20.1 5.713 Boston Mattapan 19.9 6.167 Boston Mattapan 19.6 6.229 Boston Mattapan 23.2 6.437 Boston Forest Hills29.8 6.98 Boston Forest Hills13.8 5.427 Boston Forest Hills13.3 6.162 Boston Forest Hills16.7 6.484 Boston Forest Hills 12 5.304 Boston Forest Hills14.6 6.185 Boston Forest Hills21.4 6.229 Boston West Roxbury23 6.242 Boston West Roxbury23.7 6.75 Boston West Roxbury25 7.061 Boston West Roxbury21.8 5.762 Boston Hyde Park20.6 5.871 Boston Hyde Park21.2 6.312 Boston Hyde Park19.1 6.114 Boston Hyde Park20.6 5.905 Chelsea 15.2 5.454 Chelsea 7 5.414 Chelsea 8.1 5.093 Chelsea 13.6 5.983 Chelsea 20.1 5.983 Revere 21.8 5.707 Revere 24.5 5.926 Revere 23.1 5.67 Revere 19.7 5.39 Revere 18.3 5.794 Revere 21.2 6.019 Revere 17.5 5.569 Revere 16.8 6.027 Winthrop 22.4 6.593 Winthrop 20.6 6.12 Winthrop 23.9 6.976 Winthrop 22 6.794 Winthrop 11.9 6.03

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transcendental And Algebraic Numbers

Authors: A O Gelfond, Leo F Boron

1st Edition

0486802256, 9780486802251

More Books

Students also viewed these Mathematics questions

Question

Make eye contact when talking and listening

Answered: 1 week ago

Question

Do not go, wait until I come

Answered: 1 week ago

Question

Pay him, do not wait until I sign

Answered: 1 week ago