Posts

Showing posts with the label R

R Lesson 3: Double Exponential Smoothing

Image
Assalamualaikum, kali ini saya akan tunjukkan bagaimana untuk generate forecast values using Double Exponential Smoothing aka Brown Exponential Smoothing (DES). Data: Consumer Price Index (CPI-1994) Step 1 to 3 refer to my previous post Step 4: (Perform DES with a=0.75, initial=31.3) Step 5: Generate Forecast values Step 6: Error measures source:  Selva Prabhakaran

R Lesson 2: Single Exponential Smoothing

Image
Assalamualaikum. Selain daripada menggunakan MS Excel untuk Time Series Analysis, pelajar juga boleh menggunakan RStudio+R langguage untuk kerja yang sama. Package "fpp" dan "forecast" ditulis oleh  Prof. Rob J Hyndman . Step 1: (Installation package and call the library package) Step 2: (Read data from drive) Step 3: (Splitting data to estimation and evaluation part) Step 4: (Perform Single Exponential Smoothing with a=0.75, initial = 31.3)     result Step 5: (Generate forecast values) Step 6: (Error measures for estimation and evaluation)

R Lesson 1: For Loop

Image

R Software: Check Seasonal Component

Image
Assalamualaikum, dilampirkan video ringkas to check seasonal component in time series data. Untuk paparan yang lebih jelas, tukar setting kepada 720p HD Syntax command: Link :  http://robjhyndman.com/hyndsight/tscharacteristics/ credit to: Prof Rob J. Hyndman Selamat mencuba