SPSS Instruction Manual

University of Waterloo Department of Statistics and Actuarial Science September 1, 1998

Table Of Contents
Page Before Using This Manual……………………………………………………………………………….3 Introduction to SPSS……………………………………………………………………………………..4 SPSS Basics……………………………………………………………………………………………... 5 Tutorial 1: SPSS Windows.…………………………………………………………………………5 Tutorial 2: Starting A SPSS Session.……………………………………………………………...6 Tutorial 3: Getting Help on SPSS.………………………………………………………………… 6 Tutorial 4: Ending A SPSS Session.……………………………………………………………… 6 Creating and Manipulating Data in SPSS.……………………………………………………………. 7 Tutorial 1: Creating a New Data Set.……………………………………………………………... 7 Tutorial 2: Creating a New Data Set From Other File Formats.……………………………….10 Tutorial 3: Opening an Existing SPSS Data Set.………………………………………………. 16 Tutorial 4: Printing a Data Set.…………………………………………………………………… 16 Generating Descriptive Statistics in SPSS…………………………………………………………...17 Tutorial 1: Mean, Sum, Standard Deviation, Variance, Minimum Value, Maximum Value, and Range.……………………………………………………….. 17 Tutorial 2: Correlation.…………………………………………………………………………….. 18 Generating Graphical Statistics in SPSS……………………………………………………………..20 Tutorial 1: How to Generate Scatter Plots.………………………………………………………20 Tutorial 2: How to Generate A Histogram.………………….…………………………………... 22 Tutorial 3: How to Generate A Stem and Leaf Plot……………………………………………..23 Tutorial 4: How to Generate A Box Plot………………………………………………………….26 Statistical Models in SPSS……………………………………………………………………………..28 Tutorial 1: Linear Regression.……………………………………………………………………. 28 Tutorial 2: Analysis of Variance………………………………………………………………….. 31 Appendix A: Data Files………………………………………………………………………………… 34

2

Before Using This Manual
The following manual explains various statistical methods using tutorials. Each tutorial begins with a problem that is based on a set of data. A solution is then presented as an example of the steps that need to be taken to perform that particular statistical method. In using these tutorials, you need to be able to access the various data sets that are used. To access these files, it is easier to copy the files to your home directory. 1. Logon to an x server from your Polaris account. 2. In your home directory, make a directory called SPSS. > mkdir SPSS 3. Open up a Netscape browser. 4. Change the location in the browser to where the files are located. The address is: http://setosa.uwaterloo.ca/Stats_Dept/StatSoftware/Datafiles/SPSS/ 5. Position the cursor so that it is located on top of one of the data files in this directory. Hold down the Shift button and left click. The Save As… window will appear. 6. Choose the directory, ~/SPSS. 7. If you are using a browser from UNIX, ensure that the Format For Saved Document: box indicates Source. DO NOT save as Text or Postscript. However, if you are using Netscape in Polaris, ensure that the type of file to save as is HTML Files and change the ending of the file to .htm. This will ensure that the file is saved in the correct format. 8. Click OK. This will download the selected file into ~/SPSS. 9. For all other files shown, repeat steps 5-8 until all files have been saved to ~/SPSS. At this point, all data files to be used in this manual should be in the directory ~/SPSS. If you are accessing SPSS from your Polaris account, you would look under the P: drive to find this directory. A description and partial listing of the data sets are located in Appendix A.

3

edu/academic/admin/acomp/Guides/spss.html 4 . The following manual will give an introductory description of how to use SPSS.uk/ucs/docs/beg14/beg14. To find a more complete description.ac.spss.html www. descriptive statistics.leeds. and conduct complex statistical analyses. and plots of distributions and trends. due to the complex nature of SPSS.nyu.html www. consult the following manuals: SPSS Guide by Kilman Shin Some helpful websites concerning SPSS are: • • • • • www.cofc. charts.edu/acf/pubs/SPSS_Win/SPSSwindoc_ToC. SPSS can take data from almost any type of file and use them to generate tabulated reports.edu/~statmath/smdoc/index. many details have been omitted.com www. However.Introduction to SPSS SPSS (Statistical Package for the Social Sciences) is a statistical analysis and data management software package.indiana.html www.

