The following exercises involve examples and problems from Devore and
Peck [8]. The data sets are in files in the folder
Data on the XLISP-STAT distribution disk and can be read in
using the Load item in the File menu
or using the "2D load function (see Section
below). To use the Load item on the File menu
select this item from the menu. This will bring up an Open
File dialog window. Use this dialog to open the Data folder
on the distribution disk. Now select one of the "2D .lsp files
( "2D car-prices.lsp for the first exercise) and press the
Open button. The file will be loaded and some variables will
be defined for you. Loading file "2D car-prices.lsp will define
the single variable
"2D car-prices. Loading file "2D heating.lsp will define two
variables, "2D gas-heat and "2D electric-heat.
- Devore and Peck [8, page 18, Example 2] give advertised
prices for a sample of 50 used Japanese subcompact cars. Obtain some
plots and summary statistics for this data. Experiment with some
transformations of the data as well. The data set is called
"2D car-prices in the file "2D car-prices.lsp. The prices are
given in units of $1000; thus the price 2.39 represents $2390. The
data have been sorted by their leading digit.
- In Exercise 2.40 Devore and Peck [8] give heating costs
for a sample of apartments heated by gas and a sample of apartments
heated by electricity. Obtain plots and summary statistics for these
samples separately and look at a parallel box plot for the two
samples. These data sets are called "2D gas-heat and
"2D electric-heat in the file "2D heating.lsp.