Chương 5 - Dự Báo Dựa Vào Chuỗi Thời Gian

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 56

CHƯƠNG 5

DỰ BÁO
DỰA VÀO CHUỖI THỜI GIAN

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
GiỚI THIỆU
Nguyên tắc của dự báo dựa vào chuỗi thời gian:
(1) Từ việc phân tích chuỗi thời gian để phát hiện ra mô hình từ dữ liệu
quá khứ và dùng mô hình đó dự báo cho tương lai.
(2) Giả định các biến số dự báo giữ nguyên kiểu biến động đã xảy ra
trong quá khứ.
Điều kiện áp dụng
- Có sẵn thông tin về quá khứ của biến dự báo
- Các thông tin này có thể định lượng

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
2
MÔ HÌNH CHUỖI THỜI GIAN
• Chuỗi thời gian: là một chuỗi các quan sát của một biến tại các thời
điểm liên tiếp hoặc trong các khoảng thời gian liên tiếp.
• Cấu tạo của chuỗi thời gian: 2 thành phần
- Thời gian
- Biến nghiên cứu

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
3
Các thành phần của chuỗi thời gian
• Thông thường, chuỗi thời gian gồm 4 thành phần:
+ Xu hướng
+ Chu kỳ
+ Mùa
+ Bất thường

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
Thành phần xu hướng
Xu hướng ngang
• Tồn tại khi dữ liệu dao động ngẫu nhiên xung quanh một giá trị trung
bình không đổi theo thời gian.
• Biểu đồ chuỗi thời gian có xu hướng ngang sẽ biểu hiện là một mô
hình nằm ngang.

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
5
Bảng 5.1: Chuỗi thời gian về số lượng xăng bán ra

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
6
Hình 5.1: Đồ thị chuỗi thời gian về số lượng xăng bán ra

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
7
Bảng 5.2: Chuỗi thời gian lượng xăng bán ra sau khi ký
hợp đồng cung cấp cho công ty A

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
8
Hình 5.2: Biểu đồ chuỗi thời gian lượng xăng bán ra
sau khi ký hợp đồng cung cấp cho công ty A

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
9
Thành phần xu hướng
Xu hướng tăng hoặc giảm
• Dữ liệu qua thời gian có sự dịch chuyển dần tới giá trị cao hơn hoặc
thấp hơn trong một khoảng thời gian dài hơn.

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
10
Bảng 5.3: Chuỗi thời gian về số lượng xe đạp bán ra

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
11
Hình 5.3: Biểu đồ chuỗi thời gian số lượng xe đạp bán
ra

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
12
Thành phần chu kỳ
• Thành phần chu kỳ tồn tại nếu biểu đồ chuỗi thời gian hiển thị một
chuỗi xen kẽ các điểm bên dưới và bên trên đường xu hướng kéo dài
hơn 1 năm

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
13
Thành phần mùa
• Mô hình có thành phần mùa là mô hình thể hiện sự lặp đi lặp lại
trong từng thời gian nhất định của năm.

• Đồ thị chuỗi thời gian không chỉ thể hiện mô hình theo mùa trong
khoảng thời gian 1 năm mà có thể dưới 1 năm

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
14
MÔ HÌNH CHUỖI THỜI GIAN
Hình 5.4: Biểu đồ chuỗi thời gian doanh số bán ô
Bảng 5.4: Chuỗi thời gian Doanh số bán ô

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
Thành phần bất thường
• Là thành phần do các yếu tố ngẫu nhiên gây ra, không thể đoán
trước được và thường xảy ra trong ngắn hạn.

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
16
MÔ HÌNH CHUỖI THỜI GIAN
Mô hình xu hướng và mùa
• Đôi khi, mô hình chuỗi thời gian sẽ bao gồm cả mô hình xu hướng và mô hình mùa
Bảng 5.5: Chuỗi thời gian doanh số bán Hình 5.5: Đồ thị chuỗi thời gian doanh
điện thoại thông mình hàng quí số bán điện thoại thông mình hàng quí

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
17
DỰ BÁO DỰA VÀO MÔ HÌNH CHUỖI THỜI GIAN

