Python for Introductory Statistics: Lab WorkbookXYZ Homework Edition

⇩ Download ▾

12.1 Scatter Plot and Correlation

Demo Vidoe Link Scatter Plot

Watch demo video 2 Correlation Coefficient

Lab 12.1.1

The number of years (age) x and prices y, for 10 cars is listed below. Compute the correlation coefficient and display the scatter plot.

x1035147416910
y 17000 20000 15000 10000 5000 9000 10000 2000 8000 9000

view answer

Adapted from Python for Introductory Statistics: Student's Lab Workbook, by Simon Aman (Truman College, City Colleges of Chicago), licensed under CC BY 4.0. Changes were made: reformatted as an accessible XYZ web edition with live in-browser code cells. License: CC-BY-4.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.