The above simple linear regression examples and problems aim to help you understand better the whole idea behind simple linear regression equation. With an estimated slope of – 502.4, we can conclude that the average car price decreases $502.2 for each year a car increases in age. The above 3 diagrams are made with Meta Chart. Let’s use the data from the table and create our Scatter plot and linear regression line: When we use the simple linear regression equation, we have the following results: Now, we see that we have a negative relationship between the car price (Y) and car age(X) – as car age increases, price decreases. Here is the table of the data: Car Age (in years) You have to examine the relationship between the age and price for used cars sold in the last year by a car dealership company. Let’s see an example of the negative relationship. This was a simple linear regression example for a positive relationship in business. The formula estimates that for each increase of 1 dollar in online advertising costs, the expected monthly e-commerce sales are predicted to increase by $171.5. The slope of 171.5 shows that each increase of one unit in X, we predict the average of Y to increase by an estimated 171.5 units. The orange diagonal line in diagram 2 is the regression line and shows the predicted score on e-commerce sales for each possible value of the online advertising costs. In our example, the relationship is strong. If data points are closer when plotted to making a straight line, it means the correlation between the two variables is higher. Linear regression aims to find the best-fitting straight line through the points. The best-fitting line is known as the regression line. All you need are the values for the independent (x) and dependent (y) variables (as those in the above table).
GIVEN THE ESTIMATED SIMPLE LINEAR REGRESSION EQUATION FREE
Note: You can find easily the values for Β 0 and Β 1 with the help of paid or free statistical software, online linear regression calculators or Excel.
![given the estimated simple linear regression equation given the estimated simple linear regression equation](https://us-static.z-dn.net/files/dfc/aeefed98593c3cd630a52d7179f92205.png)
Let’s see the simple linear regression equation. In our example, above Scatter plot shows how much online advertising costs affect the monthly e-commerce sales. The Scatter plot shows how much one variable affects another. Now, let’ see how the Scatter diagram looks like: We will use the above data to build our Scatter diagram. So, if we want to predict the monthly e-commerce sales from the online advertising costs, the higher the value of advertising costs, the higher our prediction of sales. The positive correlation means that the values of the dependent variable (y) increase when the values of the independent variable (x) rise. We can see that there is a positive relationship between the monthly e-commerce sales (Y) and online advertising costs (X). The following table represents the survey results from the 7 online stores. Your task is to find the equation of the straight line that fits the data best. You have the survey results for 7 online stores for the last year. You have to study the relationship between the monthly e-commerce sales and the online advertising costs.
![given the estimated simple linear regression equation given the estimated simple linear regression equation](https://1.bp.blogspot.com/-P5Y6JHsg3Fc/XZG7YB5t-VI/AAAAAAAAAjQ/BVZiJzyNG744xWyq7h5GqW5vvRT9KmqDwCLcBGAsYHQ/s1600/Regression6.png)
Β 1 – the regression coefficient (shows how much Y changes for each unit change in X) Β 0 – is a constant (shows the value of Y when the value of X=0) X – the value of the independent variable,
![given the estimated simple linear regression equation given the estimated simple linear regression equation](http://www.spss-tutorials.com/img/simple-linear-regression-b-coefficients.png)
![given the estimated simple linear regression equation given the estimated simple linear regression equation](https://d2vlcm61l7u1fs.cloudfront.net/media/0e4/0e46addd-652c-4c61-b358-0c88d212b96a/phpLAvm7t.png)
In our previous post linear regression models, we explained in details what is simple and multiple linear regression.