Presentation is loading. Please wait.

Presentation is loading. Please wait.

Time Series Analysis A time series is a collection of data recorded over a period of time – weekly, monthly, quarterly or yearly. Examples: 1. The hourly.

Similar presentations


Presentation on theme: "Time Series Analysis A time series is a collection of data recorded over a period of time – weekly, monthly, quarterly or yearly. Examples: 1. The hourly."— Presentation transcript:

1 Time Series Analysis A time series is a collection of data recorded over a period of time – weekly, monthly, quarterly or yearly. Examples: 1. The hourly temperature recorded at a locality for a period of years. 2. The weekly prices of wheat in Dhaka. 3. The monthly consumption of electricity in a certain town. 4. The monthly total passengers carried bay a train. 5. The quarterly sales of a certain fertilizer. 6. The annual rainfall at a place for a number of years. 7. The students enrolment of a college over a number of years.

2 Application Time Series Analysis is used for many applications such as: Economic ForecastingSales Forecasting Budgetary AnalysisStock Market Analysis Yield ProjectionsProcess and Quality Control Inventory StudiesWorkload Projections Utility StudiesCensus Analysis and many, many more...

3 Components of a time series There are four components of a time series: 1. The trend 2. The cyclical variation 3. The seasonal variation and 4. The irregular variation. Secular trend The smooth long-term direction of a time series. The long-term trends of sales, employment, stock prices and other business and economic series follow various patterns. Some move steadily upward, others decline, and still others stay the same over time.

4 Example: Wheat production of Chittagong district from 1991 to 1995. Year19911992199319941995 Production (M. ton) 2022252632

5 Example: Number of officers in Sonali bank from 1985 to 1990. Year198519861987198819891990 Officer1000700500400300

6 Cyclical variation A typical business cycle consists of a period of prosperity followed by periods of recession, depression, and then recovery. In a recession, for example, employment, production, the Dow Jones Industrial Average, and many other business and economic series are below the long term trend lines. Conversely, in periods of prosperity they are above their long- term trend lines. Example: Following figure shows the number of batteries sold by National Battery Sales, Inc. from 1988 to 2005. The cyclical nature of business is highlighted.

7

8 Seasonal variation Patterns of change in a time series within a year. These patterns tend to repeat themselves each year. The unit of time reported is either quarterly or monthly. Example: Men’s and boy’s clothing have extremely high sales just prior to Eid-ul-fitr and relatively low sales after it. Example: Following figure shows the quarterly sales, in millions dollars, of a sporting goods company that specializes in selling baseball and softball equipment for high schools, colleges and youth leagues. There is a distinct seasonal pattern to their business. Most of the sales are in the first and second quarters of the of the year, when schools and organizations are purchasing equipment for the upcoming season.

9

10 Irregular variation The irregular variations occur in a completely unpredictable manner as they are caused by some unusual events such as floods, droughts, strikes, fires, earthquakes, wars and political events and so forth. Example: Monthly Value of Building Approvals, Australian Capital Territory (ACT).

11 Measures of trend To measure a trend which can be represented by a straight line or some type of smooth curve, the following methods are used: 1. Freehand curve 2. Semi average method 3. Moving average method and 4. Method of least squares Freehand curve Plot the given data on a graph paper and join the plotted points by segments of straight line. Draw a straight line freehand passing through the plotted points in a way such that the general direction of change in values is indicated.

12 Example: Export quantity in ton of a food from 1971 to 1978: Year19711972197319741975197619771978 Export(ton)70901037585115120130

13 Semi average method Divide the values in the series into two equal parts. Find the average values of each part and place the average values against the respective mid points of the two parts. Plot these two average values on the graph of the original values and draw a straight line connecting the two points and extend the line to cover the whole series. Example: Export (Lac ton) information of Bangladesh from 1990 to 1998:

14 YearExportTotalAverage 1990100 1991110 1991.5485121.25 1992125 1993150 1994130 1995135 1996160 1996.5600150 1997145 1998160

15

16 Moving average method The moving average method is not only useful in smoothing a time series to see its trend, it is the basic method used in measuring the seasonal fluctuation. The moving average only smooths the fluctuations in the data. This is accomplished by ‘moving’ the average values through the time series. The k period moving averages are defined as the averages calculated using the k consecutive values of the observed series. Each k period moving average is placed against the middle of its time period. These average values are plotted on the graph of the original values and the line connecting these points is the moving average trend.

17 Example: From the information below draw a 3-year moving average trend. YearExport3-year total 3-year average 19739 1974103110.3 1975123311 1976114013.3 1977174414.7 1978165317.7 1978205719 198021

18

19 Exercise 1: From the information below draw 4-year moving average trend. YearExport4-year mid average4-year average 198252 198363 67 19847570.75 74.5 19857877.87 81.25 19868283.75 86.25 19879089 91.75 198895 1989100

20 Method of least squares A trend can be represented by a mathematical equation of the form of a straight line. The straight line equation can be represented by y’ is the projected value of y and y is the time series variable. a is the y intercept. It is the estimated value when x=0. b is the slope of the line, or the average change in y. x is the value of time. If we can convert x is such a way that the sum of converted x is zero, then the value of a and b can be estimated as:

21 Example: From the information below using least square method draw the trend. Year (X) Produc tion (y) xxyy’ 198527-4-1081625.58 198629-3-87926.63 198730-2-60427.68 198824-24128.73 19892800029.78 1990251 130.83 199134268431.88 1992353105932.93 19933641441633.98 Total26806360268

22

23 Exercise 2: From the information below draw a trend using least square method. Year (X) Produc tion (y) xxyy’ 1988800-7-560049743.74 1989750-5-375025730.35 1990800-3-24009716.96 1991550-5501703.57 19926001 1690.18 1993650319509676.78 19946755337525663.40 19957507525049650.00 Total55750-11251685574.98

24


Download ppt "Time Series Analysis A time series is a collection of data recorded over a period of time – weekly, monthly, quarterly or yearly. Examples: 1. The hourly."

Similar presentations


Ads by Google