Trigonometric functions model data with periodic trends. Even if a data set can be accurately represented by a periodic function, however, we may not be able to recognize this by looking for repetitions in the output values. This is because our data collection may be sampling the underlying periodic function at intervals which are not representative of the actual period.
For example, the following data points are obtained by sampling a function with a period of 2 . Because our sampling comes at irregular intervals, the output values seem to jump up and down with no discernable repetitions:
Likewise, although the following data points are collected at regular intervals, sampling the same function as above, the outputs indicate a period of 4 , not 2 . Moreover, they completely misrepresent the size of the underlying fluctuations:
The difficulties involved in obtaining representative samples of periodic phenomena are really problems of science, not mathematics. If we are presented with a data set that varies up and down within some fixed range of outputs, then there is a good chance that we will be able to find a periodic model of it. The model may give an accurate description of the data without necessarily giving an accurate description of the underlying pattern in nature that produced it.
Consider the data for g , above. The output values vary between a low of 1.78 and a high of 5.38 . They go up and down without a discernable pattern, but there is no tendency, at least in the interval sampled, for the data to grow large, grow small, or approach an asymptote. We might try a trigonometric model.
The sine function
We can approximate the data's midline by taking an average value of the outputs. The result is 3.61 . A vertical translation of the sine function to
The data values vary up to
At this point, a plot of the data together with the model might be wise. It will tell us if we need to make further adjustments to the model using phase shifts or horizontal dilations:
The period looks approximately correct, so we will not need to alter it with any horizontal dilations. All of the data, however, seems to fall just a bit to the right of the model curve. If we incorporate a phase shift of 1 to the right, for a model function of
|Back to Contents|