/
1 Using SPSS:  Introduction 1 Using SPSS:  Introduction

1 Using SPSS: Introduction - PowerPoint Presentation

aaron
aaron . @aaron
Follow
348 views
Uploaded On 2019-11-27

1 Using SPSS: Introduction - PPT Presentation

1 Using SPSS Introduction Department of Operations Weatherhead School of Management Opening SPSS in the Comp Lab Start All Programs Analytical amp Statistical SPSS 20 ID: 768306

variable click spss file click variable file spss data view excel window cont type opening existing values change bar

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "1 Using SPSS: Introduction" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

1 Using SPSS: Introduction Department of OperationsWeatherhead School of Management

Opening SPSS in the Comp. Lab Start → All Programs → [ Analytical & Statistical ] → SPSS 20 → IBM SPSS Statistics 2 Click Click Double Click

Starting SPSS When you first start SPSS, you will see… 3 Here, you can open an existing file. Here, you can create a new file. Or you can ignore this dialog by click- ing CANCEL

Layout of SPSS Then you will see the main menu of SPSSThere are two sheets in the window1. Data view 2. Variable view 4 Data View Variable View Menu Bar Tool Bar

Entering Data in the Data View Window5 Name of the variable Click To change the name of a variable, you must change to the Variable View window.

Variable View Window 6 This sheet contains information about the way the data set are stored.

Variable View W indowName This is where you can type the name you want for a variable. The first character of the variable name must be alphabetic. Variable names must be unique, and have to be less than 64 characters. Spaces are NOT allowed. Variable names that end with an underscore should be avoided.Certain key words are reserved and cannot be used as variable names, e.g. “compute”, “sum” and so forth.

Variable View Window Type Click Here You will see the “type” box

Variable View Window Type (Cont.) This column enables you to specify the type of data to be stored in this variable . The two basic types of variables that you will use are numeric and string. String variables may contain letters or numbers. For string values a blank is considered a valid value.Numeric operations on the string variables are NOT be allowed, e.g. finding the mean, variance, standard deviation, etc…

Variable View Window Width The number of characters SPSS allows for a data value to be stored in this variable .For a numerical value with decimals, this total width has to include a position for each decimal, as well as one for the decimal point. Type the number you want or click the Up and Down arrows.

Variable View W indow Decimals This is the number of decimal digits you want to display.It has to be less than or equal to 16.If more decimals have been entered or computed by SPSS, the additional information will be retained internally but not displayed on the screen. Type the number you want or click the Up and Down arrows.

Variable View W indow Label A sequence to characters used to identify in detail what a variable represents . Limited to 256 characters.May contain spaces and punctuation. Double click, then type in.

Variable View W indow Values This is used and to associate an integer to a qualitative value when the variable is qualitative (see the next slide).

Variable View W indow Values (Cont.) Click Here You will see the “Value” box

Variable View Window Values (Cont.) Type in the code/number. Then type in the label. Click “Add”. You will see the definition in this window. When finished, click “OK”. Here Value = 1 represents Male and Value = 0 represents Female Click Click

Variable View W indow Values (Cont.) Now change to the Data View window … Here are the Values Click on the “toe tag” icon The values change to… Click

Variable View W indow Missing Click Here You will see the “Missing” box Signal to SPSS which data should be treated as missing . System Missing data – SPSS display a single period.

Variable View Window Columns How wide the column should be for each variable. Columns affect only the display of values in the Data Editor . Changing the column width does not change the defined width of a variable. Type in the number you want or click the Up and Down arrows.

Variable View Window Align This determines the data alignment in the Data View window.

Variable View Window Measure Indicates whether the values of this variable are: Quantitative (“Scale) Qualitative (“Nominal” and “Ordinal”, which are treated differently).

Creating an SPSS D ata File 21 Click “File” in Menu Bar. Then click “New”. Then click “Data”.

Opening an Existing a SPSS file 22 Click “File” in Menu Bar. Then click “Open”. Then click “Data”. OR click “Open Data Doc” icon in the Tool Bar. Click

Opening an Existing SPSS file (Cont.) Then you will see the “Open Data” window… Change the location in the "Look in" box to the subdirectory where your file is . Select the file. Click on the “Open” button . Click All SPSS files end with “ . sav ”

Opening an Existing SPSS file (Cont.) You will see the data appear in the Data Editor windowand more information about the variables in the Variable View window.

Opening an Existing EXCEL File Get the “Open Data” window (just like opening an SPSS file).And change the location in the "Look in" box to the subdirectory where your file is. 25 Use the "Files of type" to select Excel (*. xls, *.xlsx, *.xlsm) files.

Opening an Existing EXCEL File (Cont .) Select the file. Click the “Open” button. 26 You will be asked about the location of the variable names. Click “OK”

Opening an Existing EXCEL File (Cont.) You will see the data appear in the Data Editor window 27 There are some errors here …

Opening an Existing EXCEL File (Cont.) Here is the original Excel file stereo.xls .Some Excel formatting cannot be read in SPSS. 28 Prepare the Excel file before importing it...

Opening an Existing EXCEL File (Cont.) Here are the four general steps when importing Excel data. Close the Excel file before you try to import it in SPSS.Arrange the data in a rectangular grid. Don't mix strings and numbers.Put variable names in your first row. 29 This works…

Opening an Existing EXCEL File (Cont.) You may need to modify some of the variable definitions (in the Variable View)30 These three variables are useless…

Saving an SPSS File 31 Click “File” in Menu Bar. Then click “ Save”. OR double click “Save Data Doc” icon in Tool Bar. Click

Saving an SPSS File (Cont.) Then you will see the “Save Data” window… Change the location in the "Look in" box to the subdirectory where your want to save the file. Type in the file name . Click on the “Save” button . Click By default, SPSS will add a “. sav ” extension to the file name.

Saving an SPSS File ( Cont .) If you want, you can choose the variables you want to save… Click the “Variables” button. You will get the “Variables” window. Choose the desired variables , then click “Continue” Click Click Click

Saving an SPSS File ( Cont.) Here are two different saved SPSS files from one data set…

Saving Data as an Excel File 35 Click “File” in Menu Bar. Then click “Save As”. Then you will see the “Save Data” window

Saving Data as an Excel File (Cont.) 36 Use the ”Save as type" to select Excel (*.xlsx) files . The other steps are same as saving an SPSS file.

Saving Data as an Excel File (Cont.) 37 Here is the saved Excel file example.

Reference www.uri.edu/its/ppt/spss.intro.ppt http://www.hec.gov.pk/InsideHEC/Divisions/QALI/LearningInnovation/Documents/Learning%20Portal/Master%20Trainer%20(MT)/FPDP/SPSS/Introduction_SPSS_Chaleunvong_Laos_2009.pdfhttp://oit.wvu.edu/training/files/ spss17_statistics.pdfhttp://www.childrensmercy.org/stats/data/excel.aspx 38