Introduction To Simple Linear Regression: - K.Tejashree (23H51A66F8)
Introduction To Simple Linear Regression: - K.Tejashree (23H51A66F8)
SIMPLE LINEAR
REGRESSION
-K.Tejashree(23H51A66F8)
What is Linear Regression?
Linear regression is a statistical analysis technique used to model the relationshi
one independent variable and one dependent variable. It aims to predict a linear
between these variables by fitting a linear equation to observed data1.
In simple terms, linear regression helps us understand how changes in one varia
are associated with changes in another variable.
Multiple:
Simple:
Two or more independent
One independent
variables.
variable.
Assumptions of Linear
Regression
Ensure the data meets certain criteria for accurate predictions.
1 Linearity 2 Independence
The relationship Data points must be
between variables independent of each
must be linear. other.
3 Homoscedasticity 4 Normality
Equal variance of Errors should follow a
errors across the normal distribution.
range of predictor
values.
Simple Linear Regression
Explores the relationship between one independent and one dependent variable.
Data Collection
Gather relevant data on both variables.
Scatter Plot
Visualize the relationship between the variables.
Regression Line
Find the best-fit line that minimizes error.
Equation
Derive the equation of the line for predictions.
Fitting the Regression Line
Finding the line that best represents the relationship
between variables.
R-squared P-value
Proportion of variance Statistical significance of the
explained by the model. model.
F-statistic Residuals
Overall significance of the model.
Differences between
predicted and actual values.
Interpreting Regression
Coefficients
Understanding the impact of independent variables on the
dependent variable.
1 Slope 2 Intercept
Change in dependent Value of the
variable for a unit dependent variable
change in independent when all independent
variable. variables are zero.
Limitations of Linear
Regression
Not suitable for all data types and scenarios.
1 Nonlinear 2 Outliers
Relationships
Highly influential data
Can't accurately points can skew the
predict non-linear model.
relationships.
3 Multicollinearity
High correlation between independent variables can
affect results.
Practical Applications of
Linear Regression
Widely used in various fields for data-driven decisions.
1 Finance 2 Marketing
Predicting stock prices Optimizing advertising
and investment campaigns and
returns. customer
segmentation.
3 Healthcare
Identifying risk factors for diseases and predicting
patient outcomes.