5.1.3 Basic Linear Regression Model
After analysing the regression equation, let’s delve into a use case to explore simple linear regression and evaluate its effectiveness in accurately predicting the target value.
Use Case 5.1. Imagine, an insurance company aims to build a model for calculating annual insurance premiums for individuals across various age groups. They possess historical data on insurance premiums for people of different age groups. Our goal is to employ simple linear regression to predict the insurance premium required for a new set of individuals. To simplify and enhance comprehension, we have employed a reduced dataset (32 observations) for our evaluation.
Take a look at the data set and scatter plot in Fig 5.3 which shows the insurance premium for various age groups. In this case, there are two variables, age is an independent (or predictor) variable while insurance is a dependent (or target) variable. Initially, we may wonder how age is related to insurance premiums, and it's challenging to draw any concrete conclusions solely from the graph. However, by performing a simple linear regression analysis, we may be able to address this issue.