• Tidak ada hasil yang ditemukan

PERAMALAN DATA TIME SERIES

N/A
N/A
Protected

Academic year: 2018

Membagikan "PERAMALAN DATA TIME SERIES"

Copied!
44
0
0

Teks penuh

(1)
(2)

DATA TIME SERIES

Time series

merupakan data yang

diperoleh dan disusun berdasarkan

urutan waktu atau data yang

(3)

DATA TIME SERIES

• The rate variable is collected at equally spaced time periods, as is typical in most time series and forecasting applications.

• Many business applications of forecasting utilize daily, weekly, monthly, quarterly, or annual data.

• The data may be:

• Instantaneous, such as the viscosity of a chemical product at the point in time where it is measured;

• It may be cumulative, such as the total sales of a product during the month; or

(4)

CONTOH 1

Harga saham AAPL: 5 tahun, direkam dalam data per minggu

(5)

CONTOH 2

(6)
(7)

KEGIATAN PERAMALAN (FORECASTING)

Merupakan bagian integral dari pengambilan keputusan.

Mengurangi ketergantungan pada hal-hal yang belum pasti (intuitif).

Ada saling ketergantungan antar divisi.

 Contoh , kesalahan proyeksi penjualan akan mempengaruhi

ramalan anggaran, pengeluaran operasi, arus kas, persediaan, dst.

Dua hal utama dalam proses peramalan yang akurat dan bermanfaat:

 Pengumpulan data yang relevan.

(8)

FIELD OF FORECASTING

The reason that forecasting is so important is that prediction of future events is a critical input into many types of planning and decision-making processes, with application to areas such as the following:

Operation Management: Business organizations routinely use forecasts of product sales or demand for services in order to schedule production, control inventories, manage the supply chain, determine staffing requirements, and plan capacity

Marketing: Forecasts of sales response to advertising expenditures, new promotions, or changes in pricing polices enable businesses to evaluate their

(9)

Finance and Risk Management: Investors in financial assets are interested in forecasting the returns from their investments. Financial risk management requires forecasts of the volatility of asset returns so that the risks

associated with investment portfolios can be evaluated

Economics: Governments, fnancial institutions, and policy organizations require forecasts of major economic

variables, such as gross domestic product, population growth, unemployment, interest rates, inflation, job growth, production, and consumption

Industrial process control

(10)

METODE PERAMALAN

Terdapat dua pendekatan peramalan :

Kualitatif

(11)

METODE PERAMALAN KUALITATIF

Metode ini digunakan ketika data historis langka atau bahkan tidak tersedia sama sekali;

Metode ini (biasanya) menggunakan opini dari para ahli untuk memprediksi kejadian secara subyektif;

Contoh: penjualan dari produk baru, lingkungan dan teknologi di masa mendatang.

Keuntungan: berguna ketika tidak ada data historis;

(12)
(13)

METODE PERAMALAN KUANTITATIF

Metode ini digunakan ketika tersedia data historis;

Metode ini mengkonstruksi model peramalan dari data yang tersedia atau teori peramalan;

Keuntungan: Obyektif

(14)

Metode peramalan causal

 Meliputi faktor-faktor yang berhubungan dengan variabel yang diprediksi seperti analisis regresi.

 Mengasumsikan bahwa satu atau lebih faktor (variabel independen) memprediksi masa datang.

Metode Peramalan time series

 merupakan metode kuantitatif untuk menganalisis data masa lampau yang telah dikumpulkan secara teratur dengan menggunakan teknik yang tepat.

Data historis digunakan untuk memprediksi masa datang

(15)

SYARAT-SYARAT PERAMALAN KUANTITATIF

1. Tersedia info pada waktu lalu

2. Info tersebut dapat dikuantitatifkan

(16)

TIPE-TIPE METODE KUANTITATIF

1.

Naif/intuitif

2.

Formal

Berdasarkan prinsip-prinsip statistik

(17)

KOMPONEN TIME SERIES

Trend

Seasonal

Cyclical

(18)

KOMPONEN/POLA DATA

Terdapat empat pola data yang lazim dalam peramalan:

1. Pola horisontal

2. Pola musiman

3. Pola siklis

(19)

HORISONTAL

(20)

MUSIMAN

Pola musiman: Terjadi bila mana nilai data dipengaruhi oleh faktor musiman (misalnya kuartal tahun tertentu, bulanan atau mingguan).

Menunjukkan puncak-puncak (peaks) dan lembah-lembah (valleys) yang berulang

(21)

SIKLIS

Pola siklis. Terjadi bila mana datanya dipengaruhi oleh fluktuasi ekonomi jangka panjang seperti yang berhubungan dengan siklus bisnis.

(22)

TREND

(23)

SIMPLE AVERAGE

We will first investigate some averaging methods, such as the "simple"

