Anda di halaman 1dari 32

TIME SERIES ANALYSIS OF SALES OF PETROLEUM PRODUCTS IN

NIGERIA (1988-2011)

(A CASE STUDY OF SALES OF FUEL AT BALEWA FUEL SATION, OSHOGBO,


SATE OF OSUN, NIGERIA.)

ABSTRACT

This project is based on time series analysis of yearly sales of petroleum at Balewa fuel
station Nigeria limited, Oshogbo, Osun State from 1988-2011. Various trend models of
time series analysis were discussed with a view of showing understanding to the
appropriate method to be used for forecasts. The time plot of yearly sales of petroleum
shows that, there is low sales of petroleum within year 1994 and higher sales of
petroleum occur during year 2011. Moreover, evidence from trend analysis shows that
the quadratic model trend gives the best model out of all the models considered. This is
due to the model which has the least Mean Absolute Deviation. The study adopted
quadratic trend model, which was concluded that quadratic model was the best model
that best fit the data and was used to forecast yearly sales of petroleum from year 1998
to 2023.

1
TABLE OF CONTENTS

TITLE
PAGE

Title Page i

Certification ii

Dedication iii

Acknowledgement iv

Abstract v

Table of Contents
vi-vii

List of Tables
ix

List of Figures
x
2
CHAPTER ONE

1.0 Introduction
1

1.1 Discovery of crude oil in Nigeria


1-3

1.2 The performance of oil sector in Nigeria


3- 5

1.3 Role in sales of petroleum product 6

1.4 Aim and Objective 6

1.5 Description of Data 6

Conclusion of chapter 6

CHAPTER TWO: LITERATURE REVIEV

2.0 Introduction 7

2.1 Definition of time series 7

2.1.1 Type of time series 7

2.1.2 Component of time series 8

2.1.3 Time series Trend 8

2.1.4 Objective of time series 9

2.1.5 Importance of time series 9

2.2 Time Plot 9


2.3 Estimation of Trend 9-
10

2.3.1 Estimation of Seasonal Variation


10

2.4 Deseasonalisation of Data


11

2.5 Estimation of Cyclical Variation


11

3
2.5.1 Forecasting Accuracy
11

2.6 Stationary Time Series


12

2.6.1 Strict Stationary 12

2.6.2 Weak Stationary 12

2.6.3 Causes of Stationary 12

2.7 Non Stationary 13

2.8 Test of Stationarity 13

2.8.1 Graphical Analysis 13

2.8.2 Correlogram 14

2.8.3 The unit Root Test 14

2.8.4 Models of Time Series 15

2.8.4 The Augmented Dickey-Fuller (ADF) Test 16

CHAPTER THREE

3.0 Introduction 17

3.1 Time series plot and Component of Time series


17-20

3.2 Forecast
21

CHAPTER FOUR: CONCLUSIONS AND RECOMMENDATIONS

4.0 Introduction 23

4.1 Summary and Conclusions 23

4.2 Recommendations 23

References 24

Appendix 25

4
LIST OF TABLES

Table 1: Summary for Trend Analysis 19

Table 2: Forecast Value of Quadratic


21

Table 3: Appendix 25

LIST OF FIGURES

Fig 1: Time series plot of petroleum


17

Fig 2: Linear Trend Analysis


18

Fig 3: Quadratic Trend Analysis


19

Fig 4: Exponential Trend Analysis 20

Fig 5: Forecast plot 22

5
CHAPTER ONE

INTRODUCTION

1.0 YEARLY SALES OF PETROLEUM

The search of oil in Nigeria started as early as 1937, but the discovery was not until
1956. The sole of petroleum products began in December 1957, managed by a
consortium of Royal Dutch Shell and British Petroleum BP Now known as Shell
Petroleum Development Company SPDC. G.A, Aga (1993) stated that Nigeria was the
second oil producing nation in Africa after Libya and sixth in the world.

In May 1971, the Nigeria National Oil Company was established under the
company and Allied matter Act of 1958 as applicable then. NNOC was the government
Agency Mandated by law to engage in all phases of oil production and sales, NNOC
was later in 1977 amalgamated into a full flex ministry of petroleum to form the Nigeria
National Petroleum Corporation (NNPC), which is in partnership with several oil
company from different countries operating in Nigeria. Before October 1965, Nigeria
Crude Oil was refined overseas and all the processed oil needs were imported. The first
refinery plant came into operation in 1965 located at Alesa Eleme near Port-Harcourt.
Later Warri and Kaduna Petro-chemical refineries were established in 1978 and 1980
respectively. Similarly, Pipeline and Products Marketing Company Ltd (PPMC) Enugu
Depot was commissioned in 25 August 1975 by the then military Governor of the old
Anambra State; Colonel D.S. Abubakar. The last was the second refinery in Port-
Harcourt. It is however worthy to note that NNPC has several subsidiary company e.g.
Pipeline and Product Marketing Company (PPMC).

1.1 Discovery of Crude Oil in Nigeria

