Professional Documents
Culture Documents
Spss Graphs
Spss Graphs
2:
Create a data file for the six variables and fifteen sample students presented in
example 1-2.1.NAME your variables: ID, DAY, TIME, MORNING, GRADE AND
WORK. You should code DAY as 1= Monday /Wednesday /Friday, 2 = Tuesday
/Thursday. Code TIME as 1 =morning, 2 = afternoon. Code MORNING as 0 = No, 1
= yes .Code WORK as 0= no, 1 = part-time, 2 = full time. Be sure you enter value
labels for different variables. Note that because value labels are not appropriate
for ID and grade, these are not coded. When complete perform the following:
Syntax:
DATA SET:
Syntax:
FREQUENCIES VARIABLES=DAY/ORDER=ANALYSIS
OUTPUT:
INTERPRETATION:
The frequency table indicate how many observation fall in the given
category the sample contained a total of 15 students and variable DAY
show that 9 students work at Monday, Wednesday, & Friday and 6
students work at Tuesday, & Thursday .
DESCRIPTIVE STATISTIC:
Syntax:
DESCRIPTIVES VARIABLES=TRANNING
/STATISTIC =MEAN STDDEV MIN MAX.
INTERPRETATION:
Syntax:
/TABLES = DAY BY MORNING
/FORMAT = AVALUE TABLES
/CELLS = COUNT
/COUNT ROUND CELL.
OUTPUT:
INTERPRETATION:
The output consists of the contingency table. Each level of timing in given in
the column. And day of classes are given in the row. It show that 8 students
take classes at Monday, Wednesday, and Friday they are not a morning
students while other 1 are morning student. And 2 students take classes at
Tuesday, and Thursday they are not a morning students while other 4 are
morning students.
CASE COMMAND:
Syntax:
USE ALL.
COMPUTE filter_$=(Work(WORK)).
VARIABLE LABELS filter_$ 'MEAN(WORK) (FILTER)'.
VALUE LABELS filter_$ 0 'Not Selected' 1 'Selected'.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.
OUTPUT:
ASSIGNING GRADES:
Syntax:
OUTPUT:
THE END