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

Eas Prep

1. The document contains calculations to find a 98% confidence interval (CI) for the difference between two population means (μ2 - μ1) given sample data and assumptions. 2. A second problem calculates a 95% CI for the difference between two other population means (μ1 - μ2) without assuming equal variances, again using sample data. 3. The remaining content includes sample data and calculations for ANOVA and linear regression analysis.

Uploaded by

Abghaza Bayu
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Eas Prep

1. The document contains calculations to find a 98% confidence interval (CI) for the difference between two population means (μ2 - μ1) given sample data and assumptions. 2. A second problem calculates a 95% CI for the difference between two other population means (μ1 - μ2) without assuming equal variances, again using sample data. 3. The remaining content includes sample data and calculations for ANOVA and linear regression analysis.

Uploaded by

Abghaza Bayu
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 10

SOAL PAK ALIFIAN

diketahui:
n1 12 n2 14 alpha 2%
x1 8 x2 9 CI 98%
s1^2 3.4 s2^2 3.2

ditanya: find a 98% CI for the difference, miu2-miu1

jawab:
x2-x1 1
sp sqrt[(n1-1)s1^2 + (n2-1)s2^2 / (n1+n2-2)] 1.81429508809
talpha/2;n1+n2-2 2.4921595 (pake t.inv.2t(alpha;df))
Batas bawah -0.778754
Batas Atas 2.7787536

maka interval dengan selang 98% -0,77875<MIU2-MIU1<2,777875 melewati harga nol, maka selisih sama dgn

diketahui:
x1 36300 x2 38100 asumsi berdistribusi normal
s1 5000 s2 6100 ci 95%
n1 12 n2 12 alpha 5%

