0% found this document useful (0 votes)
29 views7 pages

Output

This document contains the code to recode variables in a dataset and perform crosstabulation analysis. It recodes three variables - Interpretasi1, Interpretasi2, and Interpretasi1 again into new variables. It then performs a crosstabulation between the variables JenisKelas and Interpretasi1new, displaying the results including counts, percentages, expected counts and chi-square tests. It performs a second crosstabulation between JenisKelas and Interpretasi2new and displays similar results.

Uploaded by

Sayyidatun Nisa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views7 pages

Output

This document contains the code to recode variables in a dataset and perform crosstabulation analysis. It recodes three variables - Interpretasi1, Interpretasi2, and Interpretasi1 again into new variables. It then performs a crosstabulation between the variables JenisKelas and Interpretasi1new, displaying the results including counts, percentages, expected counts and chi-square tests. It performs a second crosstabulation between JenisKelas and Interpretasi2new and displays similar results.

Uploaded by

Sayyidatun Nisa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 7

GET

FILE='D:\Untitled3.sav'.
DATASET NAME DataSet2 WINDOW=FRONT.
RECODE Interpretasi1 (Lowest thru 15=1) (18 thru Highest=3) (16 thru 17=2)
INTO Interpretasinew.
VARIABLE LABELS Interpretasinew 'Interpretasinew'.
EXECUTE.
RECODE Interpretasi1 (Lowest thru 15=3) (16 thru 17=2) (18 thru Highest=1)
INTO Interpretasinew.
VARIABLE LABELS Interpretasinew 'Interpretasinew'.
EXECUTE.
RECODE Interpretasi2 (5=2) (6 thru Highest=3) (Lowest thru 4=1) INTO
Interpretasi2new.
VARIABLE LABELS Interpretasi2new 'Interpretasi2new'.
EXECUTE.
CROSSTABS
/TABLES=JenisKelas BY Interpretasi1new
/FORMAT=AVALUE TABLES
/STATISTICS=CHISQ CC PHI RISK
/CELLS=COUNT EXPECTED ROW COLUMN TOTAL
/COUNT ROUND CELL.

Crosstabs

Notes

Output Created 02-OCT-2016 16:07:19


Comments
Data D:\Untitled3.sav
Active Dataset DataSet2
Filter <none>
Input
Weight <none>
Split File <none>
N of Rows in Working Data File 96
User-defined missing values are treated
Definition of Missing
as missing.
Statistics for each table are based on
Missing Value Handling
all the cases with valid data in the
Cases Used
specified range(s) for all variables in
each table.
CROSSTABS
/TABLES=JenisKelas BY
Interpretasi1new
/FORMAT=AVALUE TABLES
Syntax
/STATISTICS=CHISQ CC PHI RISK
/CELLS=COUNT EXPECTED ROW
COLUMN TOTAL
/COUNT ROUND CELL.
Processor Time 00:00:00,05

Elapsed Time 00:00:00,05


Resources
Dimensions Requested 2

Cells Available 174734

[DataSet2] D:\Untitled3.sav

Case Processing Summary

Cases

Valid Missing Total

N Percent N Percent N Percent

JenisKelas * Interpretasinew 92 95,8% 4 4,2% 96 100,0%

JenisKelas * Interpretasinew Crosstabulation


Interpretasinew

abnormal borderline normal

Count 22 7 17

Expected Count 21,5 9,0 15,5

NonUnggulan % within JenisKelas 47,8% 15,2% 37,0%

% within Interpretasinew 51,2% 38,9% 54,8%

% of Total 23,9% 7,6% 18,5%


JenisKelas
Count 21 11 14

Expected Count 21,5 9,0 15,5

Unggulan % within JenisKelas 45,7% 23,9% 30,4%

% within Interpretasinew 48,8% 61,1% 45,2%

% of Total 22,8% 12,0% 15,2%


Total Count 43 18 31

Expected Count 43,0 18,0 31,0


% within JenisKelas 46,7% 19,6% 33,7%

% within Interpretasinew 100,0% 100,0% 100,0%

% of Total 46,7% 19,6% 33,7%

JenisKelas * Interpretasinew Crosstabulation

Total

Count 46

Expected Count 46,0

NonUnggulan % within JenisKelas 100,0%

% within Interpretasinew 50,0%

% of Total 50,0%
JenisKelas
Count 46

Expected Count 46,0

Unggulan % within JenisKelas 100,0%

% within Interpretasinew 50,0%

% of Total 50,0%
Count 92