Oil was discovered in Nigeria in 1956 at Oloibiri in the Niger Delta after half a century
of exploration. The discovery was made by Shell-BP, at the time the sole
concessionaire. Nigeria joined the ranks of oil producers in 1958 when its first oil field
came on stream producing 5,100 bpd. After 1960, exploration rights in onshore and

6
offshore areas adjoining the Niger Delta were extended to other foreign companies. In
1965 the EA field was discovered by Shell in shallow water southeast of Warri.
In 1970, the end of the Biafran war coincided with the rise in the world oil
price, and Nigeria was able to reap instant riches from its oil production. Nigeria joined
the Organization of Petroleum Exporting Countries (OPEC) in 1971 and established
the Nigerian National Petroleum Company (NNPC) in 1977; a state owned and
controlled company which is a major player in both the upstream and downstream
sectors [Blair1976, pp. 98-120]. Following the discovery of crude oil by Shell D’Arcy
Petroleum, pioneer production began in 1958 from the company’s oil field in Oloibiri in
the Eastern Niger Delta. By the late sixties and early seventies, Nigeria had attained a
production level of over 2 million barrels of crude oil a day. Although production
figures dropped in the eighties due to economic slump, 2004 saw a total rejuvenation of
oil production to a record level of 2.5 million barrels per day. Current development
strategies are aimed at increasing production to 4million barrels per day by the year
2010. Petroleum production and export play a dominant role in Nigeria's economy and
account for about 90 % of her gross earnings.
This dominant role has pushed agriculture, the traditional mainstay of the
economy, from the early fifties and sixties, to the background. While the discovery of
oil in the eastern and mid-western regions of the Niger Delta pleased hopeful Nigerians,
giving them an early indication soon after independent economic development was
within reach, at the same time it signaled a danger of grave consequence: oil revenues
fueled already existing ethnic and political tension and actually "burned" the country.
This tension reached its peak with the civil war that lasted from 1967 to 1970. As the
war commenced, the literature reflected the hostility, the impact, and fate of the oil
industry. Nigeria survived the war, and was able to recover mainly of the huge revenues
from oil in the 1970s. For some three years an oil boom followed, and the country was
awash with money.
Indeed, there was money for virtually all the items in its developmental plan.
The literature of the postwar years shifted to the analysis of the world oil boom and
bust, collectively known as the "oil shock." Starting in 1973 the world experienced an
oil shock that rippled through Nigeria until the mid - 1980s. This oil shock was initially
7
positive for the country, but with mismanagement and military rule, it became all
economic disaster. The larger middle class produced by the oil boom of the 1970s
gradually became disenchanted in the 1980s, and rebellious in the 1990s. The enormous
impact of the oil shock could not escape scholarly attention. For almost twenty years
(1970s 1990s), the virtual obsession was to analyze the consequences of oil on Nigeria,
using different models and theories. A set of radical-oriented writers was concerned
with the nationalization that took place during the oil shock as well as the linkages
between oil and an activist foreign policy.
Regarding the latter, the emphasis was on OPEC, Nigeria's strategic alliance formation
within Africa, the vigorous efforts to establish the Economic Community of West
African States (ECOWAS), and the country's attempts to use oil as a political weapon,
especially in the liberation of South Africa from apartheid. If many had hoped that oil
would turn Nigeria into an industrial power and a prosperous country based on a large
middle class, they were to be disappointed when a formally rich country became a
debtor nation by the 1980s. The suddenness of the economic difficulties of the 1980s
"bust years" had an adverse effect on class relations and the oil workers who understood
the dynamics of the industry. As if to capture the labor crisis, writings on oil workers
during this period covered many interrelated issues, notably working conditions, strikes,
and state labor relations. To be sure, labor issues were not new in the 1980s, since the
left-oriented scholars had made a point of exposing labor relations in the colonial era.
What was new after 1980 was the focus on oil workers, unions, and class conflict
[OPEC annual report 1983].

1.2 The Performance of Oil Sector in Nigeria


The Nigerian oil sector can be categorized into three main sub-sectors, namely,
upstream, downstream and gas. The most problematic over the years has been the
downstream sector, which is the distribution arm and connection with final consumers
of refined petroleum products in the domestic economy. The incessant crisis in supply
of products culminated in the decision by Government in 2003 to deregulate the
downstream sub-sector. However, the manner of its implementation has been
controversial because it ignores the economic realities in Nigeria.
8
Oil production by the joint venture (JV) companies accounts for about 95 % of
Nigeria’s crude oil production. Shell, which operates the largest joint venture in
Nigeria, with 55 % Government interest (through the Nigerian National Petroleum
Corporation, NNPC), produces about 50 % of Nigeria’s crude oil. Exxon Mobil,
Chevron Texaco, ENI/Agip and TotalfinaElf operate the other JV’s, in which the NNPC
has 60 % stake. The over-dependence on oil has created vulnerability to the vagaries of
the international market, as observed in the preceding section that show the contribution
of oil to some macro-economic variables. In particular, the place of oil in the mind of
the average Nigerian has become more profound since the deregulation of the
downstream segment of the Nigerian oil industry in 2003. The contradiction is more
glaring now with the recent rise in crude oil prices at the global markets, which meant
more external earnings for Nigeria, but also increased the expense burden on imported
refined petroleum products! It is such contradictions that make the Nigerian economy
appear strange at times, as policies seem to ignore what appears obvious to do. As such,
policies designed to address the deficiencies and defects in the structure end up being
poorly articulated and/or implemented because of regional, political or rent-seeking
selfish interests. Obviously, it is the same rent-seekers that continually sabotage the
reinvigoration of the domestic refineries, making Nigeria to depend on importation
ofrefined products to meet the domestic need. At present, Nigeria has four refineries,
with a combined installed refining capacity of 445,000 barrels per day (bpd). These four
refineries are:

1. The first Port Harcourt Refinery was commissioned in 1965 with an installed
capacity of 35,000 bpd and later expanded to 60,000 bpd.
2. The Warri Refinery was commissioned in 1978 with an installed refining capacity
100,000 bpd, and upgraded to 125,000 bpd in 1986.
3. The Kaduna Refinery was commissioned in 1980 with an installed refining capacity
of 100,000 bpd, and upgraded to 110,000 bpd in 1986.
4. The second Port Harcourt Refinery was commissioned in1989 with 150,000 bpd
processing capacity, and designed to fulfil the dual role of supplying the domestic
market and exporting its surplus. The combined capacities of these refineries exceed the
9
domestic consumption of refined products, chief of which is premium motor spirit
(gasoline), whose demand is estimated at 33 million litres daily. The refineries are
however, operating far below their installed capacities, as they were more or less
abandoned during the military era, skipping the routine and mandatory turnaround
maintenance that made products shortages that gave strength to the argument for
deregulation of the downstream oil subsector in Nigeria. The monetization of oil
revenue has been a major factor in liquidity management in Nigeria. Measuring
liquidity as the narrow and broad money definitions by the CBN, the early 1990s saw
increases that were dampened by 1995 up until the civilian administration came on
board in 1999. The new Government maintained disciplined fiscal operations for about
one year and thereafter, the floodgates were opened. Since then, the CBN has been
battling to keep liquidity in check, in order to ensure that it does not create adverse
effects on the three key macroeconomic prices (i.e., interest rate, exchange rate and
inflation rate).
The greatest challenge is when Nigeria generates more revenue from crude oil sales
than it budgeted, like now. Such excesses have always been monetized, creating market
distortions and inflationary pressure [Biodun Adedipe 2004]. The same argument goes
for deficit fiscal operations in comparison to the GDP. The pattern of this ratio indicates
the optimism that accompanies increase in oil revenue and makes Government to
engage in frivolous spending or unnecessary projects. Deficit spending invariably
makes Government resort to borrowing from the Central Bank through the instrument
of Ways and Means Advances, which later convert into shortterm debt instruments that
are quite expensive to service at market rates. At this point, there is sufficient ground to
examine how economic policy formulation has been impacted or induced by petroleum
oil in Nigeria. As much as possible, major economic policies since Nigeria gained
political independence would be examined vis-а-vis the state of the oil sector. This
should provide adequate basis for making a few specific recommendations on how to
reduce the dependency. Importation inevitable, Importation not withstanding, there
have been persistent product.
1.3 NIGERIAN NATIONAL PETROLEUM CORPORATION (ITS ROLE IN
SALE OF PETROLEUM PRODUCTS)
10
The NNPC‟s role in Oil Industry is so much that it cannot handled it alone. This is the
reason for the establishment of subsidiary company like pipeline and Products
Marketing Company Ltd (PPMC). The Nigerian National Petroleum Corporation
manages the affairs of the oil industry in Nigeria, while the PPMC under the
corporation is in charge of sales of petroleum products. Government policy on oil
matter such sales is been conveyed by the Petroleum Products Price Regulatory Agency
(PPPRA) currently headed by Alhaji Gbalamosi. NNPC therefore, works in conjunction
with PPPRA to implement government policy such as prices of petroleum products.
Nigerian National Petroleum Corporation carries out its function as such in both local
and international.

1.4.1 AIM AND OBJECTIVES OF THE STUDY


1. The aim of this project work is to forecast for Sales of petroleum
2. The specific objectives are to;
3. *Test the stationarity of the data.
4. *Fitting of trend
5. *Fit an appropriate model to the data.
6. *Use selected model for forecasting.

1.4.2 DISCRIPTION OF DATA


This data used in this project is a secondary data and it was collected from sales
department of Balewa fuel station Oshogbo, Osun State. The data involved the amount
entry per year from 1988-2018.

CONCLUSION OF CHAPTER ONE

This chapter discussed the yearly sales of petroleum in Oshogbo, discovery of crude oil
in Nigeria and the aim and objective of the study and the description of the data.

11
CHAPTER TWO

LITERATURE REVIEW

2.0 INTRODUCTION

This chapter is concerned with the literature review of past work on time series data and
the sample techniques used in analysis the data in chapter three.

2.1 DEFINITION OF TIME SERIES

A time series is a set of observations taken place at specific times, usually at