• Dựa vào mô hình của chuỗi thời gian để lựa chọn phương pháp dự
báo.
• Đánh giá độ chính xác của dự báo.

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
18
MỘT SỐ MÔ HÌNH DỰ BÁO DỰA VÀO CHUỖI THỜI GIAN
* Đối với dãy số không theo xu hướng:
- Dự báo Naive (Dự báo thô, dự báo ngây thơ)
- Dự báo dựa vào số trung bình trong quá khứ
- Dự báo dựa vào bình quân di động
- Dự báo dựa vào bình quân di động có trọng số
- Dự báo theo mô hình làm trơn hàm mũ đơn
- …
* Đối với dãy số có theo xu hướng:
- Dự báo dựa vào lượng tăng (giảm) tuyệt đối bình quân
- Dự báo dựa vào tốc độ phát triển bình quân
- Ngoại suy hàm xu thế (dựa vào mô hình hồi qui theo thời gian)
- ………

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
19
ĐỘ CHÍNH XÁC CỦA DỰ BÁO
Nhằm xác định xem mô hình dự báo tốt đến mức nào, cần
đánh giá độ chính xác của dự báo thông qua các sai số dự
báo
Sai số dự báo
Sai số dự báo trung bình
Sai số tuyệt đối trung bình (MAE)
Sai số bình Phương trung bình (MSE)
Sai số phần trăm tuyệt đối trung bình (MAPE)

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 20
ĐỘ CHÍNH XÁC CỦA DỰ BÁO
Sai số dự báo: là chênh lệch giữa giá trị thực tế và giá trị dự
trong trong kỳ t.

Sai số dự báo trung bình: là trung bình hay bình quân của các
sai số dự báo.

MFE =

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
21
ĐỘ CHÍNH XÁC CỦA DỰ BÁO
Sai số tuyệt đối trung bình (MAE): Đo lường độ chính xác của dự báo nhằm tránh
vấn đề sai số dự báo mang dấu dương và dấu âm bù trừ lẫn nhau.

MAE =

Sai só bình Phương trung bình (MSE): tránh được vấn đề sai số dương và âm bù
trừ lẫn nhau có được bằng cách tính giá trị trung bình của sai số dự báo bình
phương.

MSE =

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
22
ĐỘ CHÍNH XÁC CỦA DỰ BÁO
Sai số % tuyệt đối trung bình(MAPE): Giá trị trung bình
của giá trị tuyệt đối của phần tram sai số dự báo.

MAPE =

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
23
MÔ HÌNH DỰ BÁO
• Dự báo Naive (Dự báo thô, dự báo ngây thơ):
Sử dụng dữ liệu gần đây nhất để dự báo cho tương lai
ŷ t 1  y t

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 24
Bảng 5.7: Dự báo và đo lường độ chính xác của
dự báo với Phương pháp dự báo dựa vào giá trị
gần nhất làm dự báo cho thời gian tiếp theo

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
25
MÔ HÌNH DỰ BÁO
• Dự báo dựa vào giá trị trung bình của tất cả các số liệu trong quá
khứ.

Giá trị dự báo bằng giá trị bình quân của tất cả các giá trị trong dãy
số thời gian trong quá khứ.

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use. 26
Bảng 5.8: Tính toán các dự báo và sai số dự báo
bằng cách sử dụng mức trung bình của tất cả các
dữ liệu quá khứ làm dự báo cho giai đoạn sau

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
27
ĐỘ CHÍNH XÁC CỦA DỰ BÁO
• So sánh độ chính xác của dự báo bằng cách so sánh giá trị của MAE,
MSE, và MAPE cho mỗi Phương pháp
PP ngây thơ PP trung bình quá khứ
MAE 3.73 2.44
MSE 16.27 8.10
MAPE 19.24% 12.85%

• Sử dụng Phương pháp dự báo dựa vào giá trị trung bình trong quá
khứ cho kết quả chính xác hơn so với sử dụng pp dự báo dựa vào
quan sát gần nhất.
© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
28
MÔ HÌNH DỰ BÁO

Dự báo dựa vào trung bình trượt


