1 / 28

Data Analysis Lecture 6: SPSS

Data Analysis Lecture 6: SPSS. Courtesy: Kevin Schoepp ( Zayed University) Kentaka Aruga. Level of Measurement. Scale: A variable when its values are represented with a meaningful metric so that distance comparisons between values are appropriate.

yoland
Télécharger la présentation

Data Analysis Lecture 6: SPSS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Data AnalysisLecture 6: SPSS

  2. Courtesy:Kevin Schoepp (Zayed University)KentakaAruga University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 2

  3. Level of Measurement Scale: A variable when its values are represented with a meaningful metric so that distance comparisons between values are appropriate. Examples: Age in years, Income in thousands of Rupees. Nominal: A variable when its values are represented with no ranking. Example: Region, zip code, or Political party affiliation. Ordinal: A variable when its values are represented with some ranking. Example, levels of service satisfaction from highly dissatisfied to highly satisfied. University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 7

  4. Introduction: What is SPSS? • Originally it is an acronym of Statistical Package for the Social Science but now it stands for Statistical Product and Service Solutions • One of the most popular statistical packages which can perform highly complex data manipulation and analysis with simple instructions University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 8

  5. Data Editor • Data Editor Spreadsheet-like system for defining, entering, editing, and displaying data. Extension of the saved file will be “sav.” University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 9

  6. Output Viewer • Output Viewer Displays output and errors. Extension of the saved file will be “spv.” University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 10

  7. The basics of managing data files University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 11

  8. Opening SPSS • The default window will have the data editor • There are two sheets in the window: 1. Data view 2. Variable view University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 12

  9. Click Data View window • The Data View window This sheet is visible when you first open the Data Editor and this sheet contains the data • Click on the tab labeled Variable View University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 13

  10. Variable View window • This sheet contains information about the data set that is stored with the dataset • Name • 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. University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 14

  11. Variable View window: Type • Type • Click on the ‘type’ box. The two basic types of variables that you will use are numeric and string.This column enables you to specify the type of variable. University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 15

  12. Variable View window: Width • Width • Width allows you to determine the number of characters SPSS will allow to be entered for the variable University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 16

  13. Variable View window: Decimals • Decimals • Number of decimals • It has to be less than or equal to 16 University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 17

  14. Variable View window: Label • Label • You can specify the details of the variable • You can write characters with spaces up to 256 characters University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 18

  15. Variable View window: Values • Values • This is used and to suggest which numbers represent which categories when the variable represents a category University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 19

  16. Click Defining the value labels • Click the cell in the values column as shown below • For the value, and the label, you can put up to 60 characters. • After defining the values click add and then click OK. University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 20

  17. Practice 1 • How would you put the following information into SPSS? Value = 1 represents Male and Value = 2 represents Female University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 21

  18. Click Practice 1 (Solution Sample) University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 22

  19. Click University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 23

  20. Click Saving the data • To save the data file you created simply click ‘file’ and click ‘save as.’ You can save the file in different forms by clicking “Save as type.” University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 24

  21. Sorting the data • Click ‘Data’ and then click Sort Cases University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 25

  22. Click Click Sorting the data (cont’d) • Double Click ‘Name of the students.’ Then click ok. University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 26

  23. Practice 2 • How would you sort the data by the ‘Height’ of students in descending order? • Answer • Click data, sort cases, double click ‘height of students,’ click ‘descending,’ and finally click ok. University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 27

  24. Transforming data • Click ‘Transform’ and then click ‘Compute Variable…’ University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 28

  25. Click Transforming data (cont’d) • Example: Adding a new variable named ‘lnheight’ which is the natural log of height • Type in lnheight in the ‘Target Variable’ box. Then type in ‘ln(height)’ in the ‘Numeric Expression’ box. Click OK University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 29

  26. Transforming data (cont’d) • A new variable ‘lnheight’ is added to the table University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 30

  27. Practice 3 • Create a new variable named “sqrtheight” which is the square root of height. • Answer University Of Malakand | Department of Computer Science | UoMIPS| Dr. Engr. Sami ur Rahman | 31

  28. Thanks for your attention

More Related