Tweaks, Trends, and Correlation Help
The term interpolate means ''to put between.'' When a graph is incomplete, estimated data can be put in the gap(s) in order to make the graph look complete. An example is shown in Fig. 1-13. This is a graph of the price of the hypothetical Stock Y from Fig. 1-6, but there's a gap during the noon hour. We don't know exactly what happened to the stock price during that hour, but we can fill in the graph using linear interpolation. A straight line is placed between the end points of the gap, and then the graph looks complete.
Linear interpolation almost always produces a somewhat inaccurate result. But sometimes it is better to have an approximation than to have no data at all. Compare Fig. 1-13 with Fig. 1-6, and you can see that the linear interpolation error is considerable in this case.
Curve fitting is an intuitive scheme for approximating a point-to-point graph, or filling in a graph containing one or more gaps, to make it look like a continuous curve. Figure 1-14 is an approximate graph of the price of hypothetical Stock Y, based on points determined at intervals of half an hour, as generated by curve fitting. Here, the moment-to-moment stock price is shown by the dashed line, and the fitted curve, based on half-hour intervals, is shown by the solid line. The fitted curve does not precisely represent the actual stock price at every instant, but it comes close most of the time.
Curve fitting becomes increasingly accurate as the values are determined at more and more frequent intervals. When the values are determined infrequently, this scheme can be subject to large errors, as is shown by the example of Fig. 1-15.
The term extrapolate means ''to put outside of.'' When a function has a continuous-curve graph where time is the independent variable, extrapolation is the same thing as short-term forecasting. Two examples are shown in Fig. 1-16.
In Fig. 1-16A, the price of the hypothetical Stock X is plotted until 2:00 P.M., and then an attempt is made to forecast its price for an hour into the future, based on its past performance. In this case, linear extrapolation, the simplest form, is used. The curve is simply projected ahead as a straight line. Compare this graph with Fig. 1-6. In this case, linear extrapolation works fairly well.
Figure 1-16B shows the price of the hypothetical Stock Y plotted until 2:00 P.M., and then linear extrapolation is used in an attempt to predict its behavior for the next hour. As you can see by comparing this graph with Fig. 1-6, linear extrapolation does not work well in this scenario.
Extrapolation is best done by computers. Machines can notice subtle characteristics of functions that humans miss. Some graphs are easy to extrapolate, and others are not. In general, as a curve becomes more complicated, extrapolation becomes subject to more error. Also, as the extent (or distance) of the extrapolation increases for a given curve, the accuracy decreases.
A function is said to be nonincreasing if the value of the dependent variable never grows any larger (or more positive) as the value of the independent variable increases. If the dependent variable in a function never gets any smaller (or more negative) as the value of the independent variable increases, the function is said to be nondecreasing.
The dashed curve in Fig. 1-17 shows the behavior of a hypothetical Stock Q, whose price never rises throughout the period under consideration. This function is nonincreasing. The solid curve shows a hypothetical Stock R, whose price never falls throughout the period. This function is nondecreasing.
Sometimes the terms trending downward and trending upward are used to describe graphs. These terms are subjective; different people might interpret them differently. Everyone would agree that Stock Q in Fig. 1-17 trends downward while Stock R trends upward. But a stock that rises and falls several times during a period might be harder to define in this respect.
Today on Education.com
- Coats and Car Seats: A Lethal Combination?
- Kindergarten Sight Words List
- Child Development Theories
- Signs Your Child Might Have Asperger's Syndrome
- 10 Fun Activities for Children with Autism
- Why is Play Important? Social and Emotional Development, Physical Development, Creative Development
- The Homework Debate
- Social Cognitive Theory
- GED Math Practice Test 1
- First Grade Sight Words List