0% found this document useful (0 votes)
41 views

Frequencies: Notes

The document contains code for recoding variables in a dataset and running frequency analyses. It recodes three variables (Total_Intrinsik, Total_Ekstrinsik, Total_PK) into categorical variables (Kategori_Intrinsik, Kategori_Ekstrinsik, Kategori_PK). It then runs frequency analyses and crosstabulations on the recoded variables to examine distributions and relationships between the variables.

Uploaded by

Dasto Jhonsaves
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

Frequencies: Notes

The document contains code for recoding variables in a dataset and running frequency analyses. It recodes three variables (Total_Intrinsik, Total_Ekstrinsik, Total_PK) into categorical variables (Kategori_Intrinsik, Kategori_Ekstrinsik, Kategori_PK). It then runs frequency analyses and crosstabulations on the recoded variables to examine distributions and relationships between the variables.

Uploaded by

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

GET

FILE='E:\Bahan Kuliah\Penelitian\Olah Data\Olah Data.sav'.


RECODE Total_Intrinsik (Lowest thru 3=0) (3 thru Highest=1) INTO Kategori_Intrinsik.
VARIABLE LABELS Kategori_Intrinsik 'Katgeori Instrinsik'.
EXECUTE.
RECODE Total_Ekstrinsik (Lowest thru 3=0) (3 thru Highest=1) INTO Kategori_Ekstrinsik.
VARIABLE LABELS Kategori_Ekstrinsik 'Kategori Ekstrinsik'.
EXECUTE.
RECODE Total_PK (Lowest thru 3=0) (3 thru Highest=1) INTO Kategori_PK.
VARIABLE LABELS Kategori_PK 'Kategori PK'.
EXECUTE.
FREQUENCIES VARIABLES=Kategori_Intrinsik Kategori_Ekstrinsik Kategori_PK
/NTILES=4
/STATISTICS=STDDEV VARIANCE RANGE MINIMUM MAXIMUM SEMEAN MEAN MEDIAN MODE SUM
/ORDER=ANALYSIS.
RECODE Total_PK (Lowest thru 3=0) (3 thru Highest=1) INTO Kategori_PK.
VARIABLE LABELS Kategori_PK 'Kategori PK'.
EXECUTE.
FREQUENCIES VARIABLES=Kategori_Intrinsik Kategori_Ekstrinsik Kategori_PK
/NTILES=4
/STATISTICS=STDDEV VARIANCE RANGE MINIMUM MAXIMUM SEMEAN MEAN MEDIAN MODE SUM
/ORDER=ANALYSIS.

Frequencies
Notes
Output Created

17-Agu-2015 22:03:14

Comments
Input

Data

E:\Bahan Kuliah\Penelitian\Olah
Data\Olah Data.sav

Active Dataset

DataSet1

Filter

<none>

Weight

<none>

Split File

<none>

N of Rows in Working Data

33

File
Missing Value Handling

Definition of Missing

User-defined missing values are treated


as missing.

Cases Used

Statistics are based on all cases with


valid data.

Syntax

FREQUENCIES
VARIABLES=Kategori_Intrinsik
Kategori_Ekstrinsik Kategori_PK
/NTILES=4
/STATISTICS=STDDEV VARIANCE
RANGE MINIMUM MAXIMUM SEMEAN
MEAN MEDIAN MODE SUM
/ORDER=ANALYSIS.

Resources

Processor Time

00:00:00,032

Elapsed Time

00:00:00,032

[DataSet1] E:\Bahan Kuliah\Penelitian\Olah Data\Olah Data.sav


Statistics

Katgeori

Kategori

Instrinsik

Ekstrinsik

Valid

Kategori PK

33

33

33

,76

,58

,64

Std. Error of Mean

,076

,087

,085

Median

1,00

1,00

1,00

Std. Deviation

,435

,502

,489

Variance

,189

,252

,239

Range

Minimum

Maximum

25

19

21

25

,50

,00

,00

50

1,00

1,00

1,00

75

1,00

1,00

1,00

Missing
Mean

Mode

Sum
Percentiles

Frequency Table
Katgeori Instrinsik
Cumulative
Frequency
Valid

Rendah

Percent