move. you can edit. The title bar displays the name of the open data file or "Untitled" if the file has not yet been saved. The following will give a description of each of them. Each row corresponds to a case while each column represents a variable. This window opens automatically when SPSS is started. and charts from the analysis you performed. 5 .SPSS Basics Ø Tutorial 1: SPSS Windows There are six different windows that can be opened when using SPSS. In the Output Navigator windows. The Data Editor The Data Editor is a spreadsheet in which you define your variables and enter data. An Output Navigator window opens automatically when you run a procedure that generates output. tables. delete and copy your results in a Microsoft Explorer-like environment. The Output Navigator The Output Navigator window displays the statistical results.

swap data in rows and columns. 3. Select Topics from the Help menu. 4. Select the Index tab. 3. q Searching for Information in the Help Menu 1. Select the Contents tab. Logon to your Polaris account. Select Programs from the Start menu. This will give a set of books to look under for the required information. You can edit text. Select Topics from the Help Menu on the Data Editor.5 from the Scientific drop down menu. and selectively hide and show results. where your selections appear in the form of command syntax.The Pivot Table Editor Output displayed in pivot tables can be modified in many ways with the Pivot Table Editor. Select SPSS 7. The Syntax Editor You can paste your dialog box selections into a Syntax Editor window. 2. Type a word in the text box describing the information to search for. add color. style. Ø Tutorial 2: Starting A SPSS Session 1. 2. The Chart Editor You can modify and save high-resolution charts and plots by invoking the Chart Editor for a certain chart (by double-clicking the chart) in an Output Navigator window. 6 . Select Scientific from the Programs drop down menu. switch the horizontal and vertical axes. select different type fonts or sizes. You can edit the output and change font characteristics (type. color. Ø Tutorial 4: Ending A SPSS Session 1. Ø Tutorial 3: Getting Help on SPSS q Locating Topics in the Help Menu 1. and change the chart type. This will give a list of headings on the desired information. create multidimensional tables. The Text Output Editor Text output not displayed in pivot tables can be modified with the Text Output Editor. You can change the colors. 2. rotate 3-D scatterplots. size). Select Exit SPSS from the File menu on the Data Editor.

This will open the Define Variable Type: dialog box. Variable Label: A name for the variable that can be up to 120 characters long and can include spaces (which variable names cannot). The following tutorial will list the steps needed and will give an example of creating a new data set. Type: This field describes the type of variable that is being defined. 7 . When done. Variable Name: This field describes the name of the variable being defined. This box assigns data definition information to variables. click on the Continue button.Creating and Manipulating Data in SPSS When creating or accessing data in SPSS. If a variable label is entered. doubleclick on the top of a column where the word var appears or select Define Variable from the Data menu. click on the Type… button. Each variable name must be unique. To change the name. Ø Tutorial 1: Creating a New Data Set There are three steps that must be followed to create a new data set in SPSS. Select the appropriate type of data. To access the Define Variable dialog box. place the cursor in this field and type the name. Variable Label: There are two types of variable labels: 1. Spaces are not allowed within the variable name. To change this field. the Data Editor window is used. the label will be printed on charts and reports instead of the name. making them easier to understand. The variable name must begin with a letter of the alphabet and cannot exceed 8 characters. STEP 1: Defining Variables in a New Data Set Variables are defined one at a time using the Define Variable dialog box.

To change this field. click on the Column Format… button. To change the variable label. click on the Labels… button. A period represents the system-missing value. The data is typed into the spreadsheet one cell at a time. Value Label: Provides a key for translating numeric data. click on the Continue button. This will open the Define Column Format: dialog box. To change this field. When done. The information is entered into the cell when the active cell is changed. This will open the Define Missing Values: dialog box. a period is entered. Enter the appropriate information into the fields. Enter the appropriate information into the fields. STEP 2: Entering Data in a New Data Set Once all of the variables are defined. The mouse and the tab. it appears in the edit area at the top of the window. Enter the appropriate information into the fields. Alignment: This field indicates column alignment and width. When information is typed into a cell. Each cell represents an observation. To indicate a cell that does not have a data value. click on the Continue button. click on the Missing Values… button. enter. This will open the Define Labels: dialog box.2. enter the data manually (assuming that the data is not already in an external file). When done. click on the Continue button. When done. and cursor keys can be used to enter data. Missing Values: This field indicates which subset of the data will not be included in the data set. 8 .

