1 / 31

Functions and Mathematical Models

Functions and Mathematical Models. Used to compute the values on a variable [Y] given values on other variables [X 1, X 2 . . .]. Purposes:. Prediction of values of Y given known values of X. Purposes:. Prediction of values of Y given known values of X

jacques
Télécharger la présentation

Functions and Mathematical Models

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. Functions and Mathematical Models

  2. Used to compute the values on a variable [Y]given values on other variables [X1, X2 . . .]

  3. Purposes: • Prediction of values of Y given known values of X

  4. Purposes: • Prediction of values of Y given known values of X • Explanation by comparing predicted values of Y with known values of Y

  5. Purposes: • Prediction of values of Y given known values of X • Explanation by comparing predicted values of Y with known values of Y • Estimation of Y: Example: using CPI to estimate real from nominal values

  6. Purposes: • Prediction of values of Y given known values of X • Explanation by comparing predicted values of Y with known values of Y • Estimation of Y: Example: using CPI to estimate real from nominal values • Conversion of values to a different scale: Example: computing index numbers

  7. Other examples of functions: • Converting absolute numbers into relative numbers, e.g., sports injury rate, country HIV rate

  8. Example: conversion of Celsius to Fahrenheit

  9. Example: conversion of Celsius to Fahrenheit AKA: Night of the Living Dead Chemistry Lesson

  10. Example: conversion of Celsius to Fahrenheit At what temperature Fahrenheit does water freeze?

  11. Example: conversion of Celsius to Fahrenheit At what temperature Fahrenheit does water freeze? 32 degrees

  12. Example: conversion of Celsius to Fahrenheit At what temperature Fahrenheit does water freeze? 32 degrees At what temperature Celsius does water freeze?

  13. Example: conversion of Celsius to Fahrenheit At what temperature Fahrenheit does water freeze? 32 degrees At what temperature Celsius does water freeze? 0 degrees

  14. Example: conversion of Celsius to Fahrenheit At what temperature Fahrenheit does water boil?

  15. Example: conversion of Celsius to Fahrenheit At what temperature Fahrenheit does water boil? 212 degrees

  16. Example: conversion of Celsius to Fahrenheit At what temperature Fahrenheit does water boil? 212 degrees At what temperature Celsius does water boil?

  17. Example: conversion of Celsius to Fahrenheit At what temperature Fahrenheit does water boil? 212 degrees At what temperature Celsius does water boil? 100 degrees

  18. Example: conversion of Celsius to Fahrenheit

  19. Example: conversion of Celsius to Fahrenheit • So, in Fahrenheit, to get from freezing to boiling takes 180 degrees (212 minus 32) • In Celsius, it takes 100 degrees (100 minus 0) • Dividing 180 by 100, we see that every 1 degree Celsius is equivalent to 1.8 degrees Fahrenheit

  20. Example: conversion of Celsius to Fahrenheit Y = 32 + 1.8 X Where Y = Fahrenheit temperature x= Celsius temperature

  21. Go to Excel file • Enter 4 numbers between 32 and 212 in the next four cells in the Celsius column • Enter the formula for the “Celsius to Fahrenheit” function in the first empty cell in the Fahrenheit column • Copy the function for the next three cells • Create XY scatter diagram (along with me)

  22. Function yields a straight line • Formula: Y = b + aX • “a” is slope: the amount of change in Y given a unit change in X • “b” is intercept: the value of Y when X=0 • Alternative arrangement: Y = aX + b

  23. Y = b + aX [Y = aX + b] is also called the regression equation

  24. Function is linear:Y changes by constant absolute amount given fixed change in X

  25. Linear functions are one of the two primary types of functions for this class.The other type is exponential functions.

  26. Linear vs. Exponential

  27. Using linear functions

  28. Using linear functions • To compute Y: Plug in value of X and do arithmetic

  29. Using linear functions • To compute Y: Plug in value of X and do arithmetic • To solve for X given Y: • Y = b + aX • Y – b = aX • (Y – b)/a = X

  30. Adding trendline to xy scatter diagrams: Open the Minimum Wage Excel file from Lab 8

  31. R2 . . . Coefficient of determination • Measures degree to which predicted values match actual values • How close are the points to the line, on average? • Zero means no correspondence between predicted and actual values • 1.0 means all predicted values exactly match actual values or all points are exactly on the regression line

More Related