Upload
wan-amir
View
687
Download
3
Embed Size (px)
Citation preview
SPSSbasic data entryWan Amir Nizam Wan Ahmad MBBCh BAO PhD
Senior Medical Lecturer in Pharmacology
Biomedicine Program ([email protected])
GTU302/32014-2015
wanamir©
Learning objectives
General Outcomes:
Familiar with SPSS software & data entry
Specific Outcomes:
Able to enter the data in the correct way into SPSS data editor
Able to do the basics data editing
Able to change data representation into table and graph
wanamir©
SPSS interface
OR Click start (Window symbol)
All program IBM SPSS Statistics
IBM SPSS Statistics 21
wanamir©
Go to case
Go to variable
InsertCases
Select Cases
InsertVariables
ValueLabels
Data editor window
SPSS interface
wanamir©
SPSS interfaceDisplay all statistical result Tables Charts
Allow to edit Save
Access to: Pivot table editor Text output editor Chart editor Move between SPSS and
other application
Output viewer window
wanamir©
SPSS interfaceOutput viewer window
Pivot table editor
Chart editorEdit Colour Font Axes Rotation Chart type
wanamir©
wanamir©
Open SPSSBlinking
cursor Data editor window
Go to variable view to key-in variables
wanamir©
Enter variables
Continue entering variables!
Type ‘0’ in value
Type ‘malay’ in label
Continue to fill up value labels
1
2
3
wanamir©
Enter variables
Continue entering variables!
Type ‘0’ in value
Type ‘No’ in label
Continue to fill up value labels
1
2
3
wanamir©
Enter variables
Go to data view
Make sure all variables type row are: Numeric;Except GENDER variables: String (not number)
wanamir©
Enter data
Choose the 3 races(you already decide in variable view input!)
1
2
Start entering data!
wanamir©
Choose the 2 input(you already decide in variable view input!)
Enter data
Continue entering data into the column!
1
2
wanamir©
The cell statistics preselected:MeanNumber of CasesStandard deviation
Tables
wanamir©
Tables
& Graph
0 = ‘Malay’ 1 = ‘Chinese’ 2 = ‘Indian’
Remember our ‘coding’!!
wanamir©
Quick case selection
For quick variable selection, choose:Edit – Go to variables – choose which variables
e.g. case number 8
wanamir©
Select table to copye.g: Case processing summary
1
Right-click on the table2
wanamir©
Choose “Copy”
-if to copy to Word file and keep original table format (editable)
Choose “Copy Special”
-if to copy as image (non-editable)
-also to copy to power point
wanamir©
Edit the table Right click; e.g. cases row
In Word - editable
Choose your preferences
wanamir©
Edit datae.g. new variables: BMI
How to enter a new variables?
BMI variable between weight & IHD
Click on IHD column
wanamir©
Edit data
1
2
3
e.g. new variables: BMI
You have to enter the new variable’s data
wanamir©
Edit data
Enter the variabledata into the row!
Return to ‘Data View’
e.g. new variables: BMI
wanamir©
Edit data
Enter the new data in the new variable column
e.g. new variables: BMI
wanamir©
Edit dataMissing case?
How to enter a missing data?
e.g. data between 7 & 8
Click on 7th row
wanamir©
wanamir©
Things to note about decimal point in
your writing!
1 decimal point – ONLY for % (e.g. 51.3 %)
3 decimal points – ONLY for p value (e.g. p<0.001)
2 decimal points – for other values
wanamir©
Before you leave!!!
1. Delete the SPSS file you saved
2. Switch off your PC