Esplora E-book
Categorie
Esplora Audiolibri
Categorie
Esplora Riviste
Categorie
Esplora Documenti
Categorie
Body length of thirteen marble goby of various ages were measured. The data are given as
below.
1) Find the equation of regression line that describes the relation between age and body
length?
2) If age increase about 3 days, estimate how much body length in cm of marble goby
increase?
Solution
Soalan 1
1) Find the equation of regression line that describes the relation between age and body
length?
Step
𝑌 = 𝑎 + 𝑏𝑋
Akan tetapi dalam persamaan linear regression, ada komponen yang perlu dicari iaitu
nilai a dan b.
Kaedah 1
𝑆𝑥𝑦
𝑏=
𝑆𝑋𝑋
(∑ 𝑋)2
𝑆𝑋𝑋 = ∑ 𝑋 2 −
𝑛
∑𝑋∑𝑌
𝑆𝑋𝑌 = ∑ 𝑋𝑌 −
𝑛
130 × 44.4
𝑆𝑋𝑌 = 514.8 −
13
= 514.8 − 444
= 70.8
Oleh itu,
𝑆𝑥𝑦
𝑏=
𝑆𝑋𝑋
70.8
𝑏= ≈ 0.2702
262
Kaedah 2
𝑆𝑦
𝑏=𝑟
𝑆𝑋
𝑟 ialah pekali korelasi (yang dikira dari correlation analysis- boleh rujuk kepada nota slides)
70.8
=
√262 × 19.657
70.8
=
√5150.134
70.8
=
71.764
≈ 0.9866
1.2799
𝑏 = 0.9866 × ≈ 0.2702
4.6726
Setelah memilih salah satu kaedah dari kaedah 1 atau kaedah 2 untuk
menentukan nilai a.
𝑎 = 𝑌 − 𝑏𝑋
∑ 𝑌 44.4
𝑌= = ≈ 3.415
𝑛 13
n ialah bilangan marble goby
∑ 𝑋 130
𝑋= = = 10
𝑛 13
𝑌 = 𝑎 + 𝑏𝑋
Masukkan nilai a dan b yang diperoleh tadi ke dalam persamaan linear regression
seperti di bawah:
𝑌 = 0.713 + 0.2702𝑋
Soalan 2
If age increase about 3 days, estimate how much body length in cm of marble goby increase?
Solution
Masukkan nilai X=3 iaitu age= 3 days ke dalam persamaan linear regression di bawah
𝑌 = 0.713 + 0.2702𝑋
𝑌 = 0.713 + (0.2702 × 3)
= 0.713 + 0.8106
= 1.5236
Therefore, if age increase about 3 days, the body length of marble goby increase about
1.5236 cm.