equal intervals. Mathematically, a times series is defined by the values Y 1, Y2, Y3…of a
variable Y at times t1,t2,t3….. Time series can be of a continuous when observations are
made only at a specific interval usually spaced.

Time series analysis uses some form of mathematical or statistical analysis on


past data arranged in time. It deals with the studying of past data using mathematical
models and projection into future.

A special feature of times series analysis is the fact that successive observations
usually take into account the time order of the observations. When successive
observations are dependent, future values may be predicted from past observations .If
the series can be predicted exactly, it is said to be deterministic. Most times series are
however stochastic in that future values are only partly determined by past values
having a probability distribution which is conditioned by knowledge of past values. A
time series can be either;

a) DISCRETE TIME SERIES: A time series is said to be discrete when


observation are made only at a specific time, t.
b) CONTINUOUS TIME SERIES; Time series is said to be continuous when
observations are made continually over time.

2.1.1 TYPE OF TIME SERIES

Time series can be classified into four different types such as:

1. Economic time series: This involves the study of changes in the economy of a
given community, nation or company e.g monthly data for unemployment.
2. Marketing time series: This concerned with the behaviour of finished products
in the market in terms of quality and sales over a period of time.

12
3. Physical time series: This is a time series arising from physical series such as
marine, geophysics, metrology,etc. This involves the recording of rainfall,
pressure, temperature, etc in time.
4. Demography time series: This involves the study of human population in a
given geographical area over a period of time.

2.1.2 COMPONENTS OF TIME SERIES

Time series is characterized by the following four components:

1. Secular trend(Tt): This is a long term movement in the mean, it refer to the
general direction in which the graph of a time series appears to be going over a
long time interval of time,it is indicted by a trend line.The secular trend is
generally either upward or downward. General trend is the result of such force
which are more or less constant for a long time or which change gradually or
slowly. The determination of such trend lines and curves is by the least squares
method.

2. Cyclical variation (Ct): This is the long term oscillation or swing about a trend
line or curve. It may or may not be periodic due to various combinations of
factors influencing the economy.

3. Seasonal variation(St): This is caused by re-occurring of events which takes


place annually. These refer to the identical or almost identical pattern that a time
series appears to follow during corresponding months or quarters of successive
years. Such movements are due to recurring events that take place
annually.Season could be weekly, monthly or quarterly depending on the nature
of the phenomenon.

4. Irregular variation (It): This is the remaining component after estimating the
trend seasonal and cyclical variations. These refer to the sporadic motions in the
time series due to change events such as floods strikes and elections. Although it
is ordinarily assumed that such events produce variations lasting only a short
time it is conceivable that they may be so intense as to result it new cyclical
variations from a set of data.

13
2.1.3 TIME SERIES TREND

Linear Trend Model

Trend analysis by default uses the linear trend model

Yt = βο + ( β1*t ) + et

In this model, β1 represents the average change from period to the next.

Quadratic Trend Model

The quadratic model which can explain simple curvature in the data is:

Yt = βο + β1*t ( β2*t2 ) + et

Exponential Growth Trend Model

The exponential growth trend model explains exponential growth or decay. For
example, a savings account might exhibit exponential growth. The model is:

Yt = βο + ( β1t ) + et

S-Curve Trend Model

The S-curve trend model fits the pearl-reed logistic trend model, this explains the case
where the series follows an S-cure. The model is:

Yt = (10a) / ( βο + β1 β2t )

2.1.4 OBJECTIVES OF TIME SERIES. They are;

a. DISCRIPTION: When presented with time series, the first step in the analysis is
usually to plot the data to obtain simple descriptive measures of the main
properties of the series.
b. EXPLAINATION: When the observations are taken on two or more variables, it
may be possible to use the variation in one time series to explain the variation in
another series.
c. PREDICTION: Given an observed time series, one may want to predict the future
values of the series. This is important task in sales forecasting and in the analysis
of economic and industrial time series.
d. CONTROL: When time series is generated, which measures the quality of a
manufacturing process. The aim of the analysis may be to control the process. The
observations are plotted on control chart and the control lines take sanctions as a
result of studying the chart.

14
2.1.5 IMPORTANCE OF TIME SERIESS

a. It helps in comparison of performance with the expected performance which will be


analysed.

b. It helps in planning the future, since time series can be used for prediction and
forecasting, it is one of the important tools used for planning.

c. It helps in understanding past event.

2.2 TIME PLOT

Time plot is the graph of the original data over time, Chatifield emphasised that
the first step in analysis of a data is to plot the observation (Xt) against time (t),such that
the features like trend, seasonality discontinuous will be depicted if present in the
series. It is the graphical representation of time series as a plot of observations (X t)
against time so as to observe the inherent characteristics of the data.

2.3 ESTIMATION OF TREND

There are four methods by which trend can be estimated. They are:

a) FREE HAND METHOD: This is a method which consists of fitting a trend