Valid Percent

Percent

24,2

24,2

24,2

Tinggi

25

75,8

75,8

100,0

Total

33

100,0

100,0

Kategori Ekstrinsik
Cumulative
Frequency
Valid

Percent

Valid Percent

Percent

Rendah

14

42,4

42,4

42,4

Tinggi

19

57,6

57,6

100,0

Total

33

100,0

100,0

Kategori PK
Cumulative
Frequency
Valid

Percent

Valid Percent

Percent

Tidak Ada

12

36,4

36,4

36,4

Ada

21

63,6

63,6

100,0

Total

33

100,0

100,0

CROSSTABS
/TABLES=Kategori_Intrinsik Kategori_Ekstrinsik BY Kategori_PK
/FORMAT=AVALUE TABLES
/STATISTICS=CHISQ CORR GAMMA D BTAU CTAU KAPPA RISK MCNEMAR
/CELLS=COUNT EXPECTED ROW COLUMN TOTAL
/COUNT ROUND CELL.

Crosstabs
Notes
Output Created

17-Agu-2015 22:13:05

Comments
Input

Data

E:\Bahan Kuliah\Penelitian\Olah
Data\Olah Data.sav

Active Dataset

DataSet1

Filter

<none>

Weight

<none>

Split File

<none>

N of Rows in Working Data

33

File
Missing Value Handling

Definition of Missing

User-defined missing values are treated


as missing.

Cases Used

Statistics for each table are based on all


the cases with valid data in the specified
range(s) for all variables in each table.

Syntax

CROSSTABS
/TABLES=Kategori_Intrinsik
Kategori_Ekstrinsik BY Kategori_PK
/FORMAT=AVALUE TABLES
/STATISTICS=CHISQ CORR GAMMA
D BTAU CTAU KAPPA RISK MCNEMAR
/CELLS=COUNT EXPECTED ROW
COLUMN TOTAL
/COUNT ROUND CELL.

Resources

Processor Time

00:00:00,047

Elapsed Time

00:00:00,047

Dimensions Requested
Cells Available

2
174762

[DataSet1] E:\Bahan Kuliah\Penelitian\Olah Data\Olah Data.sav


Case Processing Summary
Cases
Valid
N

Missing
Percent

Katgeori Instrinsik * Kategori

Total

Percent

Percent

33

100,0%

,0%

33

100,0%

33

100,0%

,0%

33

100,0%

PK
Kategori Ekstrinsik * Kategori
PK

Katgeori Instrinsik * Kategori PK


Crosstab
Kategori PK
Tidak Ada
Katgeori Instrinsik

Rendah

Count

2,9

5,1

8,0

% within Katgeori Instrinsik

37,5%

62,5%

100,0%

% within Kategori PK

25,0%

23,8%

24,2%

9,1%

15,2%

24,2%

16

25

9,1

15,9

25,0

% within Katgeori Instrinsik

36,0%

64,0%

100,0%

% within Kategori PK

75,0%

76,2%

75,8%

% of Total

27,3%

48,5%

75,8%

12

21

33

12,0

21,0

33,0

36,4%

63,6%

100,0%

100,0%

100,0%

100,0%

36,4%

63,6%

100,0%

% of Total
Count
Expected Count

Total

Total

Expected Count

Tinggi

Ada

Count
Expected Count
% within Katgeori Instrinsik
% within Kategori PK
% of Total

Chi-Square Tests

Value
Pearson Chi-Square
Continuity Correction

Likelihood Ratio

df

Asymp. Sig. (2-

Exact Sig. (2-

Exact Sig. (1-

sided)

sided)

sided)

,006a

,939

,000

1,000

,006

,939

Fisher's Exact Test


Linear-by-Linear Association

1,000
,006

,940
,424c

McNemar Test
N of Valid Cases

33

a. 1 cells (25,0%) have expected count less than 5. The minimum expected count is 2,91.
b. Computed only for a 2x2 table
c. Binomial distribution used.

,627

Directional Measures
Asymp. Std.
Errora

Value
Ordinal by Ordinal

Somers' d

Approx. Tb

Approx. Sig.

Symmetric

,013

,174

,076

,939

Katgeori Instrinsik Dependent