ditanya: compute a 95% ci for miu1-miu2 (you may not assume that the variance are equal

jawab:
x2-x1 1800
z alpha/2 -1.959964
sqrt[(sigma1^2/n1)+(sigma2^2/n2)] 2276.877

batas atas 6262.596


batas bawah -2662.596 melewati harga nol, maka selisih sama dgn nol yg artinya rata-rata sam

1 2 3 4 SST
13.7 6.2 27.2 18.2 0.46979601
23 5.4 16.8 8.8 99.708546
15.7 5 12.9 14.5 7.21146267
25.5 4.4 14.9 14.7 155.885629
15.8 5 17.1 17.1 7.75854601
14.8 3.3 13 13.9 3.18771267
14 16 10.8 10.6 0.97104601
29.4 2.5 13.5 5.8 268.481879
9.7 1.6 25.5 7.3 10.9864627
14 3.9 14.2 17.7 0.97104601
12.3 2.5 27.4 18.3 0.51062934
12.3 7.1 11.5 9.9 0.51062934
Jumlah 200.2 62.9 204.8 156.8 624.7 maka, SST
Mean 16.683333 5.241667 17.06667 13.06667 13.0145833333
n 12 12 12 12 48

SSTr 1083.600625 SSE = SST-SSTr =


161.51671875 725.0188 197.0326 0.032552

Hipotesis LSD
H0:miu1=miu2=miu3=miu4 t (alpha;Dfe)
H1:minimal ada satu pasangan miu yang berbeda sy

T1 dan T2
TABEL ANOVA sy
source SS DF MS F P LSD
treatment 1083.6006 3 361.2002 diff mean
error 1177.6792 44 26.76544 13.49502 2.2281452E-06 diffmean>LSD
total 2261.2798 47
T1 dan T3
alpha 0.01 sy
F(0,01;3;44) 4.2606429 LSD
diff mean
Keputusan: diffmean<LSD
Tolak H0, karena Fhitung>F( )
Kesimpulan
maka, ada perbedaan rata-rata yan signifikan diantara keempat perlakuan tsb

n X Y XY X^2 Y^2
1 8 8 1 64
1.1 7.8 8.58 1.21 60.84 12
1.2 8.5 10.2 1.44 72.25
10
1.3 9.8 12.74 1.69 96.04 f(x) = 1.85454
1.4 9.5 13.3 1.96 90.25 8 R² = 0.510125
Axis Title

11 1.5 8.9 13.35 2.25 79.21 6


1.6 8.6 13.76 2.56 73.96 4
1.7 10.2 17.34 2.89 104.04
1.8 9.3 16.74 3.24 86.49 2
1.9 9.2 17.48 3.61 84.64 0
2 10.5 21 4 110.25 0.8 1 1.2
jumlah 16.5 100.3 152.49 25.85 921.97 A
kuadrat 272.25 10060.09
rata-rata 1.5 9.118182

Sxx (sigma X^2) - (sigma X)^2 / n 1.1


Syy (sigma Y^2) - (sigma Y)^2 / n 7.41636363636 Column 1
Sxy (sigma XY) - ((sigmaX*sigmaY)/n) 2.04 Column 2

korelasi Sxy / (sqrt(Sxx)*sqrt(Syy)) 0.71423037645


Mencari nilai b1 Sxy / Sxx 1.854545 SUMMARY OUTPUT
Mencari nilai b0 avg Y - (b1)avg X 6.336364
Regression Statistics
Maka model regresinya Multiple R
Y = 6,336364 + 1,854545X R Square
terus masukin nilai x sembarang, lalu buat grafik garis regresi Adjusted R
Standard Err
Observations

ANOVA

Regression
Residual
Total

Coefficients
Intercept
X Variable 1

RESIDUAL OUTPUT

Observation
1
2
3
4
5
6
7
8
9
10
11

pendugaan nilai rata-rata Y0 untuk x = 1,75 Y0 topi 9.58181818


s 0.78611691
1 ( X 0  X )2 1 ( X 0  X )2
Yˆ0  t / 2 S   Y | Xo  Yˆ0  t / 2 S  t alpha/2;n- 3.24983554
n S XX n S XX akar 0.38435306

JKG S YY  b1 S XY
S2   0.61798 maka s = 0.786117
n2 n2
rga nol, maka selisih sama dgn nol yg artinya rata-rata sama

distribusi normal

dgn nol yg artinya rata-rata sama

TOTAL semua (xij-meanTotal)^2


46.438546 201.22605 26.888546
57.981879 14.329379 17.7627127
64.233546 0.0131293 2.20646267
74.211046 3.554796 2.84062934
64.233546 16.690629 16.6906293
94.373129 0.0002127 0.78396267
8.9127127 4.9043793 5.83021267
110.55646 0.2356293 52.0502127
130.29271 155.88563 32.6564627
83.075629 1.4052127 21.9531293
110.55646 206.94021 27.9356293
34.982296 2.2939627 9.70062934
2261.2798

SSE = SST-SSTr = 1177.6792

Mencari pasangan yang berbeda


(alpha;Dfe) 2.6922783
sqrt[MSE*(2/r)] karena r sama

T2 dan T3
2.1120857 sy 2.112085683476
5.6863224 LSD 5.686322380903
11.441667 diff mean 11.825
diffmean>LSD diffmean>LSD

T2 dan T3
2.1120857 sy 2.112085683476
5.6863224 LSD 5.686322380903
0.3833333 diff mean 4
diffmean<LSD diffmean<LSD

Y i  0,5
12 Pi 
n
10
f(x) = 1.85454545454545 x + 6.33636363636364
8 R² = 0.510125030644765
Axis Title

6 Y
Linear (Y)
4
2
0
0.8 1 1.2 1.4 1.6 1.8 2 2.2
Axis Title

Pi
1.2
Column 1 Column 2
1
1
0.7142304 1
0.8

0.6

0.4
1

0.8

0.6
SUMMARY OUTPUT
0.4
Regression Statistics
0.7142304 0.2
0.510125
0.4556945 0
0.6353556 -0.8 -0.6 -0.4 -0.2 0 0.2
11

df SS MS F Significance F
1 3.7832727 3.78327273 9.372034831348 0.0135414
9 3.6330909 0.40367677
10 7.4163636

Coefficients
Standard Error t Stat P-value Lower 95%Upper 95%Lower 95,0%
Upper 95,0%
6.3363636 0.9286551 6.82316112 7.70196542E-05 4.2355998 8.437128 4.2356 8.437128
1.8545455 0.6057878 3.06137793 0.013541418356 0.4841582 3.224933 0.484158 3.224933

RESIDUAL OUTPUT PROBABILITY OUTPUT

Predicted Y Residuals Percentile Y


8.1909091 -0.190909 4.545454545455 7.8
8.3763636 -0.576364 13.63636363636 8
8.5618182 -0.061818 22.72727272727 8.5
8.7472727 1.0527273 31.81818181818 8.6
8.9327273 0.5672727 40.90909090909 8.9
9.1181818 -0.218182 50 9.2
9.3036364 -0.703636 59.09090909091 9.3
9.4890909 0.7109091 68.18181818182 9.5
9.6745455 -0.374545 77.27272727273 9.8
9.86 -0.66 86.36363636364 10.2
10.045455 0.4545455 95.45454545455 10.5

batas bawah batas atas


8.5998919 <miu0< 10.56374441566
i error Pi
1 -0.703636 0.045455
2 -0.66 0.136364
3 -0.576364 0.227273
4 -0.374545 0.318182 Asumsi residual identik
5 -0.218182 0.409091 1.5
6 -0.190909 0.5 1
Residuals

7 -0.061818 0.590909 0.5


8 0.454545 0.681818 0
-0.5 0.8 1 1.2 1.4 1.6 1.8 2 2
9 0.567273 0.772727
-1
10 0.710909 0.863636
X Variable 1
11 1.052727 0.954545

Pi X Variable 1 Line Fit Plot


1.2
15
1 10 Y
5 Predicted Y
Y

0.8 0
0.8 1 1.2 1.4 1.6 1.8 2 2.2
0.6 X Variable 1

0.4
1 10 Y
5 Predicted Y

Y
0.8 0
0.8 1 1.2 1.4 1.6 1.8 2 2.2
0.6 X Variable 1

0.4

0.2 Normal Probability Plot


0 15
-0.4 -0.2 0 0.2 0.4 0.6 0.8 1 1.2 10
5

Y
0
0 20 40 60 80 100 12
Sample Percentile
idual identik

1.4 1.6 1.8 2 2.2

X Variable 1

1 Line Fit Plot

Y
Predicted Y

1.6 1.8 2 2.2


e1
Y
Predicted Y

1.6 1.8 2 2.2


e1

obability Plot

60 80 100 120
ple Percentile

You might also like