Expected Count 92,0

Total % within JenisKelas 100,0%

% within Interpretasinew 100,0%

% of Total 100,0%

Chi-Square Tests

Value df Asymp. Sig. (2-


sided)

Pearson Chi-Square 1,202a 2 ,548


Likelihood Ratio 1,210 2 ,546
Linear-by-Linear Association ,055 1 ,815
N of Valid Cases 92

a. 0 cells (,0%) have expected count less than 5. The minimum expected
count is 9,00.

Symmetric Measures

Value Approx. Sig.

Nominal by Nominal Phi ,114 ,548

Cramer's V ,114 ,548


Contingency Coefficient ,114 ,548
N of Valid Cases 92

Risk Estimate

Value
a
Odds Ratio for JenisKelas (NonUnggulan /
Unggulan)

a. Risk Estimate statistics cannot be computed. They are only


computed for a 2*2 table without empty cells.

CROSSTABS
/TABLES=JenisKelas BY Interpretasi2new
/FORMAT=AVALUE TABLES
/STATISTICS=CHISQ CC PHI RISK
/CELLS=COUNT EXPECTED ROW COLUMN TOTAL
/COUNT ROUND CELL.

Crosstabs

Notes

Output Created 02-OCT-2016 16:07:51


Comments
Data D:\Untitled3.sav
Active Dataset DataSet2
Filter <none>
Input
Weight <none>
Split File <none>
N of Rows in Working Data File 96
User-defined missing values are treated
Definition of Missing
as missing.
Statistics for each table are based on
Missing Value Handling
all the cases with valid data in the
Cases Used
specified range(s) for all variables in
each table.
CROSSTABS
/TABLES=JenisKelas BY
Interpretasi2new
/FORMAT=AVALUE TABLES
Syntax
/STATISTICS=CHISQ CC PHI RISK
/CELLS=COUNT EXPECTED ROW
COLUMN TOTAL
/COUNT ROUND CELL.
Processor Time 00:00:00,05

Elapsed Time 00:00:00,11


Resources
Dimensions Requested 2

Cells Available 174734

[DataSet2] D:\Untitled3.sav

Case Processing Summary

Cases

Valid Missing Total

N Percent N Percent N Percent

JenisKelas * Interpretasi2new 92 95,8% 4 4,2% 96 100,0%

JenisKelas * Interpretasi2new Crosstabulation


Interpretasi2new

abnormal borderline normal

Count 14 18 14

Expected Count 7,5 15,0 23,5

NonUnggulan % within JenisKelas 30,4% 39,1% 30,4%

% within Interpretasi2new 93,3% 60,0% 29,8%

% of Total 15,2% 19,6% 15,2%


JenisKelas
Count 1 12 33

Expected Count 7,5 15,0 23,5

Unggulan % within JenisKelas 2,2% 26,1% 71,7%

% within Interpretasi2new 6,7% 40,0% 70,2%

% of Total 1,1% 13,0% 35,9%


Total Count 15 30 47

Expected Count 15,0 30,0 47,0


% within JenisKelas 16,3% 32,6% 51,1%

% within Interpretasi2new 100,0% 100,0% 100,0%

% of Total 16,3% 32,6% 51,1%

JenisKelas * Interpretasi2new Crosstabulation

Total

Count 46

Expected Count 46,0

NonUnggulan % within JenisKelas 100,0%

% within Interpretasi2new 50,0%

% of Total 50,0%
JenisKelas
Count 46

Expected Count 46,0

Unggulan % within JenisKelas 100,0%

% within Interpretasi2new 50,0%

% of Total 50,0%
Count 92

Expected Count 92,0

Total % within JenisKelas 100,0%

% within Interpretasi2new 100,0%

% of Total 100,0%

Chi-Square Tests

Value df Asymp. Sig. (2-


sided)

Pearson Chi-Square 20,148a 2 ,000


Likelihood Ratio 22,560 2 ,000
Linear-by-Linear Association 19,911 1 ,000
N of Valid Cases 92

a. 0 cells (,0%) have expected count less than 5. The minimum expected
count is 7,50.

Symmetric Measures

Value Approx. Sig.

Nominal by Nominal Phi ,468 ,000

Cramer's V ,468 ,000


Contingency Coefficient ,424 ,000
N of Valid Cases 92

Risk Estimate

Value
a
Odds Ratio for JenisKelas (NonUnggulan /
Unggulan)

a. Risk Estimate statistics cannot be computed. They are only


computed for a 2*2 table without empty cells.

You might also like