You are on page 1of 4

Farmasi UMS Semester Genap 2015/2016

Contoh Aplikasi Simple Linear Regression

Problem 1:

Sebuah artikel di Concrete Research (“Near Surface


Characteristics of Concrete: Intrinsic permeability”, Vol. 41,
1989), menampilkan data kuat tekan x dan permeabilitas
intrinsik y dari berbagai campuran tablet obat. Ringkasan hasil
observasi adalah: n = 14, yi = 572, yi2 = 23,530, xi = 43,
xi2 = 157.42, dan xiyi = 1697.80. Asumsikan dua variable tsb
berhubungan mengikuti model regresi linear sederhana.

(a) Hitunglah least squares estimates dari slope dan intercept.


(b) Gunakan persamaan tsb untuk memperkirakan angka
permeabilitas jika kuat tekan x = 4.3.
(c) Tentukan harga point estimate of the mean (titik estimasi
rata rata) permeabilitas jika kuat tekan x = 3.7.
(d) Misalkan harga observasi permeabilitas pada x = 3.7 adalah
y = 46.1, hitunglah nilai residual pada titik tsb.

Problem 2:

Perhatikan data dari Problem 1 dimana x = compressive strength


(kuat tekan) dan y = intrinsic permeability (permeabilitas
intrinsic) dari tablet obat.

(a) Lakukanlah Uji signifikansi regresi menggunakan  = 0.05.


Hitunglah harga P-value untuk uji ini. Dapatkah anda
simpulkan bhw model yang diperoleh bisa digunakan untuk
menggambarkan hubungan linear antara y dan x ?
(b) Perkirakanlah 2 dan deviasi standar dari ̂1 .
(c) Berapakah standard error dari intercept dalam model ini?
Problem 3:

Merujuk pada data di Problem 1 dimana y = intrinsic permeability


dan x = kuat tekan. Tentukan 95% confidence interval dari :
(a) Slope
(b) Intercept
(c) Permeabilitas rata rata jika x = 2.5
(d) Tentukan 95% prediction interval on permeability jika x =
2.5. Jelaskan mengapa interval prediksi ini lebih lebar
daripada jawaban di (c).

Problem 4:

The number of pounds of steam used per month by a chemical


plant is thought to be related to the average ambient temperature
(in ºF) for that month. The past year’s usage and temperature are
shown in the following table:

Month Temp. Usage/1000 Month Temp. Usage/1000

Jan 21 185.79 July 68 621.55

Feb 24 214.47 Aug 74 675.06

Mar 32 288.03 Sep 62 562.03

Apr 47 424.84 Oct 50 452.93

May 50 454.58 Nov 41 369.95

June 59 539.03 Dec 30 273.98

(a) Assuming that a simple linear regression model is appropriate,


fit the regression model relating steam usage (y) to the average
temperature (x). What is the estimate of σ2?

(b) What is the estimate of expected steam usage when the average
temperature is 55ºF?
(c) What change in mean steam usage is expected when the
monthly average temperature changes by 1ºF?

(d) Suppose the monthly average temperature is 47ºF. Calculate


the fitted value of y and the corresponding residual.

Problem 5:

Consider the data from Problem 4 on y = steam usage and x =


average temperature.

(a) Test for significance for regression using  = 0.01. What is the
P-value for this test? State the conclusions that result from this test.
(b) Estimate the standard errors of the slope and intercept.
(c) Test the hypothesis Ho: 1  10 versus H1: 1  10 using  = 0.01.
Find the P-value for this test.
(d) Test Ho: 0  0 versus H1:  0  0 using  = 0.01. Find the P-
value for this test and draw conclusions.

Problem 6:

Problem 4 presented data on y = steam usage and x = monthly


average temperature.
(a) Find 99% Confidence Interval for 1 .
(b) Find 99% Confidence Interval for  0 .
(c) Find a 95% Confidence Interval on mean steam usage when the
average temperature is 55ºF.
(d) Find a 95% prediction interval on steam usage when
temperature is 55ºF. Explain why this interval is wider than the
interval in part (c).
Problem 7:

Seorang mahasiswa Farmasi UMS sedang mempelajari bagaimana


nilai konversi produk dari bahan baku (y) tergantung kepada suhu
reaksi ( x1 ) dan waktu reaksi ( x2 ). Dia telah menghitung dua buah
model regresi :
^
1) y  100  2 x1  4 x2

^
2) y  95  1.5 x1  3x2  2 x1 x2

Kedua model disusun pada kisaran nilai 0.5  x2  10 .

(a) Berapakah nilai prediksi konversi jika x2 = 2? Ulangilah


perhitungan untuk x2 = 8. Buatlah grafik prediksi nilai konversi
untuk kedua jenis model. Berilah komentar mengenai efek
interaksi pada model nomor 2.

(b) Tentukan nilai perkiraan perubahan konversi rata rata untuk


setiap satu unit perubahan suhu x1 untuk model 1 dan ketika x2 =
5.Apakah nilai perubahan ini tergantung pada nilai waktu reaksi
tertentu yang dipilih ? Mengapa demikian ?

(c) Tentukan nilai perkiraan perubahan konversi rata rata untuk


setiap satu unit perubahan suhu x1 untuk model 2 dan ketika x2 = 5.
Ulangilah perhitungan untuk x2 = 2 and x2 = 8. Apakah nilai
perubahan ini tergantung pada nilai waktu reaksi tertentu yang
dipilih ? Mengapa demikian ?

You might also like