Simple Linear Regression is a statistical method used to model the relationship between a single dependent variable \(Y\) and a single independent variable \(X\).
The goal is to find a linear relationship that best predicts the outcome based on the predictor. In this example, we use the built-in cars dataset to analyze the relationship between speed and stopping distance.
In this presentation, we will: - Define the mathematical model. - Visualize data using ggplot2. - Explore interactive 3D visualizations with plotly.