line or curve simply by looking at graph, it is often called fitting by eyes.
The drawing of trends depends on individual judgement (demerit) but it can
be used to estimate trend (Tt).
b) MOVING AVERAGE METHOD: Another important method that can be
in estimating the trend in a series is the moving average method. This is the
easiest and most commonly used method .Chronically (in order) as X 1, X2,
X3…………..Xt, Xt+1………….Xt+n, We obtain a set off averages.
c) SEMI-MOVING AVERAGE METHOD: This involves division of the
series of data into equal halves and averaging the data in each halves, the
average of each half is plotted against their respective time.
d) LEAST SQUARE METHOD: This is used to find the equation of an
appropriate trend line and for curve fitting and trend values. This method can
be used to find the equation of an appropriate trend line or trend curve. It can
be computed from the equation using the least squares approaches or
regression analysis. the normal equation for the trend line are:

∑𝑛𝑡=1 𝑌𝑡= na +b ∑𝑛𝑡=1 𝑡 ( 2.1)

15
The least square estimates of a and b are the solution to the normal equations, which
can be determined by solving the equation simultaneously. The estimates are then given
as:

𝑎̂ = Yt- bt ( 2. 2)

Thus, the trend line equation is then;

Tt = 𝑎̂+ bt ( 2.3)

One advantage of this method is that a linear trend may be fitted into a series which is
not exactly linear.

2.3.1 ESTIMATION OF SEASONAL VARIATION

To determine the seasonal factor St in a given series, we must estimate how the
data in the series vary from month to month throughout a typical year. A set of numbers
showing the relative values of a variable during the months of the year is called
seasonal index sum of 12months index number should be 1200%. There are various
methods available for computations are:

1. The Average Percentage Method


2. The Percentage Trend ratio-to-Trend Method
3. The Percentage Moving-Average Method

The Average-Percentage Method:

In this method, we express the data for each month as percentage of average for
the tear. The percentages for corresponding months of different years are the average,
using either a mean or median: if the mean is used, it is best to avoid any extreme
values that may occur. The resulting 12 percentages gives the seasonal index. If the
mean is not 100% i.e. if the sum is not 1200%) they should be adjusted – which is done
by multiplying them by a suitable factor.

The Percentage Trend ratio-to-Trend Method:

In this method, we express the data for each month as a percentage of monthly
trend values. An appropriate average of the corresponding months then gives the
required index. As above, we adjust these if they do not average to 100%.

The Percentage Moving-Average Method:

16
Also, in this method we compute a 12month moving average. We compute a two
month average of this 12-month moving average. The result is often called a 12-month
centered moving average.

2.4 DESEASONALISATION OF DATA

Deseasonalized data are the data which shows how the data will look like, if there
are no seasonal fluntuations. The process of deseasonalisation of a data is by dividing
each datum in the series by the corresponding value of the seasonal index.

2.5 ESTIMATION OF CYCLICAL VARIATION (C.V)

This is done by using residual method. T is commonly used and can be obtained
by estimating the seasonal variation and the trend from the data given.After the data
have been deseasonalised, they can be adjusted for trend simply by dividing the data by
the corresponding trend values. The process of adjusting for seasonal variation and
trend correspond to dividing adjusted for trend simply by dividing the data by the
corresponding trend values. The process of adjusting for seasonal variation and trend
correspond to dividing Yt by St, Tt, which yields Ct, It (the cyclic and irregular
variations). Once the cyclic variations have thus been isolated they can be studied in
detail. A periodicity or approximate periodicity of cycles occurs; cyclic indexes can be
much th same as seasonal indexes.

2.5.1 FORECASTING ACCURACY

The forecast accuracy is known as the forecast error which is determined by


difference between the forecast value at period t, and the actual for the corresponding
period.

Mathematically,
Where

Etis the forecast at a period t

Ytis the actual value at period t

Ft is the forecast value at period t


There are measures of aggregates error:

 Mean Absolute Error (MAE)

17
𝑬𝒕
MAE = ∑𝑵
𝒕−𝟏 | | ( 5)
𝑵

 Mean Absolute Percentage Error (MAPE)

𝑬𝒕
MAE = ∑𝑵
𝒕−𝟏 | |/N (6)
𝑵

 Percent Mean Absolute Deviation

|𝑬𝒕|
PMAD = ∑𝐍𝒕−𝟏 (7)
|𝒀𝒕|

 Mean Squared Error (MSN)

𝑬𝟐𝒕
MSE = ∑𝐍𝒕−𝟏 ( 8)
𝑵

 Root Mean Squared Error (RMSE)


𝑬𝟐𝒕
MSE = ∑𝐍𝒕−𝟏 ( 9)
𝑵

2.5 STATIONARY TIME SERIES

According to chat field (1980) time series is said to be stationary if the joint
distribution of Y1,Y2,……,Yn is with a regard to a displacement in time. That is (Yt,
Yt+1,……Yt+k)=(Yt+m, Yt+m+1,…..,Yt+m+k) , where t is any point in time and k,m are
integers.

So explicitl speaking, time series is said to be stationary if there is no systematic


change in mean and variance and if strictly periodic have been removed.

2.6.1 STRICT STATIONARITY

