<< Chapter < Page | Chapter >> Page > |
What Kepler did is an example of“regression”: finding an equation that models a particular set of data.
Kepler became famous because regression is hard. Who would have thought to look for ? Especially when you consider all the other equations that would still have a“this goes up, that goes up”relationship, such as , or , or maybe ?
Fortunately, we have a tool that Kepler did not have: the modern computer. Mathematical programs and graphing calculators can take a set of points, and find the line or curve of“best fit”to model the data.
As an example of this process, suppose that you have run an experiment and generated three data points: (2,1), (4,3), and (5,8). What function might model those data?
STAT
to go into the Statistics menu.Edit...
This brings you to a screen where you enter a bunch of L1 and L2 values.FIXME: A LIST CAN NOT BE A TABLE ENTRY. Enter the L1 and L2 values as follows: for each data point, the x-coordinate is in the L1 list, and the y-coordinate is in the L2 list.The screen to the right shows the points (2,1), (4,3), and (5,8). |
2nd QUIT
return to the main screen.Once you have entered your points into the L1 and L2 lists, your calculator can show you a“scatterplot”—which is a pointlessly fancy word for“a graph of a bunch of points,”like you used to make when you were first learning what graphing was.
WINDOW
(near the upper-left-hand corner of the calculator).Y=
(upper-left-hand corner of the calculator).Plot1
(which will start blinking).ENTER
. It’s actually impossible, at this point, to see that anything has happened. But if you down-arrow
away from
Plot1
, you should see that it remains darkened (white letters on a black background, instead of the other way around). This indicates that it has been selected.FIXME: A LIST CAN NOT BE A TABLE ENTRY.
Hit
GRAPH (upper-right-hand corner of the calculator). The calculator now displays the points. From the image, you can see that a quadratic (parabolic) or exponential function might be a reasonable guess, whereas a line or logarithmic function would be unlikely to fit. |
At this point, looking at the data, it is often useful to categorize it in two ways.
First: is it increasing or decreasing? In our example, of course, the points are increasing. (Some data, of course, may be doing both at different times: consider, for instance, a parabola.)
Now, in the case of an increasing function, you can categorize it as one of the following.
If it is increasing steadily, that suggests a line. (Remember that what makes a linear function linear is that it always goes up at the same rate, or slope!) | |
If it is increasing more and more slowly, that suggests a logarithmic function. (A square root would also have this basic shape, but you cannot do a square-root-regression.) | |
If it is increasing more and more quickly, that suggests an exponential function, or possibly the right side of a quadratic function (a parabola). |
Decreasing functions can be categorized similarly, of course. If a function decreases and then increases, a parabola is probably the best fit. Functions that go up, then down, then up again, are most likely to be higher-order polynomials.
Once you have decided on the right shape, the hard work is done: the calculator takes care of the rest.
STAT
to return again to the Statistics menu.CALC
.LinReg
will give you a line that best fits your points.
QuadReg
will give you a quadratic function,
aka a second-order polynomial. There are also options for "cubic" (third-order polynomial), "quartic" (fourth-order polynomial), logarithmic, or exponential curves. Choose the one you want and hit
ENTER
.The calculator does
not graph your curve for you, but it does tell you what the curve is. For instance, if I run a
QuadReg
on the data above, the calculator gives me:
This tells me that the best quadratic fit for my data is the curve . One way to double-check this, of course, is to enter and then graph it, and see how closely it approximates the points!
There's just one more thing you have to know: once you've done this once, how do you clear out the lists to enter new ones? Here is one way to do it.
MEM
(you do this by hitting the yellow
2nd
key, and then hitting
+
).ClrAllLists
.ENTER
and the lists are emptied out.Notification Switch
Would you like to follow the 'Advanced algebra ii: conceptual explanations' conversation and receive update notifications?