Title "Estimate price of a Beech F33 Bonanza airplane";
Variable Age;		// Age of plane in years
Variable Total;		// Total hours on airframe
Variable Engine;	// Hours on current engine
Variable Price;		// Asking price
Parameter Baseprice;	// Estimated base price of a new plane
Parameter Agedep;	// Depreciation for each year of age
Parameter Timedep;	// Depreciation for each hour of total use
Parameter Engdep;	// Depreciation for each hour of engine time
Function Price = Baseprice + Agedep*Age + Timedep*Total + Engdep*Engine;
Correlate;		// Correlate the input variables
Data;
1   60   60 188000
2  130  130 174500
4  619  619 175000
4  525  525 162500
3  535  535 169900
9 2800 1390  99500
10 1610 1610 119000
12  938  938 107000
13 1550  120  97500
13 1490  100  95000
13 1894  406  89900
14 2250  350  99500
14 2600  975  87500
15 1500 1000  96500
15 2100  800  83900
18 2480  990  79900
20 1950   40  75000