Learn R Programming

desk (version 1.1.2)

data.macro: Macroeconomic Data from Germany

Description

This is a (time series) data set on macroeconomic data from Germany covering 129 consecutive quarters (Q1 1990 -- Q1 2023).

Usage

data.macro

Arguments

Format

A data frame with 129 observations on the following seven variables:

quarteridentifies the time period in combination with year.
yearidentifies the time period in combination with quarter.
consumpprivate consumption in the observed quarter.
investgross investment in the observed quarter.
govgovernment expenditure in the observed quarter.
netexnet exports (exports - imports) in the observed quarter.
gdpgross domestic product in the observed quarter.

Details

These National Accounts data are measured in real quantities (billions of chained 2015 Euros) and are calendar and seasonally-adjusted (method: X13 JDemetra+). Theoretically, private consumption, gross investment, government expenditure, and net exports should exactly sum up to the gross domestic product. However, in practice, there are often some minor discrepancies in the data. As a result, for didactical purposes, we calculated gross investment as residuals rather than using the actual data.

References

Auer, L.v., Hoffmann, S. & Kranz, T. (2024): Ökonometrie - Das R-Arbeitsbuch, 2nd ed., Springer-Gabler (https://www.oekonometrie-lernen.de).