• Phương pháp trung bình trượt: Sử dụng giá trị trung bình của k giá
trị dữ liệu gần đây nhất trong chuỗi thời gian làm dự báo cho giai
đoạn tiếp theo.
• Dự báo dựa vào trung bình trượt:
=

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
29
Bảng 5.9: Tóm tắt các phép tính trung bình trượt
trong 3 tuần

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
30
Hình 5.6: Đồ thị chuỗi thời gian doanh số bán
xăng và đường dự báo theo trung bình trượt

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
31
Hình 5.7: Tính trung bình trượt dựa vào excel

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
32
Hình 5.8: Hộp Moving Average

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
33
Hình 5.9: Kết quả chạy Excel cho dự báo dựa vào
trung bình trượt với dữ liệu doanh số bán xăng

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
34
TRUNG BÌNH TRƯỢT VÀ LÀM TRƠN BẰNG
HÀM MŨ
Đo lường độ chính xác của dự báo
Các giá trị của 3 thước đo độ chính xác dự báo theo pp trung bình trượt
thể hiện ở bảng 5.9:
MAE = = = 2.67

MSE = = = 10.22

MAPE = = = 14.36%

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
35
MÔ HÌNH DỰ BÁO
Mô hình làm trơn bằng hàm mũ
• Làm trơn bằng hàm mũ sử dụng giá trị trung bình có trọng số của
các giá trị trong chuỗi thời gian để dự báo
• Mô hình dự báo theo pp làm trơn bằng hàm mũ:
= α + (1 – α)
• Hệ số làm trơn (α ) là trọng số tính cho giá trị thực tế thời gian t;
trọng số cho giá trị dự báo thời kỳ t is 1 – α.

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
36
MÔ HÌNH LÀM TRƠN BẰNG HÀM MŨ
Minh họa: xét một chuỗi thời gian bao gồm chỉ 3 mức độ là y1, y2 và y3.
• Đặt bằng giá trị thực tế của thời gian thứ nhất; tức là, = y1
• Do đó, dự báo cho thời gian thứ 2 là:
= α + (1 – α)
= α + (1 – α)
=
Dự báo cho thời gian thứ 3 là = α + (1 – α) = α + (1 – α)

Dự báo cho thời gian thứ 4 là = αy3 + (1 – α)= αy3+ α(1 – α)

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
37
Bảng 5.10: Tóm tắt các dự báo dựa vào pp làm trơn
hàm số mũ và sai số dự báo cho chuỗi thời gian bán
xăng với hệ số làm trơn a = 0.2

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
38
Hình 5.10: Giá trị dự báo với hệ số làm trơn α =
0.2

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
39
Hình 5.11: Hộp Làm trơn bằng hàm mũ

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
40
Hình 5.11: Bảng kết quả Excel dự báo dựa vào làm trơn hàm
số mũ Excel Output với dữ liệu về doanh số xăng bán ra

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
41
TRUNG BÌNH TRƯỢT VÀ LÀM TRƠN BẰNG
HÀM MŨ
Đo lường độ chính xác của dự báo
• Có thể thực hiện chọn giá trị tốt nhất cho a bằng cách viết lại mô
hình làm trơn bằng hàm mũ như sau:
• = α yt + (1- α). = -
α
• Nếu chuỗi thời gian có độ biến thiên ngẫu nhiên lớn thì giá trị hệ số
làm trơn nhỏ sẽ được ưu tiên và ngược lại nếu biến động ngẫu
nhiên nhỏ thì hệ số làm trơn có thể lớn hơn.
• Chọn giá trị a sao cho giá trị MSE là nhỏ nhất
© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
42
DỰ BÁO DỰA VÀO MÔ HÌNH
HỒI QUI THEO THỜI GIAN

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
Dự báo dựa vào hàm xu thế tuyến tính