,012

,156

,076

,939

Kategori PK Dependent

,015

,196

,076

,939

a. Not assuming the null hypothesis.


b. Using the asymptotic standard error assuming the null hypothesis.

Symmetric Measures
Asymp. Std.
Errora

Value
Ordinal by Ordinal

Approx. Tb

Approx. Sig.

Kendall's tau-b

,013

,175

,076

,939

Kendall's tau-c

,011

,144

,076

,939

Gamma

,032

,420

,076

,939

Spearman Correlation

,013

,175

,074

,941c

Interval by Interval

Pearson's R

,013

,175

,074

,941c

Measure of Agreement

Kappa

,013

,168

,077

,939

N of Valid Cases

33

a. Not assuming the null hypothesis.


b. Using the asymptotic standard error assuming the null hypothesis.
c. Based on normal approximation.

Risk Estimate
95% Confidence Interval
Value
Odds Ratio for Katgeori

Lower

Upper

1,067

,205

5,543

1,042

,370

2,936

,977

,530

1,801

Instrinsik (Rendah / Tinggi)


For cohort Kategori PK =
Tidak Ada
For cohort Kategori PK = Ada
N of Valid Cases

33

Kategori Ekstrinsik * Kategori PK


Crosstab
Kategori PK
Tidak Ada
Kategori Ekstrinsik

Rendah

Count

14

5,1

8,9

14,0

% within Kategori Ekstrinsik

50,0%

50,0%

100,0%

% within Kategori PK

58,3%

33,3%

42,4%

% of Total

21,2%

21,2%

42,4%

14

19

6,9

12,1

19,0

% within Kategori Ekstrinsik

26,3%

73,7%

100,0%

% within Kategori PK

41,7%

66,7%

57,6%

% of Total

15,2%

42,4%

57,6%

12

21

33

12,0

21,0

33,0

36,4%

63,6%

100,0%

100,0%

100,0%

100,0%

36,4%

63,6%

100,0%

Count
Expected Count

Total

Total

Expected Count

Tinggi

Ada

Count
Expected Count
% within Kategori Ekstrinsik
% within Kategori PK
% of Total

Chi-Square Tests

Value
Pearson Chi-Square
Continuity Correction

df

Likelihood Ratio

Exact Sig. (2-

Exact Sig. (1-

sided)

sided)

sided)

,162

1,064

,302

1,953

,162

1,954
b

Asymp. Sig. (2-

Fisher's Exact Test


Linear-by-Linear Association

,273
1,895

,169
,774c

McNemar Test
N of Valid Cases

33

a. 0 cells (,0%) have expected count less than 5. The minimum expected count is 5,09.
b. Computed only for a 2x2 table
c. Binomial distribution used.

,151

Directional Measures
Asymp. Std.
Errora

Value
Ordinal by Ordinal

Somers' d

Approx. Tb

Approx. Sig.

Symmetric

,243

,171

1,410

,159

Kategori Ekstrinsik

,250

,176

1,410

,159

,237

,168

1,410

,159

Dependent
Kategori PK Dependent
a. Not assuming the null hypothesis.
b. Using the asymptotic standard error assuming the null hypothesis.

Symmetric Measures
Asymp. Std.
Errora

Value
Ordinal by Ordinal

Approx. Tb

Approx. Sig.

Kendall's tau-b

,243

,171

1,410

,159

Kendall's tau-c

,231

,164

1,410

,159

Gamma

,474

,289

1,410

,159

Spearman Correlation

,243

,171

1,397

,172c

Interval by Interval

Pearson's R

,243

,171

1,397

,172c

Measure of Agreement

Kappa

,241

,170

1,398

,162

N of Valid Cases

33

a. Not assuming the null hypothesis.


b. Using the asymptotic standard error assuming the null hypothesis.
c. Based on normal approximation.

Risk Estimate
95% Confidence Interval
Value
Odds Ratio for Kategori

Lower

Upper

2,800

,648

12,092

1,900

,760

4,752

,679

,377

1,223

Ekstrinsik (Rendah / Tinggi)


For cohort Kategori PK =
Tidak Ada
For cohort Kategori PK = Ada
N of Valid Cases

33

You might also like