1 / 8

Linear Regression

Problems where one variable is used to predict the behavior of a second variable are called regression problems. If a linear function or line is used to approximate the data, then the technique is referred to as linear regression .

santos
Download Presentation

Linear Regression

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Problems where one variable is used to predict the behavior of a second variable are called regression problems. If a linear function or line is used to approximate the data, then the technique is referred to as linear regression. A statistical method used to determine a unique linear function or line is based on least squares. Linear Regression

  2. When determining the least-squares line, calculators often compute a real number r, called the correlation coefficient, where –1≤r≤1. When r is positive and near 1, low x-values correspond to low y-values and high x-values correspond to high y-values. For example, there is a positive correlation between years of education x and income y. More years of education correlate with higher income: positive correlation. Linear Regression

  3. r = 1 0 < r < 1 Linear Regression

  4. r = –1 –1 < r < 0 Linear Regression

  5. If r ≈ 0, then there is little or no correlation between the data points. In this case, a linear function does not provide a suitable model. r ≈ 0 Linear Regression

  6. Find the line of least-squares fit for the data points (1, 1), (2, 3), and (3, 4). What is the correlation coefficient? Plot the data and graph the line. Example 7 Determining a line of least-squares fit Solution Begin by entering the three data points into the STAT EDIT menu.

  7. Select the LinReg option from the STAT CALC menu. The line (linear function) of least-squares is given by the formula Example 7 Determining a line of least-squares fit Solution (continued) Begin by entering the three data points into the STAT EDIT menu.

  8. The correlation coefficient is r ≈ 0.98.Since r ≠ 1, the line does not provide an exact model of the data. Example 7 Determining a line of least-squares fit Solution (continued)

More Related