sav. set it to 0. In the Width box. Select Type… in the Change Settings area. This will open the Define Variable Type dialog box. Click OK. enter a name for the file. it must be saved to a file. Select Continue. 2.sav). This will open the Define Variable dialog box. This will open the Define Variable dialog box. This will define the second column as a numeric variable called Age. Problem The following data regarding a person’s name. 1. Select Continue. Double click on the top of the first column in the Data Editor window. 2. This will open the Define Variable dialog box. Age 39 43 27 24 Weight 250 125 180 130 9 . Left click on Numeric. 3. Left click on String. Click OK. 7. This will define the first column as a string variable called Name. select the path where the file will be saved. 9. 3.STEP 3: Saving a New Data Set Work performed on a data set only lasts during the current session. Double click on the top of the second column. 4. 4. Name Mark Allison Tom Cindy Solution 1. Select Save from the File menu. 6. age and weight must be entered into a data set using SPSS. select SPSS (*. From the Save in drop-down list. Select Type… in the Change Settings area. In the Decimal Places box. Type Age in the Variable Name box. This will open the Define Variable Type dialog box. SPSS automatically adds the extension . Type Weight in the Variable Name box. 5. Double click on the top of the third column. To retain the current data set. This will close the Define Variable Type dialog box and will re-open the Define Variable dialog box. From the Save as Type drop-down list. 5. 8. The Save Data As dialog box opens. Type Name in the Variable Name box. In the File name box. This will close the Define Variable Type dialog box and will re-open the Define Variable dialog box. set it to 3. Click Save.

Enter the above information into the cells of the spreadsheet. Examples will be given of each method. 16. 13. Type temp in the File name box and click Save. Choose the path where the file will be saved.sav in the specified directory. 12. In the Width box. 10 . Select Continue. set it to 0. 14. The Data Editor should look like the following. Select Save from the File menu. 15. In the Decimal Places box. 11. SPSS will save this file as temp. This will close the Define Variable Type dialog box and will re-open the Define Variable dialog box. Click OK. This will define the third column as a numeric variable called Weight. set it to 3. This will open the Define Variable Type dialog box. Left click on Numeric. Select Type… in the Change Settings area.10. Ø Tutorial 2: Creating a New Data Set From Other File Formats SPSS is designed to handle a wide variety of formats including: • • • • • Spreadsheet files created with Lotus 1-2-3 and Excel Database files created with dBASE Tab-deliminated and other types of ASCII text files SPSS data files create on other operating systems SYSTAT data files The following tutorial will indicate how to read in a spreadsheet or text file into a data set in SPSS.

C12 For Excel files. The Output Navigator will also be opened. This is where the file to be opened should be. 2. A1. in the Range box. This will close the Opening File Options dialog box and will open nba. Select Excel(*. Select nba. Solution 1. 4. 3.xls. select Open. Change the path name to your home directory and open the SPSS folder. ~/SPSS/nba.xls in the Data Editor. Ie. Click Open. specify the beginning column letter and number followed by a colon followed by the ending column letter and number. This will open the Opening File Options dialog box. 5. into a SPSS data set. From the File menu. specify the beginning column letter and number followed by two periods followed by the ending column letter and number.. NOTE: If only a partial file is to be read into SPSS.xls.w*) for Lotus files) from the Files of type box. Click on the Read variable names dialog box. Click OK. • • For Lotus files. This will open the Open File dialog box.q Reading Spreadsheet Files (Lotus 1-2-3 and Excel) Problem Read the following file. A1:C12 row row row row 11 . Ie.xls) (or Lotus(*. in the Range box. the following steps are taken.

Window Output 12 .

~/SPSS/citydata. From the Read ASCII Data drop down menu. The following gives a description of each of these fields. Each variable name must be unique. Click Add for each separate variable. Select citydata.txt in the Data Editor. Solution 1. click Browse to specify the name of the file to be read. 5. 13 . The Define Freefield Variables dialog box will be returned. Select Read ASCII Data from the File Menu. Specify the variable name and data type. This will open the Define Freefield Variables dialog box.txt. 2. 6. into an SPSS data set. Freefield This method is used if the variables are recorded in the same order for each case but not necessarily in the same column locations. 3. This will open the Define Freefield Variables: Browse dialog box. 4. This will enter the variable name and data type onto the Defined Variables list. This is where the file to be opened should be. Name: Variable names must begin with a letter and cannot exceed eight characters. choose Freefield.txt and click Open. Change the path name to your home directory and open the SPSS folder. This will close the Define Freefield Variables dialog box and will open citydata.q Reading Text Files Two ways to read a text file are by using freefield or fixed columns. Click OK. Problem Read the following file. Data Type: Select a data type. Once all variables are defined.

Name: Variable names must begin with a letter and cannot exceed eight characters. Solution 1. ~/SPSS/nba. choose Fixed Columns. The following gives a description of each of these fields. 2. Each variable name must be unique. From the Read ASCII Data drop down menu. Select Read ASCII Data from the File Menu. into an SPSS data set.txt. Specify the variable name.Window Output Fixed Columns This method is used if each variable is recorded in the same column location for each case in the data file. record. This will open the Define Fixed Variables dialog box which will be used to define each variable. 14 . and data type. column locations. Problem Read the following file.

txt in the Data Editor. This will close the Define Fixed Variables dialog box and will open nba. Name Player Height Weight Record 1 1 1 Column Locations 1-3 4-7 8-12 Data Type Numeric as is Numeric as is Numeric as is 3. click Add. Select nba. variable name. For this problem. The value for the variable can appear anywhere within the range of columns. start and end columns. This will enter the record number. This will open the Define Fixed Variables: Browse dialog box. the following is a list of the required information. Window Output 15 . The Define Fixed Variables dialog box will be returned. Click OK. Change the path name to your home directory and open the SPSS folder.Record: A case can have data on more than one line. This is where the file to be opened should be.txt and click Open. Data Type: Select a data type. 5. Start Column/End Column: These specifications indicate the location of the variable within the record. Once all variables are defined. click Browse to specify the name of the file to be read. When all information is added for a variable. 4. and data type onto the Defined Variables list. The record number indicates the line within the case where the variable is located. 6.

Highlight the data that will be printed.sav. type in the name of the file to be opened. Change the options where appropriate. 5. 16 . The Print dialog box opens. select . From the Files of type drop-down list. select the appropriate drive where the file is located. Ø Tutorial 4: Printing a Data Set 1. To print all of the data. Click OK.Ø Tutorial 3: Opening an Existing SPSS Data Set 1. 3. 2. Click Open. Select Open from the File menu. This will open the Open File dialog box. From the Look in drop-down list. Select Print from the File menu. 3. 2. ignore this step and continue to step 2. 4. In the File name box.

Ø Tutorial 1: Mean. minimum value. Left click on the right arrow button between the boxes to move this variable over to the Variable(s) box. select Descriptives. maximum value. From the Statistics menu. Problem Using the data in the file nba. Click on mean. Solution 1. Variance. maximum value. 17 . sum. select Summarize. and range. Maximum Value.Generating Descriptive Statistics in SPSS The following tutorials will demonstrate how to generate descriptive statistics in SPSS. minimum value. 3. Sum. simultaneously add variables to the Variable(s) box. standard deviation. Click on the Options button. To calculate statistics for many variables. variance. and Range When generating these statistics. In the variable list. select the variable height. and range for height only. 2. sum. Minimum Value. This will open the Descriptives dialog box. standard deviation.txt that is located in ~/SPSS/. the Data Editor must be open with the appropriate data set before continuing. Click on the Continue button when done. determine the mean. Standard Deviation. This will open the Descriptives: Options dialog box. variance. From the Summarize drop down menu.

select Bivariate. Problem Using the data in the file nba. select height and weight. The Descriptives dialog box closes and SPSS activates the Output Navigator to illustrate the statistics. 2. select Correlate. determine the correlation between a player’s height and weight. Solution 1. In this case. In the variable list.4. Click OK. From the Correlate drop down menu.txt that is located in ~/SPSS/. This will open the Bivariate Correlations dialog box. When generating the correlation matrix. 3. From the Statistics menu. use Pearson. Window Output Ø Tutorial 2: Correlation Two or more variables may be included in a correlation matrix. Select the type of correlation coefficients that will be generated. 18 . the Data Editor must be open with the appropriate data set before continuing. Left click on the right arrow button between the boxes to move a variable over to the Variable(s) box.

this option will not be used. 5. Click on the Options…button.4. Window Output 19 . To display cross product deviations and covariances for each pair of variables. 6. The number of cases appears at the bottom. select Means and standard deviations. select Cross-product devations and covariances. The correlation coefficient for each pair of variables is displayed. Select the test of significance to be used. this option is not used. use two-tailed. The Bivariate Correlations dialog box closes and SPSS activates the Output Navigator. click the Continue button. In this case. This will open the Bivariate Correlations: Options dialog box. In this case. When done. Click OK. Check mark the Flag significant correlations box. In this case. To display the mean and standard deviation for each variable. 7.

From the variable list. stem and leaf plots. Ø Tutorial 1: How to Generate Scatter Plots Problem Using the data in ~/SPSS/nba. This will open the Options dialog box.Generating Graphical Statistics in SPSS The following tutorials introduce how to create scatter plots. From the variable list.txt. select weight. 4. 2. This will open the Simple Scatterplot dialog box. and box plots using the SPSS Graphs menu located on the Data Editor menu bar. create an x-y plot of a player’s weight versus height. 3. height. histograms. weight. From the Graphs menu. Click on the Options… button. Select the Simple icon and click Define. Left click on the right arrow button between the variable list and the X Axis box to move the variable. select Scatter… This will open the Scatterplot dialog box. to this box. select height. 5. Left click on the right arrow button between the variable list and the Y Axis box to move the variable. Solution 1. to this box. 20 .

In the Line 1 box. click on the Titles… button. this option will not be used. click the Continue button. click the Continue button. subtitles. Weight”. select Display groups defined by missing values.To display a report of missing values. When done. To display titles. Click OK. The Simple Scatterplot dialog box closes and SPSS activates the Output Navigator. 6. or footnotes on the histogram. When done. Window Output 21 . In this case. 7. This will open the Titles dialog box. type “Scatter Plot Height vs.

Select Display normal curve box to show a normal curve on the histogram. income. to this box. The Histogram dialog box will close and SPSS activates the Output Navigator to display the histogram. or footnotes on the histogram. From the variable list. subtitles. 5. From the Graphs menu. create histogram of per capita income. 4.Ø Tutorial 2: How to Generate a Histogram Problem Using the data in ~ /SPSS/statdata. 3. To display titles. Click on the Continue button when done. click on the Titles… button. 2. select Histogram… This will open the Histogram dialog box. Click OK. This will open the Titles dialog box. 22 . Solution 1. Left click on the right arrow button between the variable list and the Variable box to move the variable. select income. In the Line 1 box.txt. type “Histogram of Per Capita Income”.

3. From the Statistics menu.Window Output Ø Tutorial 3: How to Generate a Stem and Leaf Plot Problem Using the data in ~ /SPSS/statdata. select Summarize. Solution 1. This will open the Explore: Statistics dialog box. 23 . select income.txt. select Explore… This will open the Explore dialog box. to this box. From the variable list. create a stem and leaf plot of per capita income. 2. Click on the Statistics… button. Left click on the right arrow button between the variable list and the Dependent List box to move the variable. income. From the Summarize drop-down menu.

To display percentiles. This opens the Explore: Plots dialog box. To display cases with the five largest and smallest values.To display descriptive statistics. 24 . no statistics are given). This will open the Explore: Options button. select M-estimators. Click on the Continue button. 6. this option is used. select Exclude cases listwise. In this case. To exclude cases that have missing values for either or both of the pair of variables in a specific correlation coefficient. When done. 5. Click on the Plots… button. select Exclude cases pairwise. select Outliers. 4. In the Display area. click on the Continue button. This will display the specified plot only (i. select Plots. In this case. To exclude cases that have missing values for any of the variables used in any of the analyses. Ensure that the Stem-and-leaf box is selected. none of these options are used. To display maximum likelihood estimators. select Percentiles. select Descriptives.e. Click on the Options button.

select Report values. to treat missing values as a separate category. Click the Continue button when done. This will close the Explore dialog box and SPSS activates the Output Navigator to display the stem and leaf plot.However. Click OK. Window Output 25 . 7.

Click on the Options… button. income. 4.dat. select income. From the Graphs menu. 2. this option will not be used.Ø Tutorial 4: How to Generate a Box Plot Problem Using the data in the file. When done. ~ /SPLUS/statdata. 3. 6. select Boxplot… This will open the Boxplot dialog box. to this box. This will open the Define Simple Boxplot: Summaries of Separate Variables dialog box. This will open the Options dialog box. From the variable list. 26 . In this case. Click on the Define button. Select the Simple button. Select Summaries of separate variables in the Data in Chart Are area. 5. click the Continue button. Left click on the right arrow button between the variable list and the Boxes Represent box to move the variable. produce a boxplot of per capita income Solution 1. select Display groups defined by missing values. To display a report of missing values.

7. This will close the Define Simple Boxplot: Summaries of Separate Variables dialog box and SPSS activates the Output Navigator to display the box plot. Click OK. Window Output 27 .

there is a choice of enter. From the variable list. Problem Using the data in ~/SPSS/nba. From the Regression drop down menu. 5. From the Method drop-down menu. this option is not used. Select the variable and left click on the right arrow between the variable list and the Case Labels box. 28 . 6. to this box. select height. select weight. From the variable list. The output contains goodness of fit statistics and the coefficients for the variables.txt. 4. select Regression. Left click on the right arrow button between the variable list and the Independent(s) box to move the variable. stepwise. backward. enter this variable into the Selection Variable box. and forward. to this box. weight. In this case. 2. Left click on the right arrow button between the variable list and the Dependent box to move the variable. height. Solution 1. remove. In this case. compute a least squares regression line to investigate if a player’s height can predict his weight. Determine the variable that will identify the points on plots. In this case. select Linear… This will open the Linear Regression dialog box. we will use the enter method. 3. Select the method the independent variables are entered into the analysis. The following tutorial will introduce how to perform linear regression using SPSS. this option is not used. From the Statistics menu. To limit the analysis to a subset of cases having a particular value for a variable.Statistical Models in SPSS Ø Tutorial 1: Linear Regression The Regression submenu on the Statistics menu of the Data Editor provides regression techniques.

Left click on the right arrow button between the variable list and the Y box. If more plots are needed. In this case. 8. To indicate which statistics should be displayed. this option is not used. 29 . To display statistics. 9. When done. Do this also for the X axis. follow the same procedure. select the variable that will be displayed on the Y axis. click on the Save button. This will open the Linear Regression: Save dialog box. When done defining the plots. From the variable list. This will open the Linear Regression: Statistics dialog box. click on the Plots… button. In this case. this option is not used. To display specific plots. click on the Next button. click on the Continue button.7. Select the appropriate statistics to be displayed and click on the Continue button when done. click on the Statistics… button. This will open the Linear Regression: Plots dialog box.

In this case. Select the method to be used. To save the coefficient statistics. 11. click the Options… button. 10. This will open the Linear Regression: Options dialog box. When the selection is made. SPSS activates the Output Navigator to display the results of the analysis. click on the Continue button. click on the box and indicate the file to which you want them saved.Select the appropriate statistics. To indicate the stepping method criteria. Click OK. this option is not used. This will close the Linear Regression dialog box. Window Output 30 .

this option does not need to be used. To enter a numeric coefficient value for each level. test if the mean number of customers served per hour by each of the four tellers is the same. 4. From the Compare Means drop down menu. Solution 1. In this case. to this box. From the variable list. click Add.txt. Because the levels in this problem are already numeric. this option will not be used. However. From the Statistics menu.Ø Tutorial 2: Analysis of Variance Problem Using the data in ~/SPSS/teller1. select Compare Means. Left click on the right arrow button between the variable list and the Factor box to move the variable. select One-Way ANOVA… This will open the One-Way ANOVA dialog box. select teller. select the Polynomial box and select the highest degree of the polynomial to be modelled. to this box. num_cus. the number of coefficients must equal the number of groups or the analysis is not performed. 3. Left click on the right arrow button between the variable list and the Dependent List box to move the variable. 2. To partition between-groups sum of squares into polynomial trend components. 31 . teller. Click on the Contrasts… button. This will open the One-Way ANOVA: Contrasts dialog box. select num_cus. From the variable list.

However. right click on the word. Click OK. This will open the One-Way ANOVA: Post Hoc Multiple Comparisons dialog box. Click on the Options… button. 7. The One-Way ANOVA dialog box closes and SPSS activates the Output Navigator. In this case. select Exclude cases analysis by analysis. Click the Continue button when done. If equal variances are assumed between the different factor levels. In this case. If equal variance are not assumed between the different factor levels. To exclude cases that have missing values for the variable involved in that test. select Descriptive in the Statistics area. 6. To display descriptive statistics. select this option. select this option. The means of the dependent variable for each category of the independent variable can be found under "Descriptives". 32 . select the type of comparison method to be used. Click on the Post Hoc… button. Click the Continue button when done.5. A description window will appear. select the type of comparison method to be used. to exclude cases that have missing values for any of the variables used in any of the analyses. This will open the One-Way ANOVA: Options dialog box. select Exclude cases listwise. To get a description on each of the methods listed.

Window Output 33 .

64 5.42 C4 1.67 415.171 1.75 6.97 4.06 23. 1993 C2 2234 2502 1943 2062 2918 C3 55.69 4. City number Price of T-bone steak per pound Price of half-gallon carton of whole milk Price of 2-litre Coca-Cola bottle.6 10. including all taxes C9 Average cost per day of a semiprivate room in a hospital C10 Price for a woman’s shampoo. C1 C2 C3 C4 C5 C6 C7 C1 State number Average tuition and fees (in dollars) for in-state residents at public college.10 23.98 5. called citydata.46 1.16 1.227 1.59 State Data This data set.287 1.35 1.75 352.96 6.2 7. 1995-96 Female labour force participation rate (in percent).39 5. 1993 Infant mortality rate (in percent). on 8000-square foot lot in urban area with all utilities C7 Monthly telephone charges for a private residential line C8 Price of one gallon regular unleaded gas.47 5.87 C8 1.5-litre bottle C1 C1 C2 C3 C4 C5 1 2 3 4 5 q C2 5. man’s two-piece suit C12 Price of Gallo Chablis blanc wine.S.10 C12 5.10 6.4 59.S. called statdata.5 C4 4235 2483 4562 2583 44246 C5 19181 24002 20489 18101 24073 C6 2092 3085 1871 2100 1564 C7 10.1-1/2 or 2 baths.53 1.39 1. approximately 950 square feet C6 Purchase price of 1800-square foot new house. includes information of different variables for 50 states in the U.6 58.8 1 2 3 4 5 34 . 1995 Per capita energy expenditure (in dollars).67 C3 1.4 56.33 293. 1995 Estimated 1996 spending (in millions of dollars) by states Per capita income (in dollars).90 21.58 1. 1.11 C5 556 410 410 468 426 C6 129750 123450 107342 113920 116125 C7 24.23 5.16 5.263 1.22 1.17 21. and blow dry C11 Price of dry cleaning.49 16.07 17.50 C11 6.222 C9 436.txt.3 66.0 6.02 22.3 8.50 290.txt.Appendix A: Data Files q City Data This data set.40 18. trim.00 C10 21.46 5. excluding any deposit Monthly rent of an unfurnished two-bedroom apartment.05 1. includes prices of selected products for 200 selected cities across the U.

C1 C2 Teller number Number of customers C1 1 1 1 1 2 19 21 26 24 18 C2 35 .txt. C1 C2 C3 Player number Height (in inches) of a player Weight (in pounds) of a player C1 1 2 3 4 5 73 81 80 73 76 C2 162 225 241 190 184 C3 q Teller Data This data set. includes information on the number of customers that a teller serves at a bank. information on the heights and weights of NBA players who were on the rosters of NBA teams at the beginning of 1996-1997 season. called nba. called teller1.txt.q NBA Data This data set includes.