1 / 13

Correlation & Linear Regression

Correlation & Linear Regression. Using a TI-Nspire. Bivariate Data. The use of scatter plots can provide an initial visual aid in describing any relationship that might exist between two variables. Plotting the Data. Enter bivariate data into a new “List & Spreadsheet.”

mtuel
Download Presentation

Correlation & 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. Correlation& LinearRegression Using a TI-Nspire

  2. Bivariate Data • The use of scatter plots can provide an initial visual aid in describing anyrelationship that might exist between two variables.

  3. Plotting the Data • Enter bivariate data into a new “List & Spreadsheet.” • Insert a new tab “Data & Statistics” and set the x and y axes to the proper variable. • The scatterplot shows there is a positive correlation between the time spent studying and the score on the test.

  4. Strength of Relationship • The more ‘linear’ the data, the stronger the correlation. • The measure of the strength of the linear relationship is determined by calculating Pearson’s correlation coefficient which is denoted by, r. • The value of rdoes not depend on the units or which variable ischosen as x or y. • The value of r lies in the range -1  r  1. • A positive rindicates a positive relationship • A negativerindicates a negativerelationship. • The closer to 1 or -1, the stronger the correlation.

  5. Strength of Relationship • This table provides a good indication of the qualitative description of the strength of the linear relationship and the qualitative value of r.

  6. Calculating r • Enter (or go back to) the bivariate data into a new “List & Spreadsheet.” • Run Two-Variable Statistics Calculation • Select appropriate x and y variables. • Scroll down to find r

  7. LinearRegression

  8. Finding the Regression Line • The scatterplot below shows a student’s Regents Test Score v. Hours of Study • Since r = 0.85, a strong linear relationship exists and the equation for the line of best fit can be written and used.

  9. Finding the Equation for the Line of Best Fit

  10. Plotting the Regression Line Method 2 On the existing scatterplot, go to: • Menu Analyze Regression Show Linear

  11. Goodnessof Fit • A residual valueis the vertical distance an observed value (data) is from the predicted value (line). • In general, a model fits the data well if the differences between the observed values and the model's predicted values are small and unbiased.

  12. Using the Regression Line • If there is no linear correlation, don’t use the regression equation to make predictions. • When using the regression equation for predictions, stay within the scope of the available data. • Do not conclude that correlation implies causation. There could be other lurking variables.

  13. SpuriousCorrelationshttp://www.tylervigen.com/

More Related