A time series (Xt) is said to be strictly stationary if for any admissible set of time
points t1,t2,t3,………tn and any constants k, the joint probability distribution of
(Yt1,Yt2,Yt3,……..Ytn)is the same as the joint probability of (Yt1+k,Yt2+k,……Ytn+k). This
is also because shifting the time origin by amount k has no effect on the joint
distribution.

18
2.6.2 WEAK STATIONARY

A series that is stationary up to order 2 is said to be weakly stationary. A process


is weak stationary if its mean is constant and its auto-covariance function depends on
the lag

2.6.3 CAUSES OF STATIONARY

There are several situations responsible for stationary models. Some are mentioned
below.

a) Stable environment
b) Easily correctable trend
c) Short forecasting horizon
d) Transformable series
e) Preliminary stages of model development

2.6 NON STATIONARY

A time series Yt is said to be non-stationary if it contains a trend i.e if there is


systematic change in mean, variance and there exists a periodic variation. There value
of auto correlation will not reduce to 0 except for a large value of lag. It can be changed
to a stationary series by successive differencing with the use of backward shift operator
on the non-stationary time series (Yt).

First difference of stationary time series is given as


Yt = Yt-Yt-1
Where Yt is a background difference operator.

2.8 TEST OF STATIONARITY

In practice we face two important question:


(1) How do we find out if a given time series is stationary?
(2) If we find that a given time series is not stationary, is their way that it can be
made stationary?
There are several tests of stationarity but the three major ones are:
a) Graphical analysis.
b) Correlogram.
c) Unit root test.

19
2.8.1 Graphical Analysis

Before one pursues formal tests,it is always advisable to plot the time series under
study. Such a plot gives an initial clue about the likely nature of the time series.

2.8.2 Correlogram

One simple test of stationarity is based on the autocorrelation function (ACF).


The ACF at lag k, denote by 𝜌𝑘 , is defined as

𝛾𝑘
𝜌𝑘 = ⁄𝛾0

𝑐𝑜𝑣𝑎𝑟𝑖𝑛𝑐𝑒 𝑎𝑡 𝑙𝑎𝑔 𝑘
=
𝑣𝑎𝑟𝑖𝑎𝑛𝑐𝑒

Note that if k=0, 𝜌𝑘 =1. Since both covariance and variance are measured in the
same units of measurement 𝜌𝑘 is unitless, or pure number. It lies between -1 and
+1,as any correlation coefficient does. If we plot 𝜌𝑘 against k, the graph we obtain
is known as the population correlogram .Since in practice we only have a
realization (i.e sample) of a stochastic process, we can onlycompute the sample
covariance at lag k,𝛾0 ,

2.8.3 The Unit Root Test

A test of stationarity (or non stationarity) that has become widely popular over the
past several years is the unit root test.

We start with

Yt = 𝜌Yt-1+ Ut -1< 𝜌 >1

Where ut is a white noise error term

We know that 𝜌=1,that is, in case of the unit root,the model becomes a random
walk model without drift, which is known as non_stationary stochastic process.
Therefore, regress Yt on its (one period ) lagged value Yt-1 and find out if the

20
estimated 𝜌is statistically equal to 1?. If it is, then Yt is non-stationary, This is the
general idea behind the unit root test of stationarity.

Yt –Yt-1 = 𝜌Yt-1 –Yt-1 + Ut

=(𝜌-1) Yt-1 + Ut

Which can be written as

∆Yt = 𝛿Yt-1+ Ut

Where 𝛿 = (𝜌 − 1) and ∆, as usual, is the first difference operator

To test the (null) hypothesis that 𝛿= 0, if 𝛿 = 0, then p = 1, that is there exist a


unit root. Meaning the time series is stationary.

The choice of lag length is basically an empirical question. Arule of


thumb is to compute ACF up to one-third to one-quarter the length othe best
pratical advice is to start with sufficiently large lags and then reduce them by some
statistical criterion, such as the Akaike or schwarz criterion.

2.8.4 MODELS OF TIME SERIES

Models of time series data can have many forms and represent different stochastic
process. When modelling variation the level of a process, three broad classes of
practical importance are the AR models, the integrated (I) models and the MA models.
These three classes depend linearly on previous data points. Combinations of these
models produce ARMA and ARIMA models. The AR fractional integrated MA
(AFIMA) model generalized the former three.

AUTO REGRESSIVE PROCESS: A very important class of time series model is the
set of auto regressive process. Thepth order is noted as AR(P)

Yt = ∅Yt-1+ ∅Yt-2+……… + ∅Yt-p+∑ 𝑡 (11)

MOVING AVERAGE PROCESS: For a general linear process(GLP)

Yt=∑∞
𝑗=0 𝜑 ∑𝑡−𝑗 ∀ 𝜑0=1 (12)

Assuming𝜑k= 0 ∀ k > q

21
The finite approximation for G.L.P model is

Yt=∑ 𝑢𝑗 ∑ 𝑡 − 𝑗

By definition (Yt) is said to follow a Moving Average process of order q [MA(q)] if :

Yt = ∑ 𝑡 − ∅1∑ 𝑡 − 1 − ∅2∑ 𝑡 − 2 −…….∅q∑ 𝑡 − 𝑞 12