• Biến được dự báo (y, giá trị thực tế của thời gian t) là biến
phụ thuộc
• Biến xu thế (thời gian t) là biến độc lập
• Phương trình đường xu thế: = t

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
44
Hình 5.12: Bảng kết quả SD Excel xác định hồi qui tuyến tính
đơn giản cho mô hình xu thế với dữ liệu doanh số bán xe đạp

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
45
DỰ BÁO DỰA VÀO MÔ HÌNH HỒI QUI THEO
THỜI GIAN
• Phương trình xu thế cho chuỗi thời gian bán xe đạp là:
= 20.4 + 1.1t
• Thay t = 11 vào phương trình trên, ta có:
= 20.4 + 1.1 (11) = 32.5
• Vậy, mô hình xu thế tuyến tính đưa ra dự báo về doanh số bán xe đạp
cho năm tới là 32,500 chiếc.

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
46
DỰ BÁO DỰA VÀO MÔ HÌNH HỒI QUI THEO
THỜI GIAN
Tính thời vụ không có xu hướng
• Chúng ta có thể lập mô hình chuỗi thời gian với thành phần thời vụ
bằng cách coi mùa như một biến giả
• Xét số liệu về số lượng ô bán ra được trong bảng 5.4
• Biểu đồ chuỗi thời gian tương ứng với dữ liệu này trong hình 5.4 không cho
thấy bất kỳ xu hướng dài hạn nào về doanh số bán nhưng cho thấy có thành
phần mùa theo quí
• k - 1 biến giả được yêu cầu để mô hình hóa biến phân loại có k cấp độ
• Vì vậy, để mô hình hóa các tác động của thời vụ trong chuỗi thời gian doanh
số bán ô, cần 4 – 1 = 3 biến giả

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
47
DỰ BÁO DỰA VÀO MÔ HÌNH HỒI QUI THEO
THỜI GIAN
• Minh họa (tiếp):
• Ba biến giả có thể được mã hóa như sau:
1 nếu thời gian t là quí 1
Qtr1t = 0 nếu không phải quí 1
1 nếu thời gian t là quí 2
Qtr2t = 0 nếu không phải quí 2
1 nếu thời gian t là quí 3
Qtr3t = 0 nếu không phải quí 3

• Dạng tổng quát của Phương trình liên quan đến số lượng ô được bán:
𝑦 ̂_(𝑡 )= 𝑏_0+ 𝑏_1 〖 "Qtr1 " 〗 _𝑡 + 𝑏_2 〖 "Qtr" 2 〗 _𝑡 + 𝑏_3 〖 "Qtr" 3 〗
_𝑡

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
48
Bảng 5.11: Chuỗi thời gian doanh số bán ô với các
biến giả

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
49
SỬ DỤNG PHÂN TÍCH HỒI QUI ĐỂ DỰ
BÁO
Tính thời vụ cùng xu hướng
• Chuỗi thời gian bao gồm ảnh hưởng của cả tính thời vụ và xu hướng
tuyến tính
• Xét chuỗi thời gian về doanh số bán smartphone trong bảng 5.5
• Đồ thị chuỗi thời gian tương ứng với dữ liệu này chỉ ra rằng có cả xu thế
tuyến tính và mô hình theo mùa.
• Dạng tổng quát của phương trình hồi qui có dạng:
= t

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
50
Bảng 5.12: Chuỗi thời gian về doanh số bán
Smartphone với các biến giả và thời gian

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
51
SỬ DỤNG PHÂN TÍCH HỒI QUI ĐỂ DỰ
BÁO
• Các phương trình dự đoán tương ứng với từng quí:

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
52
SỬ DỤNG PHÂN TÍCH HỒI QUI ĐỂ DỰ
BÁO
• Mối quan hệ của biến được dự báo với các biến khác cũng có thể
được sử dụng để phát triển mô hình dự báo.
• Dự báo doanh số bán khi biết chi phí quảng cáo
• Dự báo lãi suất thế chấp khi xây dựng nhà ở mới

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
53
Bảng 5.13: Dữ liệu về số sinh viên và doanh thu
hàng quí của 10 quán Pizza của Armand

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
54
Hình 5.13: Đồ thị phân phối về qui mô sinh viên và doanh
thu bán theo quí của nhà hàng Pizza của Armand

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
55
Hình 5.14: Đồ thị cho Phương trình hồi qui ước lượng về
doanh số bán của nhà hàng Pizza của Armand: y = 60 + 5x

© 2016 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.
56

You might also like