This
page will perform basic multiple regression analysis for the case where there are several independent predictor variables, X
_{1}, X
_{2}, etc., and one dependent or criterion variable, Y. Although the programming on the page will in principle handle any number of variables, in practice you will probably not be able to work with more than five or six. This is because multiple regression is computationally very intensive, and the JavaScript engines of web browsers were not really designed to do heavyduty mathematical work. At any rate, please note that computation time increases as a function of the factorial of the number of variables. Thus, an analysis involving five variables will take about five times as long as one with only four variables; with six variables, computation time will be about six times as long as with only five variables.
 Importing Data via Copy & Paste:_{T}
When importing data from a spreadsheet, the values of the several X variables and of the Y variable must be in the form of adjacent columns with no missing values in any of the cells of the columns. (An entry from an empty cell will be interpreted as a zero.) Also, the Y variable must be the one in the column farthest to the right. Within the spreadsheet application, select and copy the adjacent columns of data. Then return to this page, click the cursor into the dataentry field and perform the 'Paste' operation. Do not be alarmed if the result of the 'Paste' operation appears to be an incoherent jumble; your computer will be able to sort it all out._{T}
Note that there is also a field into which you can optionally enter identifying names of the variables. To do this, click the cursor into the name field, type in the name of X_{1}, press the carriage return key; then type in the name of X_{2}, press the carriage return key; and so forth._{T}
 Data Check:_{T}
Make sure that the final line in the dataentry field entry is not followed by a carriage return. (An extra carriage return at the end of the list will be interpreted as an extra data entry whose value is zero. Importing data via the copy and paste procedure will almost always produce an extra carriage return at the end of the pasted values.) After the columns from the spreadsheet have been pasted into the dataentry field, click the cursor immediately to the right of the final entry in the list, then press the downarrow key. If an extra line is present, the cursor will move downward. Extra lines can be removed by pressing the down arrow key until the cursor no longer moves, and then pressing the 'Backspace' key (on a Mac platform, 'delete') until the cursor stands immediately to the right of the final entry._{T}
 After verification of data entry, click the button labeled «Calculate.» The results of the calculation will be displayed on a new page in the current browser frame. To return from there to the present page, click the «Back» button on your browser.
Home
 Click this link only if you did not arrive here via the VassarStats main page.

©Richard Lowry 2001
All rights reserved.