e tc 5 5 1 2 : wi l d c a u g h t d a t a · week 3 macroeconomic data lecturer: didier nibbering...

47
ETC5512: Wild Caught Data ETC5512: Wild Caught Data Week 3 Week 3 Macroeconomic data Lecturer: Didier Nibbering Department of Econometrics and Business Statistics [email protected]

Upload: others

Post on 01-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

ETC5512: Wild Caught DataETC5512: Wild Caught DataWeek 3Week 3

Macroeconomic data

Lecturer: Didier NibberingDepartment of Econometrics and Business Statistics

[email protected]

Page 2: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Macroeconomic data

Macroeconomic data dominates the news

Everyone affected by interest, exchange, and in�ation rates

Data helps voters and governments understand challenges

2/47

Page 3: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Macroeconomic data Survey of Professional Forecasters

https://www.philadelphiafed.org/research-and-data/real-time-center/survey-of-professional-forecasters

Real-time Data Set for Macroeconomisthttps://www.philadelphiafed.org/research-and-data/real-time-center/real-time-data

Federal Reserve Economic Data databasehttps://research.stlouisfed.org/econ/mccracken/fred-databases/

3/47

Page 4: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Macroeconomic data

Gross Domestic Product

Consumper Price Index

Unemployment rate

4/47

Page 5: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Macroeconomic dataMacroeconomics is the study of aggregate behavior

How do we measure "the economy as a whole?"

Aggregrate micro data into macro data

From price of a coffee to price in the whole economy

5/47

Page 6: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Macroeconomic dataAggregration

Proseasier to look at one number than millionscomparability across nations/times

Cons throwing away informationeasy to miss important details

6/47

Page 7: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Macroeconomic dataAggregration

Output measuresGDP

Price measuresCPI

Input measuresUnemployment

7/47

Page 8: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Output measuresTwo major measures of total output in the economy

Gross Domestic Product (GDP)Total value of goods and services producedin the country in a certain period of time

Gross National Product (GNP)Total value of goods and services producedby nationals of the country in a certain period of time

8/47

Page 9: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Output measures

Suppose we had the following production process:

Farmer Miller Baker Consumer

We only count the dollar value of the end use (cake) in GDP.

− →−−−Wheat

− →−−Flour

− →−−Cake

9/47

Page 10: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Output measuresWe can construct nominal GDP as

where

price of good in period

quantity of good in period

GD = ×Pt ∑i pit qit

=pit i t

=qit i t

10/47

Page 11: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Output measures

GDP higher so people are better off on average?

Only prices increased.

Look at real activity, not just at price adjustments.

11/47

Page 12: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Output measures

Real GDP �xes prices at a base year:

where

price of good in a �xed base year

GD = ×Pt ∑i pib qit

=pib i b

12/47

Page 13: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Output measures Nominal GDP

https://fred.stlouisfed.org/graph/?g=qgx3

Real GDPhttps://fred.stlouisfed.org/graph/?g=qgx4

13/47

Page 14: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Output measures

Components of GDP

GDP = Consumption + Investment

+ Gov Spending + Net Exports

14/47

Page 15: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Output measures Consumption

https://fred.stlouisfed.org/graph/?g=qgx7

Investmenthttps://fred.stlouisfed.org/graph/?g=qgx9

Government spendinghttps://fred.stlouisfed.org/graph/?g=qgxa

Net exportshttps://fred.stlouisfed.org/graph/?g=qgxb 15/47

Page 16: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Output measures

Problems real GDP:

Compare output 1960 to output 2020 with 1960 as base year

Goods that exist in 2020 may not have existed in 1960.

Ignores quality changes over time, may show up in prices.

People substitute away from relatively high priced goods.

16/47

Page 17: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Price measures

Macroeconomics cares about consumption, not prices

Level of the price does not matter

However, we do care about in�ation

17/47

Page 18: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Price measures

In�ation: increase in the level of prices

Important because:

Bond holders get paid �xed coupons

Workers have annual salaries

Hyperin�ation affects incentives

18/47

Page 19: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Price measures Nominal wages

https://fred.stlouisfed.org/graph/?g=qgxf

Real wageshttps://fred.stlouisfed.org/graph/?g=qgxg

19/47

Page 20: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Price measuresMost commonly used price index is the Consumer Price Index

Weighted average prices that household faces, weighted by the consumption share of each item

Build ``basket of goods" that households consume (e.g. healthcare, food, gas, video games, etc.) and track price of that basket over time

20/47

Page 21: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Price measuresLimitations

Substitution

Rich and poor people face different in�ation rates

Generally misses sectoral differences: healthcare prices skyrocketing, while food & gas volatile up and down

21/47

Page 22: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Input measures

Labor important input production

Labor income largest part of median person's income

22/47

Page 23: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Input measures

How do we measure labor?

Input to production? Hours and human capital matter

Worker well-being? Hours and wage matter

Aggregate measures can miss important distributionalconsiderations!

23/47

Page 24: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Input measures

Employment to population ratio

Unemployment rate: people unemployed over people in labor force

To be unemployed, you must not be working currently, andhave searched for a job at least once in the last 2 weeks

To be in the labor force, you must be employed orunemployed according to previous de�nition

24/47