average of all past data.

Example.

Seorang manager toko computer mempunyai data

(24)

DATA

Bulan

Amount

Bulan

Amount

1

9

7

11

(25)

MSE

•We shall compute the "mean squared error":

•The "error" = true amount spent minus the estimated amount.

•The "error squared" is the error above, squared.

•The "SSE" is the sum of the squared errors.

•The "MSE" is the mean of the squared errors.

(26)
(27)

MSE TERBAIK

So how good was the estimator for the next demand ? Let us compare the estimate (10) with the following estimates: 7, 9, and 12.

Performing the same calculations we arrive at:

Estimator 7 9 10 12

SSE 144 48 36 84

(28)

BUKTI ANALISIS

Dapat dibuktikan secara matematis bahwa estimator yang

meminimalkan MSE pada himpunan data random adalah mean.

(29)

DATA WITH TREND

Selanjutnya kita lihat data timeseries yang mengandung trend.

Next we will examine the mean to see how well it predicts net income over time for data having a trend. The next table gives the income before taxes of a PC

(30)
(31)

BUKTI EMPIRIS

(32)
(33)
(34)
(35)

Problem definition:

• Understanding of how forecast will be used by customer

• The desired form of the forecast (e.g., are monthly forecasts required)

Data collection:

• Obtaining the relevant history for the variable(s) that are to be forecast, including historical information

• The key here is “relevant”; not all

historical data are useful for the current problem

Data analysis:

• Selection of the

forecasting model to be used

• Time series plots of the data should be constructed and visually inspected for recognizable patterns, such as trends and seasonal or other cyclical

components

Model selection and fitting:

• Consists of choosing one or more forecasting models and fitting the model to the data

By fitting, we mean estimating

(36)

Model validation:

• An evaluation of the forecasting model to determine how it is likely to perform in the intended application

• A widely used method for

validating: data splitting, where the data are divided into two segments—a fitting segment and a forecasting segment

Forecasting model deployment:

• Involves getting the model and the

resulting forecasts in use by the customer

Monitoring forecasting model performance:

• Should be an ongoing

(37)

DATA FOR FORECASTING

(38)

EXTRACT

Data extraction refers to

obtaining data

from internal sources and from external

sources

(39)

TRANSFORMATION

transformation stage involves

applying rules to

prevent

duplication

of records and

dealing

with

problems such as

missing

information

.

Sometimes we refer to the

transformation activities as

data

cleaning

Data cleaning is the process of examining data to

detect potential errors, missing data, outliers or

(40)

LOAD

Finally, the data are loaded into the data warehouse where

(41)

IMPUTATION

Data imputation is the process of correcting missing data or replacing outliers with an estimation process.

Imputation replaces missing or erroneous values with a “likely” value based on other available information

Mean value imputation consists of replacing a missing value with

the sample average calculated from the non-missing observations.

If the data does not have any specific trend or

seasonal pattern

(42)

IMPUTATION

Stochastic mean value imputation

:

Consider the time series

𝑦

1

, 𝑦

2

, … , 𝑦

𝑇

and suppose that one observation

𝑦

𝑗

is missing. We can impute the missing value as

(43)

IMPUTATION

Regression imputation

(44)

REFERENCE

Referensi

Dokumen terkait

REALISASI EKSPOR PROVINSI GORONTALO PERIODE BULAN NOVEMBER 2008.. Mitra Mandiri

Kaitan antara Doktrin Monroe dengan tradisi demokrasi di Amerika Serikat , antara lain: Pertama, bangsa Amerika selama satu setengah abad (tahun 1817- Perang Dunia

Hasil penelitian memperlihatkan bahwa pada perlakuan tanpa N, asam humat meningkatkan indeks kehijauan daun, tetapi bila diberi N hubungannya tidak nyata terhadap indeks

Dengan meningkatnya pemanfaatan fasilitas pelayanan kesehatan oleh masyarakat maka tuntutan pengelolaan program Kesehatan dan Keselamatan Kerja di Rumah Sakit (K3RS)

Pada lokasi kegiatan, proses tertiary crushing mengunakan alat yang sama dengan proses secondary crushing yaitu menggunakan cone crusher, namun dengan kapasitas yang lebih

Minat pengunjung yang tinggi untuk berwisata pantai maupun wisata bahari dapat menimbulkan dampak buruk bagi lingkungan, sehingga perlu untuk dilakukan kajian

Dimensi sains yang dimaksud adalah proses, produk, aplikasi, dan sikap yang dapat dikembangkan dalam pembelajaran sains dengan menggunakan budaya dan kearifan

Kantor DPRD sendiri memiliki Persatuan Wartawan Legislatif (PWL) Tugas persatuan wartawan legislatif ini biasa nya meliput atau memuat berita tentang apa saja