Where (∑ 𝑡) is a white noise process (WNP) with variance

From equation (1) above ;

E (Yt) = 0 ∀ t

V (Yt) =𝜎2(1 + ∑ 𝜃s2)

Hence, MA is stationary for all values of 𝜃1𝜃2,………,ndoes not require stationary


condition.

AUTO REGRESSIVE MOVING AVERAGE PROCESS: The principle of


parsimony is to describe a system by a few parameters as much as possible. Hence,
parsimony is achieved by combining AR & MA; the resultant model is called ARMA
model. In time series,Yt tend to follow an ARMA model of order (p,q) if it satisfies the
equation.

Yt = ∅1∑ 𝜃 − 1 - ∅2∑ 𝜃 − 2 - ∅q∑ 𝜃 − 𝜃 (13)

Yt =∑ 𝜃-∅1∑ 𝜃 − 1 - ∅2∑ 𝜃 − 2 - ∅q∑ 𝜃 − 𝜃


(14)

AUTO REGRESSIVE INTEGRATED MOVING AVERAGE (ARIMA) MODEL

According to Box and Jekins (1976), auto regressive integrated moving average
(ARIMA) time series models from a general class of linear models that are widely used
in modelling and forecasting time series. A time series is said to follow an ARIMA
model if it satisfies the following condition;

22
2.8.5 The Augmented Dickey-Fuller (ADF) Test

An Augmented Dickey-Fuller test is a test for a unit root in a time series sample. It is an
augmented version of the Dickey-Fuller Test for a larger and more complicated set of
time series models. The Augmented Dickey-Fuller (ADF) statistics, used in the test, is a
negative number. The more negative it is, the stronger the rejection of the hypothesis
that there is a unit root at some level of confidence.

In conducting the DF test it is assumed that the error term uiare uncorrelated. But in
case the ui are correlated. Dickey and Fuller developed a test, known as Augmented
Dickey-Fuller (ADF) test. This test is conducted by ‘augmenting’ the preceding three
equations by adding the lagged values of the dependent variable Yt. To be specific
given

∆Yt= 𝜃1+ 𝜃2 t + 𝜃Yt-1+ ut (Ytis a random walk with drift around a stochastic trend).

The ADF test here consists of estimating the following regression:

∆Yt-2 = ( Yt-2– Yt-3 )∆Yt-1 = ( Yt-1 – Yt-2 ) e.t.c . The number of lagged difference
terms to include is often determined empirically. The idea being to include enough
terms is serially uncorrelated. In ADF in testing whether 𝜃 = 0the ADF test follows the
same asymptotic distribution as the DF statistics, so the same critical values can be
used.

23
CHAPTER THREE

ANALYSIS OF DATA AND INTERPRETATION OF RESULTS

3.0 INTRODUCTION

In this chapter, presentation of data on sales of petroleum production and statistical


analysis is performed on the yearly sales of petroleum production that was collected
from sales department of Balewa Fuel Station Oshogbo.

Figure 2: LINEAR TREND ANALYSIS

Trend Analysis Plot for PETROL(PMP)


Linear Trend Model
Yt = 1953283 + 165677*t
8000000 Variable
Actual
7000000 Fits

6000000 Accuracy Measures


MAPE 8.88058E+01
MAD 1.16253E+06
PETROL(PMP)

5000000
MSD 1.85448E+12

4000000

3000000

2000000

1000000

0
1988 1992 1996 2000 2004 2008
Year

Interpretation: From the analysis above for the petroleum product data, the fitted
equation is a representation of petroleum product as a linear function of time. It follows
a linear trend.

Fitted Trend Equation


24
Ŷt=1953283+165677*t

Accuracy Measures

MAPE 8.88058E+01

MAD 1.16253E+06

MSD 1.85448E+12

Figure 3: QUADRATIC TREND ANALYSIS FOR PETROLEUM

Trend Analysis Plot for PETROL(PMP)


Quadratic Trend Model
Yt = 1435639 + 285134*t - 4778*t**2
8000000 Variable
Actual
7000000 Fits

6000000 Accuracy Measures


MAPE 8.75369E+01
MAD 1.10816E+06
PETROL(PMP)

5000000
MSD 1.81276E+12

4000000

3000000

2000000

1000000

0
1988 1992 1996 2000 2004 2008
Year

Interpretation: The plot above shows the quadratic trend plot analysis of petroleum
production. The fitted equation is representation of petroleum production as a quadratic
function of time.

Fitted Trend Equation

Ŷt=14345639+285134*t-4778*t**2

Accuracy Measures

MAPE 8.75369E+01

MAD 1.10816E+06
25
MSD 1.81276E+12

Figure 4: EXPONENTIAL GROWTH ANALYSIS FOR PETROLEUM

Trend Analysis Plot for PETROL(PMP)


Growth Curve Model
Yt = 1642124 * (1.0592**t)
8000000 Variable
Actual
7000000 Fits

6000000 Accuracy Measures


MAPE 7.79831E+01
MAD 1.33522E+06
PETROL(PMP)

