Data
To download data, click on the data set you want, and choose "Save As"
from the "FILE" menu. Choose whatever name you want, and then, using
your favorite editor, remove everything but the data. (Each variable is in
its own column. Sometimes, columns might be labelled with a title to
identify the name of the variable. You need to remove the title. Also,
the first few lines and the last few lines will contain html code
-- the code Netscape reads. Delete this.)
To download the file into xlispstat. Suppose you have a file named
"mydata" that contains two columns of numbers. (Say, the first column
is the age of tractors and the second their maintanence cost.) Type
(def mydata (read-data-columns "mydata" 2)). The "2" means there are
two columns.
The value of the variable "mydata" is now a list of two lists of numbers.
To extract and name these lists:
(def age (select mydata 0))
(def cost (select mydata 1))
to select the first column and second column.
- Tractors
- Compares age of tractor to six month maintainance.
(From Sanders)
- Steam and Factory data
- Relates daily temperature (degrees Farenheit) to pounds of steam used for
a fictitous factory. (Draper and Smith.)
Cafeteria Data (poly. regression)
How do coffee sales at a cafeteria relate to the number of dispensers?
See the corresponding polynomial regression handout .
Population of England and Wales
Population of England and Wales in tens of millions of people since
1800. The "year" variable is the number of years since 1800. See
the polynomial regression handout.
Back to Regression listings
Back to Xlisp page
Home