Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 11

Frequencies

Notes
Output Created 03-FEB-2021 16:47:38
Comments
Input Active Dataset DataSet0
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 81
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=AktivitasFisik
Stress KualitasTidur
/ORDER=ANALYSIS.
Resources Processor Time 00:00:00.02
Elapsed Time 00:00:00.02

[DataSet0]

Statistics
AktivitasFisik Stress KualitasTidur
N Valid 81 81 81
Missing 0 0 0

Frequency Table
AktivitasFisik
Cumulative
Frequency Percent Valid Percent Percent
Valid Baik 63 77.8 77.8 77.8
Buruk 18 22.2 22.2 100.0
Total 81 100.0 100.0

Stress
Cumulative
Frequency Percent Valid Percent Percent
Valid Tidak stres 47 58.0 58.0 58.0
Stres 34 42.0 42.0 100.0
Total 81 100.0 100.0

KualitasTidur
Cumulative
Frequency Percent Valid Percent Percent
Valid Baik 42 51.9 51.9 51.9
Buruk 39 48.1 48.1 100.0
Total 81 100.0 100.0

Crosstabs

Notes
Output Created 03-FEB-2021 16:48:10
Comments
Input Active Dataset DataSet0
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 81
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=AktivitasFisik Stress
BY KualitasTidur
/FORMAT=AVALUE TABLES
/STATISTICS=CHISQ RISK
/CELLS=COUNT TOTAL
/COUNT ROUND CELL.
Resources Processor Time 00:00:00.03
Elapsed Time 00:00:00.03
Dimensions Requested 2
Cells Available 524245

Case Processing Summary


Cases
Valid Missing Total
N Percent N Percent N Percent
AktivitasFisik * KualitasTidur 81 100.0% 0 0.0% 81 100.0%
Stress * KualitasTidur 81 100.0% 0 0.0% 81 100.0%

AktivitasFisik * KualitasTidur

Crosstab
KualitasTidur
Baik Buruk Total
AktivitasFisik Baik Count 27 36 63
% of Total 33.3% 44.4% 77.8%
Buruk Count 15 3 18
% of Total 18.5% 3.7% 22.2%
Total Count 42 39 81
% of Total 51.9% 48.1% 100.0%

Chi-Square Tests
Asymptotic
Significance (2- Exact Sig. (2- Exact Sig. (1-
Value df sided) sided) sided)
a
Pearson Chi-Square 9.187 1 .002
Continuity Correctionb 7.637 1 .006
Likelihood Ratio 9.912 1 .002
Fisher's Exact Test .003 .002
Linear-by-Linear Association 9.074 1 .003
N of Valid Cases 81
a. 0 cells (.0%) have expected count less than 5. The minimum expected count is 8.67.
b. Computed only for a 2x2 table

Risk Estimate
95% Confidence Interval
Value Lower Upper
Odds Ratio for AktivitasFisik .150 .039 .571
(Baik / Buruk)
For cohort KualitasTidur = Baik .514 .362 .731
For cohort KualitasTidur = 3.429 1.194 9.846
Buruk
N of Valid Cases 81

Stress * KualitasTidur

Crosstab
KualitasTidur Total
Baik Buruk
Stress Tidak stres Count 16 31 47
% of Total 19.8% 38.3% 58.0%
Stres Count 26 8 34
% of Total 32.1% 9.9% 42.0%
Total Count 42 39 81
% of Total 51.9% 48.1% 100.0%

Chi-Square Tests
Asymptotic
Significance (2- Exact Sig. (2- Exact Sig. (1-
Value df sided) sided) sided)
a
Pearson Chi-Square 14.225 1 .000
b
Continuity Correction 12.576 1 .000
Likelihood Ratio 14.794 1 .000
Fisher's Exact Test .000 .000
Linear-by-Linear Association 14.049 1 .000
N of Valid Cases 81
a. 0 cells (.0%) have expected count less than 5. The minimum expected count is 16.37.
b. Computed only for a 2x2 table

Risk Estimate
95% Confidence Interval
Value Lower Upper
Odds Ratio for Stress (Tidak .159 .059 .430
stres / Stres)
For cohort KualitasTidur = Baik .445 .287 .691
For cohort KualitasTidur = 2.803 1.478 5.315
Buruk
N of Valid Cases 81

LOGISTIC REGRESSION VARIABLES KualitasTidur


/METHOD=ENTER AktivitasFisik Stress
/CLASSPLOT
/CASEWISE OUTLIER(2)
/PRINT=GOODFIT CORR ITER(1) CI(95)
/CRITERIA=PIN(0.05) POUT(0.10) ITERATE(20) CUT(0.5).
Logistic Regression

Notes
Output Created 03-FEB-2021 16:52:54
Comments
Input Active Dataset DataSet0
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data File 81
Missing Value Handling Definition of Missing User-defined missing values are
treated as missing
Syntax LOGISTIC REGRESSION
VARIABLES KualitasTidur
/METHOD=ENTER
AktivitasFisik Stress
/CLASSPLOT
/CASEWISE OUTLIER(2)
/PRINT=GOODFIT CORR
ITER(1) CI(95)
/CRITERIA=PIN(0.05)
POUT(0.10) ITERATE(20)
CUT(0.5).
Resources Processor Time 00:00:00.00
Elapsed Time 00:00:00.03

