**1. Please download the Apple Runtime for Java available for FREE at (if you already have the Apple Applet Viewer, skip to step 5):**

http://asu.info.apple.com/swupdates.nsf/artnum/n11572

**2. Once the program has downloaded, click on the the MRJ2.2.2.smi icon on your desktop.**

**3. Click on the MRJ Install icon to install the applet viewer. **

**4. Open the Apple Applet Runner Folder**

**5. Click on the Apple Applet Runner Icon**

**6. In the file menu select Open location**

**5. Copy the URL of this page and paste it into the Location box of the Applet Runner window.**

**6. Click Open. The applet may take a moment or two to load.**

**It will be worth your time, I promise!**

**NOTE: You can also save the applet in your Apple Applet Viewer Favorites if you want to access it more quickly next time. Do the following:**

**When the applet is loaded, go to the applets menu and select add applet to list.**

Typically, a **simple linear regression** is performed when one wishes to determine the functional linear relationship between an independent variable and a dependent variable. This relationship is best expressed in an equation of the form:

An equation of this form is valuable because it can be used to predict the value of the dependent variable (Y), given a value of the independent variable (X). The **slope** (b) and the **Y intercept** (a) of this best fit line are calculated as follows:

**Adjust the slope and intercept of the best-fit line to the right:**

Notice that the slope and Y-intercept are independent of each other.

Also note that the equation for the best-fit line indicates the functional relationship between the independent and dependent variables, and not how well the points fit to the regression line.