LINREG

by

C. C. Chang

October 24, 2000, Version 1.01

Before using LINREG, you need to select the "Initialization" cell by clicking the bracket on the right (one with an arrow at the bottom)  once and press "Enter" key on the numerical key pad to load the necessay packages. To proceed, click any "Main Menu" or "Sub Menu" item. The clicking action may take you to another (sub-menu) item or take you directory to a hidden cell (with the cell bracket highlighted). If the cell bracket is highlighted, press "Enter" key on the numerical key pad to execute all the commands in the hidden cell.

Initialization

Off[General::spell, General::spell1];
Needs["Statistics`LinearRegression`"]
Needs["Graphics`MultipleListPlot`"]
Clear[dataType, npts, weightingOption, fittingOption, 
        order];
dataType = 1;
npts = 0;
weightingOption = 0;
fittingOption = 0;
order = 0;
index = 0;
index = 0;
scaleFactor = 1.0;

Main Menu

Input Data
	Plot Data
	Fit Data
	Plot Data and Fit
	Display Fit Parameters
	Goto Help Menu

Input Data

Input Data Sub Menu :
	Input Data from Keyboard
	Input Data from File
	Input Test Data
	Main Menu

Input Data from Keyboard

Input Data Subsub Menu :
	Data Type 1
	Data Type 2
	Input Data

Data Type 1: {{(Subscript[x, 1]),(Subscript[y, 1])},{(Subscript[x, 2]),(Subscript[y, 2])},...}