Page 25: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Input measures Unemployment rate

https://fred.stlouisfed.org/graph/?g=qgxl

Employment to population ratiohttps://fred.stlouisfed.org/graph/?g=qgxmhttps://fred.stlouisfed.org/graph/?g=qgxn

25/47

Page 26: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Macroeconomic variables

Stock variablesA stock is a quantity measured at a point in time(investment)

Flow variablesA �ow is a quantity measured per unit of time (capital)

26/47

Page 27: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Macroeconomic variables

Economic index

Price or quantity compared with a base value

Time series summarising movements in a group of variables

Base equals 100, index number is 100 times ratio to base

27/47

Page 28: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Macroeconomic variables

Economic indices

S&P 500

Consumer price index

Big Mac Index

28/47

Page 29: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Economic indices S&P 500

https://fred.stlouisfed.org/graph/?g=qgxA Consumer price index

https://fred.stlouisfed.org/graph/?g=lGqc Big Mac Index

https://www.economist.com/news/2020/01/15/the-big-mac-index

29/47

Page 30: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Variable transformations

Change x(t) - x(t-1)

Change from Year Ago x(t) - x(t-n_obs_per_yr)

Percent Change ((x(t)/x(t-1)) - 1) x 100

Percent Change from Year Ago ((x(t)/x(t-n_obs_per_yr)) - 1) x 100

30/47

Page 31: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Variable transformations

Compounded Annual Rate of Change (((x(t)/x(t-1)) x (n_obs_per_yr)) - 1) x 100

Continuously Compounded Rate of Change (ln(x(t)) - ln(x(t-1))) x 100

Continuously Compounded Annual Rate of Change ((ln(x(t)) - ln(x(t-1))) x 100) x n_obs_per_yr

Natural Log ln(x(t))

31/47

Page 32: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Variable transformations Set units

https://alfred.stlouisfed.org/series/downloaddata?seid=INDPRO

32/47

Page 33: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Seasonal adjustments

Seasonal �uctuations may not re�ect economic conditionsAlways a spike in consumption spending around ChristmasSpikes in tourism around summer time

Statistical bodies adjust for seasonality for you

33/47

Page 34: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Seasonal adjustments Not Seasonally Adjusted

https://fred.stlouisfed.org/graph/?g=qgxN Seasonally Adjusted

https://fred.stlouisfed.org/graph/?g=mgw0

34/47

Page 35: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Database

An economic database consists of

economic data time series from scores of

national, international, public, and private sources.

FRED, Federal Reserve Economic Data, is a U.S. database

35/47

Page 36: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Revisions

Economic data for past observation periods are revised as more accurate estimates become available.

Revision: a change in value for any reference point of the time series for a statistic when released to the public by an o�cial national or supranational statistical agency.

36/47

Page 37: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Revisions

Government statistical agencies

Release early estimates

Over time better:SamplesWeightsMethodology

Release improved data

37/47

Page 38: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Revisions

1st month: incomplete sample

Next months: revisions based on more complete samples

After year: annual business reports and seasonal factors

5-10 years: methodological and base year revisions

38/47

Page 39: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Revisions 1st month: incomplete sample

https://alfred.stlouisfed.org/graph/?g=qgyq Next months: revisions based on more complete samples

https://alfred.stlouisfed.org/graph/?g=qgyn After year: annual business reports and seasonal factors

https://alfred.stlouisfed.org/graph/?g=qgyn 5-10 years: methodological and base year revisions

https://alfred.stlouisfed.org/graph/?g=qgyi

39/47

Page 40: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Vintage

Vintage the set of data for a given time series that represented thelatest estimate for each reference point in the time series at aparticular moment in time.

40/47

Page 41: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Vintage

Each column shows the data that one would observe if oneused a database at the date shown in the column header; wecall this the vintage date.

Each row represents the dates for which the economicactivity is measured.

41/47

Page 42: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Real-time Database

A real-time database is a collection of historical vintages of thesame time series, indexed by the date on which each vintagebecame available to the public.

ALFRED, ArchivaL Federal Reserve Economic Data, is acollection of vintage versions of U.S. economic data.

42/47

Page 43: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Vintages Vintage data

https://alfred.stlouisfed.org/series/downloaddata?seid=GDPC1

43/47

Page 44: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Forecasting

Use current database

Real-time forecasters do not have same data

Databases revised over time

44/47

Page 45: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

ForecastingForecasts in real-time vs forecasts using latest available data

Changes in the data affect the jumping-off point for forecasts

Effects on the estimated coe�cients of a model

Changes in the model speci�cation

Revisions source of forecast uncertainty

45/47

Page 46: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

Forecasting

Which vintage should be used to evaluate a set of forecasts?

Assume that a forecaster forecasts the �rst release?

Or forecaster is after some measure of "truth"?

46/47

Page 47: E TC 5 5 1 2 : Wi l d C a u g h t D a t a · Week 3 Macroeconomic data Lecturer: Didier Nibbering Depar tment of Econometrics and Business Statistics E TC5512.Clayton-x@monash.edu

That's it!

This work is licensed under a Creative CommonsAttribution-ShareAlike 4.0 International License.

Lecturer: Didier NibberingDepartment of Econometrics and Business Statistics

[email protected]