Week 6

Regression and Correlation

Curve fitting, correlation, linear regression, and predictions.

Learning goals

Suggested classroom flow

SessionFocusOutput
Day 1Concept introduction and guided examplesNotebook or script
Day 2Hands-on lab and teacher walkthroughWorking code
Day 3Practice tasks and discussionAssignment draft
Day 4Assessment and mini projectSubmission

Mini project

Sales Predictor

Outcome for the week: students should finish with usable code, a short explanation, and at least one visual or result artifact.

Quick MCQ preview

Q1. Regression usually predicts?

Explanation: Regression predicts continuous values.

Q2. Correlation close to 1 means?

Explanation: A value near 1 suggests strong positive correlation.

Q3. A scatter plot helps visualize?

Explanation: Scatter plots show relationships.