Case Processing Summary


a
Unweighted Cases N Percent
Selected Cases Included in Analysis 81 100.0
Missing Cases 0 .0
Total 81 100.0
Unselected Cases 0 .0
Total 81 100.0
a. If weight is in effect, see classification table for the total number of cases.

Dependent Variable
Encoding
Original Value Internal Value
Baik 0
Buruk 1

Block 0: Beginning Block

Iteration Historya,b,c
Coefficients
Iteration -2 Log likelihood Constant
Step 0 1 112.179 -.074
2 112.179 -.074
a. Constant is included in the model.
b. Initial -2 Log Likelihood: 112.179
c. Estimation terminated at iteration number 2 because
parameter estimates changed by less than .001.

Classification Tablea,b
Predicted
KualitasTidur Percentage
Observed Baik Buruk Correct
Step 0 KualitasTidur Baik 42 0 100.0
Buruk 39 0 .0
Overall Percentage 51.9
a. Constant is included in the model.
b. The cut value is .500
Variables in the Equation
B S.E. Wald df Sig. Exp(B)
Step 0 Constant -.074 .222 .111 1 .739 .929

Variables not in the Equation


Score df Sig.
Step 0 Variables AktivitasFisik 9.187 1 .002
Stress 14.225 1 .000
Overall Statistics 15.900 2 .000

Block 1: Method = Enter

Iteration Historya,b,c,d
Coefficients
Iteration -2 Log likelihood Constant AktivitasFisik Stress
Step 1 1 95.462 .672 -.803 -1.354
2 95.140 .711 -1.069 -1.448
3 95.137 .712 -1.099 -1.454
4 95.137 .712 -1.100 -1.454
a. Method: Enter
b. Constant is included in the model.
c. Initial -2 Log Likelihood: 112.179
d. Estimation terminated at iteration number 4 because parameter estimates changed
by less than .001.

Omnibus Tests of Model Coefficients


Chi-square df Sig.
Step 1 Step 17.041 2 .000
Block 17.041 2 .000
Model 17.041 2 .000

Model Summary
Cox & Snell R Nagelkerke R
Step -2 Log likelihood Square Square
a
1 95.137 .190 .253
a. Estimation terminated at iteration number 4 because parameter
estimates changed by less than .001.

Hosmer and Lemeshow Test


Step Chi-square df Sig.
1 4.199 2 .122

Contingency Table for Hosmer and Lemeshow Test


KualitasTidur = Baik KualitasTidur = Buruk Total
Observed Expected Observed Expected
Step 1 1 15 13.809 1 2.191 16
2 11 12.191 7 5.809 18
3 0 1.191 2 .809 2
4 16 14.809 29 30.191 45

Classification Tablea
Predicted
KualitasTidur Percentage
Observed Baik Buruk Correct
Step 1 KualitasTidur Baik 26 16 61.9
Buruk 10 29 74.4
Overall Percentage 67.9
a. The cut value is .500

Variables in the Equation


95% C.I.for EXP(B)
B S.E. Wald df Sig. Exp(B) Lower Upper
a
Step 1 AktivitasFisik -1.100 .759 2.099 1 .147 .333 .075 1.474
Stress -1.454 .559 6.767 1 .009 .234 .078 .699
Constant .712 .312 5.219 1 .022 2.039
a. Variable(s) entered on step 1: AktivitasFisik, Stress.

Correlation Matrix
Constant AktivitasFisik Stress
Step 1 Constant 1.000 -.113 -.508
AktivitasFisik -.113 1.000 -.378
Stress -.508 -.378 1.000

Step number: 1

Observed Groups and Predicted Probabilities

80 + +
I I
I I
F I I
R 60 + +
E I I
Q I I
U I 1 I
E 40 + 1 +
N I 1 I
C I 1 I
Y I 1 I
20 + 1 1 +
I 0 1 0 I
I 0 0 0 I
I 0 0 0 I
Predicted ---------+---------+---------+---------+---------+---------+---------+---------+---------+----------
Prob: 0 .1 .2 .3 .4 .5 .6 .7 .8 .9 1
Group: 0000000000000000000000000000000000000000000000000011111111111111111111111111111111111111111111111111

Predicted Probability is of Membership for Buruk


The Cut Value is .50
Symbols: 0 - Baik
1 - Buruk
Each Symbol Represents 5 Cases.
Casewise Listb
Observed Temporary Variable
a
Case Selected Status KualitasTidur Predicted Predicted Group Resid ZResid SResid
28 S 1** .137 0 .863 2.510 2.047
a. S = Selected, U = Unselected cases, and ** = Misclassified cases.
b. Cases with studentized residuals greater than 2.000 are listed.

You might also like