5000000
MSD 2.19739E+12

4000000

3000000

2000000

1000000

0
1988 1992 1996 2000 2004 2008
Year

Interpretation: From the analysis above for the petroleum product data, the fitted
equation is a representation of petroleum product as a linear function of time. It follows
a linear trend.

Fitted Trend Equation

Ŷt=1642124*(1.0592**t)

Accuracy Measures

MAPE 7.79831E+01

MAD 1.3352E+06

MSD 2.19739E+12

Table 1: Model Summary for Trend Analysis

Trend Equation MAPE MAD MSD


Model
Linear Ŷt=1953283+165677*t 8.88058E+01 1.16253E+06 1.85448E+12
Quadratic Ŷt=14345639+285134*t- 8.75369E+01 1.10816E+06 1.81276E+12
4778*t**2
Exponential Ŷt=1642124*(1.0592**t) 7.79831E+01 1.3352E+06 2.1973E+12

26
Interpretation: After considering the three models, the quadratic model trend gives the
best model out of all the models considered. This is due to the model which has the
least Mean Absolute Deviation.

Figure 1: Time series plot for Petroleum

Time Series Plot of PETROL(PMP)


8000000

7000000

6000000

5000000
PETROL(PMP)

4000000

3000000

2000000

1000000

0
1988 1992 1996 2000 2004 2008
Year

Interpretation: The plot above shows the time series plot of petrol. It can be deduced
from the plot that low sales of petrol is not stable over the years under consideration.

3.4 TABLE 2: FORECAST VALUES OF QUADRATIC

YEARS FORECAST
1998 4354667
1999 4549091
2000 4722909
2001 4876121
2002 5008727
2003 5120727
2004 5212121
2005 5282909
2006 5333091
2007 5362667
2008 5371636
2009 5360000
2010 5327758
2011 5274909
2012 5201455
2013 5107394
27
2014 4992727
2015 4857455
2016 4701576
2017 4525091
2018 4328000
2019 4110303
2020 3872000
2021 3613091
2022 3333576
2023 3033455

Figure 6: FORECAST PLOT OF YEARLY SALES OF PETROLEUM

Interpretation: The plot above shows that there will be decrease in sales of
petroleum over the years.

28
CHAPTER FOUR

4.0 SUMMARY, CONCLUSIONS AND RECOMMENDATIONS

4.1 INTRODUCTION

This chapter summarizes the findings, conclusion and recommendation on the sales
of petroleum in Osun State (Oshogbo).

4.2 SUMMARY AND CONCLUSIONS

From the analysis, after considering the three models, the quadratic model trend
gives the best fitted model out of all the models considered. This is due to the model
which has the Least Mean Absolute Deviation.

From our forecast, it can be deduced that there would be steady decrease in sales of
petroleum in years to come.

4.4 RECOMMENDATION

Based on the analysis and the result, the following recommendations are made:

1. Governing arm of the company is advised to improve labour force from time to
time.
2. Sales of refined products should also be monitored by the Federal Government,
in order to ensure a violent free environment for activities of the company.
3. The company should make use of proposed quadratic model in this research work
to foresee future pattern of the product and to enjoy steady increase in the sales of
the product.

29
REFERENCES
Agbe Jule T.A.O.L. (1987) “Collection of revenue in Nigeria”, seminar held at the
Federal Place Hotel, Lagos.

Ailemen, M.I. and Oleosodo, L.A. (2000), The Oil Industry and Environmental
problems in Nigeria(A Case study of Nigeria Delta Area).

Anderson O.D. Time Series Analysis and Forecasting (The Box – Jenkins)
approach) the Butter Worth Group.

Asanya E.O Unpublished note on Time Series Analysis (I.M.T) Enugu

Augustine O.O Petroleum and the Nigeria Economy, Africa Top Publisher Ltd

Biodun, Adedipe Ph.D, The Impact of oil on the Nigerian economy.

Devore, J.and Peck, R. (1986) Statistics: The Exploration and Analysis of


data.London.west publishing co.ltd

John N.Igabari (2012). A Functional Approach to Statistics, Amekatik Research


Publishers.

Obadan M.I, (1987) The Impact of petroleum on the Nigerian Economy..

Schaums outline series: statistics. New York. McGraw Hill Book Co.

Walpole, R.E (1982). Introduction to Statistics. 3rd edition New York Macmillan
Publishing Company Inc. Warren Gilchrist Statistical Forecasting a Willey –
Interscience Publications

30
APPENDIX

YEARLY SALES OF PETROLEUM PRODUCT IN OSHOGBO FROM


(1988 - 2018)

YEAR PETROL(PMP)
1988 1110000
1989 1080000
1990 2580000
1991 2980000
1992 3450000
1993 3950000
1994 210000
1995 4250000
1996 4450000
1997 4260000
1998 4560000
1999 4250000
2000 5120000
2001 6700000
2002 6400000
2003 2540000
2004 2950000
2005 3020000
2006 3990000
2007 4660000
2008 5320000
2009 6542000
2010 4560000
2018 7650000

31
32

Anda mungkin juga menyukai