You are on page 1of 3

Thursday October 6 21:20:38 2022 Page 1

___ ____ ____ ____ ____(R)


/__ / ____/ / ____/
___/ / /___/ / /___/
Statistics/Data Analysis

___ ____ ____ ____ ____ (R)


/__ / ____/ / ____/
___/ / /___/ / /___/ 14.2 Copyright 1985-2015 StataCorp LLC
Statistics/Data Analysis StataCorp
4905 Lakeway Drive
College Station, Texas 77845 USA
800-STATA-PC http://www.stata.com
979-696-4600 stata@stata.com
979-696-4601 (fax)

Single-user Stata perpetual license:


Serial number: 10699393
Licensed to: Andrey

Notes:
1. You are running Small Stata.
2. Unicode is supported; see help unicode_advice.

1 . log using "D:\semester 7\ayuu.smcl"

name: <unnamed>
log: D:\semester 7\ayuu.smcl
log type: smcl
opened on: 6 Oct 2022, 21:17:04

2 . *(4 variables, 19 observations pasted into data editor)

3 . reg pengangguran inflasi pertumbuhanekonomi

Source SS df MS Number of obs = 19


F(2, 16) = 4.64
Model 22.2147866 2 11.1073933 Prob > F = 0.0258
Residual 38.3080667 16 2.39425417 R-squared = 0.3670
Adj R-squared = 0.2879
Total 60.5228533 18 3.36238074 Root MSE = 1.5473

pengangguran Coef. Std. Err. t P>|t| [95% Conf. Interval]

inflasi .2550527 .1054574 2.42 0.028 .031493 .4786125


pertumbuhanekonomi .1640535 .2178804 0.75 0.462 -.2978324 .6259394
_cons 4.974256 1.06436 4.67 0.000 2.717914 7.230598

4 . tab pengangguran

Penganggura
n Freq. Percent Cum.

4.94 1 5.26 5.26


5.23 1 5.26 10.53
5.3 1 5.26 15.79
5.5 1 5.26 21.05
5.61 1 5.26 26.32
5.94 1 5.26 31.58
6.13 1 5.26 36.84
6.17 1 5.26 42.11
6.18 1 5.26 47.37
6.26 1 5.26 52.63
7.14 1 5.26 57.89
7.48 1 5.26 63.16
7.87 1 5.26 68.42
8.39 1 5.26 73.68
9.11 1 5.26 78.95
9.51 1 5.26 84.21
Thursday October 6 21:20:39 2022 Page 2

9.86 1 5.26 89.47


10.26 1 5.26 94.74
10.27 1 5.26 100.00

Total 19 100.00

5 . tab inflasi

Inflasi Freq. Percent Cum.

1.68 1 5.26 5.26


1.87 1 5.26 10.53
2.72 1 5.26 15.79
2.78 1 5.26 21.05
3.02 1 5.26 26.32
3.13 1 5.26 31.58
3.35 1 5.26 36.84
3.61 1 5.26 42.11
3.79 1 5.26 47.37
4.3 1 5.26 52.63
5.16 1 5.26 57.89
6.4 1 5.26 63.16
6.59 1 5.26 68.42
6.6 1 5.26 73.68
6.96 1 5.26 78.95
8.36 1 5.26 84.21
8.38 1 5.26 89.47
11.06 1 5.26 94.74
17.11 1 5.26 100.00

Total 19 100.00

6 . tab pertumbuhanekonomi

Pertumbuhan
Ekonomi Freq. Percent Cum.

-2.07 1 5.26 5.26


3.69 1 5.26 10.53
4.63 1 5.26 15.79
4.78 1 5.26 21.05
4.88 1 5.26 26.32
5.01 1 5.26 31.58
5.02 1 5.26 36.84
5.03 2 10.53 47.37
5.07 1 5.26 52.63
5.17 1 5.26 57.89
5.5 1 5.26 63.16
5.56 1 5.26 68.42
5.69 1 5.26 73.68
6 1 5.26 78.95
6.03 1 5.26 84.21
6.17 1 5.26 89.47
6.22 1 5.26 94.74
6.35 1 5.26 100.00

Total 19 100.00
Thursday October 6 21:20:39 2022 Page 3

7 . predict resid1, r

8 . summarize resid1

Variable Obs Mean Std. Dev. Min Max

resid1 19 -1.32e-09 1.458844 -1.988405 2.710103

9 . ksmirnov resid1 = normal((resid1-r(mean))/r(sd))

One-sample Kolmogorov-Smirnov test against theoretical distribution


normal((resid1-r(mean))/r(sd))

Smaller group D P-value

resid1: 0.1348 0.501


Cumulative: -0.1099 0.632
Combined K-S: 0.1348 0.880

10 . vif

Variable VIF 1/VIF

inflasi 1.18 0.845714


pertumbuha~i 1.18 0.845714

Mean VIF 1.18

11 . hettest

Breusch-Pagan / Cook-Weisberg test for heteroskedasticity


Ho: Constant variance
Variables: fitted values of pengangguran

chi2(1) = 0.11
Prob > chi2 = 0.7450

12 . tsset tahun
time variable: tahun, 2003 to 2021
delta: 1 unit

13 . dwstat

Durbin-Watson d-statistic( 3, 19) = .8946354

14 . save "D:\semester 7\ayuu.dta"


file D:\semester 7\ayuu.dta saved

15 .

You might also like