<< Chapter < Page Chapter >> Page >

[link] compares the two processes for the cricket-chirp data addressed in [link] . We can see that interpolation would occur if we used our model to predict temperature when the values for chirps are between 18.5 and 44. Extrapolation would occur if we used our model to predict temperature when the values for chirps are less than 18.5 or greater than 44.

There is a difference between making predictions inside the domain and range of values for which we have data and outside that domain and range. Predicting a value outside of the domain and range has its limitations. When our model no longer applies after a certain point, it is sometimes called model breakdown    . For example, predicting a cost function for a period of two years may involve examining the data where the input is the time in years and the output is the cost. But if we try to extrapolate a cost when x = 50 , that is in 50 years, the model would not apply because we could not account for factors fifty years in the future.

Scatter plot, showing the line of best fit. It is titled 'Cricket Chirps Vs Air Temperature'. The x-axis is 'c, Number of Chirps', and the y-axis is 'T(c), Temperature (F)'.  The area around the scattered points is enclosed in a box labeled: Interpolation.  The area outside of this box is labeled: Extrapolation.
Interpolation occurs within the domain and range of the provided data whereas extrapolation occurs outside.

Interpolation and extrapolation

Different methods of making predictions are used to analyze data.

The method of interpolation    involves predicting a value inside the domain and/or range of the data.
The method of extrapolation    involves predicting a value outside the domain and/or range of the data.
Model breakdown occurs at the point when the model no longer applies.

Understanding interpolation and extrapolation

Use the cricket data from [link] to answer the following questions:

  1. Would predicting the temperature when crickets are chirping 30 times in 15 seconds be interpolation or extrapolation? Make the prediction, and discuss whether it is reasonable.
  2. Would predicting the number of chirps crickets will make at 40 degrees be interpolation or extrapolation? Make the prediction, and discuss whether it is reasonable.
  1. The number of chirps in the data provided varied from 18.5 to 44. A prediction at 30 chirps per 15 seconds is inside the domain of our data, so would be interpolation. Using our model:
    T (30) = 30 + 1.2(30) = 66 degrees

    Based on the data we have, this value seems reasonable.

  2. The temperature values varied from 52 to 80.5. Predicting the number of chirps at 40 degrees is extrapolation because 40 is outside the range of our data. Using our model:
    40 = 30 + 1.2 c 10 = 1.2 c    c 8.33

We can compare the regions of interpolation and extrapolation using [link] .

Scatter plot, showing the line of best fit and where interpolation and extrapolation occurs. It is titled 'Cricket Chirps vs. Air Temperature'. The x-axis is 'c, Number of Chirps', and the y-axis is 'T(c), Temperature (F)'.  An additional point is plotted inside of the box to represent an interpolated point.  There is another additional point plotted outside of the box to represent an extrapolated point.
Got questions? Get instant answers now!
Got questions? Get instant answers now!

According to the data from [link] , what temperature can we predict it is if we counted 20 chirps in 15 seconds?

54 ° F

Got questions? Get instant answers now!

Finding the line of best fit using a graphing utility

While eyeballing a line works reasonably well, there are statistical techniques for fitting a line to data that minimize the differences between the line and data values Technically, the method minimizes the sum of the squared differences in the vertical direction between the line and the data values. . One such technique is called least squares regression    and can be computed by many graphing calculators, spreadsheet software, statistical software, and many web-based calculators For example, http://www.shodor.org/unchem/math/lls/leastsq.html . Least squares regression is one means to determine the line that best fits the data, and here we will refer to this method as linear regression.

Practice Key Terms 5

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Algebra and trigonometry. OpenStax CNX. Nov 14, 2016 Download for free at https://legacy.cnx.org/content/col11758/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Algebra and trigonometry' conversation and receive update notifications?

Ask