041711333008
STATISTIKA
CHAPTER 10
One-Sample Test of Hypothesis
Hypothesis (dugaan) : suatu pernyataan terkait populasi atau sampel pada data yang
harus diverifikasi
Hypothesis digunakan untuk sebuah penelitian yang datanya bersifat kuantitatif, sehingga
akan muncul suatu pengujian hypothesis
Dalam pengujian hypothesis maka akan sering dijumpai :
Ho : tidak terdapat pengaruh yang signifikan antara IPK dengan metode belajar
H1 : terdapat pengaruh yang signifikan antara IPK dengan metode belajar
Variabel Dependent (terikat) :
Variabel Independent (bebas) :
Untuk menguji hypothesis tersebut maka akan digunakan 5 step yang berurutan.
SIFATNYA WAJIB!
Step 1 : Tentukan Ho dan H1 (bisa berupa kalimat atau symbol)
Step 2 : Tentukan level of significant (LOS) atau alfa (0.05; 0.01; 0.1)
Confident Interval (90%;95%;99%) 100% - CI 100% - 90% = 10%, 0.1
Degree of freedom (tabel t n-1 / n-2/ b-1) jumlah data rata”populasi/ sampel
z tabel/t tabel/f tabel
Step 3 : Identifikasikan uji statistikanya (menggunakan uji t atau z. dan ingat hanya
masukkan rumus tidak dihitung)
Step 4 : Tentukan kaidah keputusan (yakni interprestasi Step 1 yang dihubungkan
dengan diagramnya)
Jika hasil hitung (z/t) < -1,96 atau hasil hitung (z/t) > 1,96 maka Ho ditolak
Jika hasil hitung (z/t) berada diantara -1,96 sampai dengan 1,96 maka Ho
tidak ditolak (two tail)
Jika hasil hitung (z/t) > 1,83 maka Ho ditolak
Jika hasil hitung (z/t) < 1,83 maka Ho tidak ditolak (one tail)
Step 5 : Hitung dan bikin kesimpulan (Berdasarkan hasil hitung z sebesar 1,23 maka Ho
tidak ditolak, sehingga …….(wajib kembalikan lagi ke soal))
ρ−π
z=
π (1−π )
√ n
Latihan Yuk
1. The manufacturer of the X-15 steel-belted radial truck tire claims that the mean mileage
the tire can be driven before the tread wears out is 60,000 miles. Assume the mileage
wear follows the normal distribution and the standard deviation of the distribution is
5,000 miles. Crosset Truck Company bought 48 tires and found that the mean mileage
for its trucks is 59,500 miles. Is Crosset’s experience different from that claimed by the
manufacturer at the .05 significance level and determain p-value! Soal itu H1
Step 1 : Ho∶ μ = 60,000
H1∶ μ ≠ 60,000
Step 2 : μ = 60,000 x bar = 59,500 n = 48
σ = 5,000 LOS = 0.05 z tabel = 1,96
Step 3 : masukin rumus z
Step 4 :
Jika hasil hitung z < -1,96 atau hasil hitung z > 1,96 maka Ho ditolak
Jika hasil hitung z berada diantara -1,96 sampai dengan 1,96 maka Ho tidak ditolak
Step 5 : -0,6928 (tidak ditolak, sehingga tidak terdapat
different from that
claimed by the manufacturer)
2. A national grocer’s magazine reports the typical shopper
spends eight minutes in line waiting to check out. A sample of 24 shoppers at the local
Farmer Jack’s showed a mean of 7.5 minutes with a standard deviation of 3.2 minutes.
Is the waiting time at the local Farmer Jack’s less than that reported in the national
magazine? Use the .05 significance level.
Step 1 : Ho: μ ≥ 100
Ho: μ< 100
Step 2 :
Step 3 :
Step 4 :
Step 5 :
Mencari p-value :
1. Masukkan nilai z hitung dengan membulatkan 2 angka dibelakang koma
2. Point 1 tarik ke tabel z dimana tabel z kali ini dari luar kedalam
3. Masukkan rumus 0.5 – nilai point 2
4. Jika dia two tail maka point 3 dikali 2
Kesimpulan :
Jika Ho < 0,05 (alfa) maka Ho di tolak
Jika Ho > 0,05 (alfa) maka Ho tidak ditolak
CHAPTER 11
Two Sample Test of Hypothesis
Untuk teknik pengerjaan masih sama dengan chapter sebelumnya dengan 5 step dan harus
urut.
Ho : μa=μb
H1 : μa ≠ μb
Kumpulan rumus :
Rumus Keterangan
Digunkan untuk:
1. Dua sampel yang independent
2. Standar deviasi populasi diketahui
Digunakan untuk :
1. Dua sampel yang sama independent
2. Diketahui standar deviasi sampel sama
3. Karena 2 sampel maka df = n1 + n2 – 2
Digunakan untuk :
1. Dua sampel yang sama independent
2. Standar deviasi sampel tidak sama besar
1. Pemerintah daerah baru-baru ini menghibahkan dana untuk program khusus yang dirancang
untuk mengurangi kejahatan di daerah rawan kejahatan. Studi mengenai hasil program di
delapan daerah rawan kejahatan di Miami, Florida, menunjukkan hasil studi sebagai berikut:
Jumlah Kejahatan Daerah
A B C D E F G H
Sebelu 14 7 4 5 17 12 8 9
m
Sesudah 2 7 3 6 8 13 3 5
Apakah telah terdapat penurunan kejahatan semenjak pembukaan program? Gunakan
tingkat signifikansi 0.01. Perkirakan nilai p-nya.
2. A cell phone company offers two plans to its subscribers. At the time new subscribers sign
up, they are asked to provide some demographic information. The mean yearly income for a
sample of 40 subscribers to Plan A is $57,000 with a standard deviation of $9,200. For a
sample of 30 subscribers to Plan B, the mean income is $61,000 with a standard deviation of
$7,100. At the .05 significance level, is it reasonable to conclude the mean income of those
selecting Plan B is larger? What is the p-value?
Step 1 : Ho : Plan A ≥ Plan B
H1 : Plan A < Plan B
Step 2 : n1 : 40 Sd1 : 9,200 x1 : 57,000
n2 : 30 Sd2 : 7,100 x2 : 61,000
LOS : 0,05
Step 3 : rumus ke-3
Step 4 :
Step 5 :
3. As part of a study of corporate employees, the director of human resources for PNC Inc.
wants to compare the distance traveled to work by employees at its office in downtown
Cincinnati with the distance for those in downtown Pittsburgh. A sample of 35 Cincinnati
employees showed they travel a mean of 370 miles per month. A sample of 40 Pittsburgh
employees showed they travel a mean of 380 miles per month. The population standard
deviations for the Cincinnati and Pittsburgh employees are 30 and 26 miles, respectively. At
the .05 significance level, is there a difference in the mean number of miles traveled per
month between Cincinnati and Pittsburgh employees?
Step 1 : Ho : Cincinnati ¿ Pittsburgh
H1 : Cincinnati ≠ Pittsburgh
Step 2 : n1 : 35 Sd1 : 30 x1 : 370
n2 : 40 Sd2 : 26 x2 : 380
LOS : 0,05
Step 3 : rumus ke-1
Step 4 :
Step 5 :
CHAPTER 13
CORRELATION AND LINEAR REGRESSION
Korelasi merupakan salah satu teknik analisis dalam statistik yang digunakan untuk mencari
hubungan antara dua variabel yang bersifat kuantitatif.
Koefisien korelasi merupakan nilai yang menunjukkan kuat/tidaknya hubungan linear antar
dua variabel
Ho : r =0
H1 : r ≠ 0
-1 -0.5 0 0.5 1
Jika hasil korelasi itu negative maka menunjukkan arah hubungan terbalik
Jika hasil korelasi itu positif maka menunjukkan arah hubungan yang searah
Cara mencari koefisien korelasi adalah :
n ∑ xy −∑ x ∑ y
r =∑ ( x−x ) ¿ ¿ ¿ atau r =
√¿ ¿ ¿
REGRESSION ANALYSIS
Salah satu alat untuk menguji suatu hubungan secara linear antara variabel independen (X)
dan variabel dependen (Y)
Tujuan dari analisis regresi ini untuk menguji arah hubungan antar variabel dan
memprediksi nilai dari variabel dependen (Y) apabila nilai variabel independen (X)
mengalami kenaikan atau penurunan
Rumus regresi linear sederhana dirumuskan dengan
^y =a+bX
Keterangan :
Y clap : variabel dependen
X : variabel independen
a : konstanta atau intercept atau titik potong (nilai Y clap apabila X = 0)
b : koefisien regrsi atau slope atau tingkat kemiringan (nilai penurunan atau
peningkatan)
Mencari nilai b Nilai a
n ∑ XY −∑ X ∑ Y a=
∑ y−b ∑ x
b= Atau b=r ¿) n
n ∑ X 2−¿ ¿
Menguji hipotesis
b−0 s y . x =√ ∑ ¿ ¿ ¿ ¿ df = n-2
t=
sb
Komponen yang biasa dicari sewaktu ujian untuk summary output of regression
a. SST (total sum of squares) : SST : ∑ ¿ ¿
b. SSR (regression sum of squares) : SSR: ∑ ¿ ¿
Menjelaskan variasi yang disebabkan hubungan antara X dan Y
c. SSE (error sum of squres) : SSE: ∑ ¿ ¿
Variasi yang disebabkan faktor selain hubungan antara X dan Y
SSR SSE
d. R Square (coefficient of determination) : R square= =1−
SST SST
Analisis : jika R square = 1 maka 100% variasi dalam Y dijelaskan oleh variasi X
: jika 0 < R square < 1 maka hanya beberapa variasi dalam Y dijelaskan
oleh variasi X
SSR
e. MSR :
k
SSE
f. MSE :
n−k−1
MSR
g. F :
MSE
1. The National Highway Association is studying the relationship between the number of
bidders on a highway project and the winning (lowest) bid for the project. Of particular
interest is whether the number of bidders increases or decreases the amount of the
winning bid.
Number of Winning Bid ($ Number of Winning Bid ($
Project Project
Bidders millions) Bidders millions)
1 9 5.1 9 6 10.3
2 9 8.0 10 6 8.0
3 3 9.7 11 4 8.8
4 10 7.8 12 7 9.4
5 5 7.7 13 7 8.6
6 10 5.5 14 7 8.1
7 7 8.3 15 8 7.8
8 11 5.5
Determine the regression equation and interpret the equation!
2. Pekerja jalan raya melakukan analisis regresi mengenai hubungan antara jumlah kematian
kerja di zona konstruksi dengan jumlah penganggurandi suatu negara bagian. Persamaan
regresi adalah sbb.
Predictor Coef SE Coef T P
Constant 12.726 8.115 1.57 0.134
Unemp 0.000114 0.00002896 3.93 0.001
Analysis of Variance
Source DF SS MS F P
Regression 1 10354 10354 15.46 0.001
Residual Error 18 12054 670
Total 19 22408
a. Bagaimanakah bentuk regresinya? Y topi = 12,726 + 0.000114x
b. Berapa banyak negara bagian dalam sampel? 19
c. Tentukan koefisien determinasinya (R2)! SS Regression/ SS Total = 0,462
d. Tentukan koefisien korelasinya (R)! Akar dari R2
e. Pada Tingkat signifikansi 0.05, apakah terbukti adanya hubungan positif antara kematian
dengan jumlah pengangguran?
CHAPTER 15
Multiple Regression Analysis
Pada dasarnya konsep dari MRA ini sama dengan regresi sederhana, cuma yang membedakan
apa hayo???
^y =a+b1 x 1+ b2 x 2 +b3 x 3+ …+bn x n
Adjusted R Square :
2. The district manager of jasons, a large discount electronics chain is investigating why
certain stores in her region are performing better than others. She believes that three
factors are related to total sales. The number of competitors in the region, the population
in the surrounding area and the amount spent on advertising. From her district, consisting
of several hundred stores, she selects a random sampel of 30 stores. For each store she
gathered the following information.
Y : Total sales last year (in $ thousands)
X1 : number of competitors in the region
X2 : population of the region ( in millons)
X3 : advertising expenses ( in $ thousands)
(The sample data were run on MINITAB)