Predicting the Future and Other Mathematical Magic
Objectives:
www.coyleandsharpe.com/gallery/8.html |
Trendlines are the mathematician's version of the crystal ball. They allow us to predict the future with some degree of accuracy, at least when it comes to numbers. Trendlines can be used to predict future expenses (for example, term bill prices), business sales, population growth, climate, or anything else that has a numeric value. This makes them a very useful tool because they can help us make decisions about the future. Luckily, Excel can calculate these automatically when we give it information from the past. There are two different ways that trendlines can be generated. The easiest and best way is by utilizing the "Add Trendline" feature under Chart in the top menu bar. (This is the method outlined in the text, Matering Excel, and we will also go through it here with the data given on the right which represents how much money workers in a variety of countries make per hour. |
First of all, you need to highlight all of the data, including the labels. (In this example, that is A3:G9.) Then from the Insert Tab, choose theChart called XY (Scatter), and making sure Excel correctly identifies that your data is in rows or you need to push the swithch rows and columns:
This gets us a nice graph. To add a trendline, you right-click
on a data-point and choose "Add Trendline" and follow the directions in
the wizard.
Note that the linear equations can be used to predict the future in any year! How well do these equations work for prediction? That is where R-squared comes in.
R-squared (R2) is always a number between 0 and 1. Here R is formally called the square of the coefficient of correlation and can range from -1 to 1. R-squared is, of course, the square of R, which serves to make it non-negative. Suppose that you have ordered pairs of data (x, y) . The hope is to find a linear relationship by which the variable x can be used to predict the value of y. Of course, we don't expect this relationship to be exact, so the predictions will not be perfect, and R-squared is a measure of how "good" we expect those predictions to be. When R-squared is close to 1, the relationship is almost exactly linear and the predictions will be almost perfect. When R-squared is close to 0, the linear equation we get does a poor job of predicting y when x is given. R-squared gives the percent of that variability that is "explained" by x.
If your independent variable values (as in the examples above) are all equally spaced, then you can use either method for making future predictions: trendlines OR autofill. However, if your independent variable values are NOT all equally spaced (eg. 1960, 1970, 1995, 2000), then autofill will not work, so you will have to use trendlines ot get an accurate model!
This assignment is to be completed individually, but you may consult with one another as long as you give appropriate credit.
This assignment will be dedicated to working more with linear models that can be found using Excel's trendline feature. Please use trendlines instead of autofull for all predictions. All of the data is actual environmental data.. You should be able to copy and paste the data into the Excel rather than retyping it. Be sure to convert from years to "number of years after..." to avoid possible rounding errors.
Create a graph for each of these datasets with each dataset on a separate worksheet that is appropriately entitled. Then answer the following questions for each of these four data sets.
Save your file as yourusernameA12.
You must submit the Excel document in the dropbox by the beginning of class and turn in the paper portion at the beginning of class.
As always, all work done in Excel should be formatted so that it is readable. Assignments that are unreadable due to poor formatting (either too much or too little) will recieve a lowered grade.