Analyze the change in average monthly wage (real) and consumer price index (CPI) in South Korea - Python Visualization

월평균 임금과 CPI 추이 이미지
(Average monthly wage and CPI trend in South Korea)

"My paycheck seems to be stagnant." I'm sure many of you have felt this way, but let's take a look to see if it really is. Average monthly wages (in real terms) and CPI are important indicators of our real purchasing power.

In this post, we'll analyze the evolution of the South Korean economy with data from 2011 to 2023, and use Python visualizations to help you understand it at a glance. In particular, we'll provide insights into how the average monthly wage has changed with inflation.

Data overview

Average monthly wage (real) and consumer price index data by year

YearAverage monthly wage (real, in thousands)Consumer Price Index
20112,90276.081
20122,98891.815
20133,05093.010
20143,08394.196
20153,15394.861
20163,24295.783
20173,28497.645
20183,40799.086
20193,50999.466
20203,527100.000
20213,599102.500
20223,592107.720
20233,554111.590

Glossary

Average monthly wage (real)

  • Definition: The CPI-adjusted real amount of a wage earner's gross monthly wages
  • Unit: thousand won
  • Meaning: Represents real purchasing power after accounting for inflationary changes

Consumer Price Index (CPI)

  • Definition: An index of price changes for goods and services purchased by consumers.
  • Baseline: 2020 = 100
  • What it means: An indicator that measures changes in the price level

Data sources

Major changes to this metric

1. change in average monthly wages (real)

  • It started at $2,902 in 2011 and peaked at $3,599 in 2021.
  • However, it decreases slightly from 2022 onward, reaching 3,554 KRW in 2023, about 38 KRW less than the previous year.
  • This is interpreted as the result of inflation exceeding real wage growth.

2. an increase in CPI

  • The CPI started at 76.081 in 2011 and rose steadily every year until it reached 111.59 in 2023.
  • Inflation has increased steeply, especially since 2020, which has had a significant impact on people's cost of living.
소비자물가지수 참고 이미지
(CPI reference image)

Visualize analytics results insights

1. correlation between real wages and inflation

The Python visualization shows that while the average monthly wage (real) has been growing steadily, the CPI has been rising faster, meaning that people's real purchasing power has decreased. For example,

  • 2020 to 2023: CPI rose by about 11.591 TP3T, but real wages actually fell.
  • These trends show that nominal wage increases do not translate into real purchasing power gains in the face of high inflation.

2. Policy implications

  • Wage policies: A policy of real wage preservation that accounts for inflation is needed.
  • Price stabilization: The continuous rise in CPI is increasing the cost of living burden on the people and requires active measures from the government.
  • Inflation is especially hard on low-income people, so it's important to have support in place.

3. Make data-driven decisions

With average monthly wage and CPI data, you can make the following decisions

  • Companies need to adjust nominal wages to maintain the real purchasing power of their employees.
  • Governments should strengthen policy design to stabilize prices and reduce income inequality.

Python visualization code

The code below visualizes the change in average monthly wages (real) and CPI. Running the code below will generate the graph at the beginning of this post.

# Improved version to avoid overlapping labels and use distinct colors for clarity
import matplotlib.pyplot as plt
import pandas as pd

# Prepare data
data = {'Year': [2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023],
        'Average Monthly Wage (Real)': [2902, 2988, 3050, 3083, 3153, 3242, 3284, 3407, 3509, 3527, 3599, 3592, 3554],
        'Consumer Price Index': [76.081, 91.815, 93.01, 94.196, 94.861, 95.783, 97.645,
                                 99.086,99.466,100,102.5,107.72,111.59]}

df = pd.DataFrame(data)

# Visualization setup
fig, ax1 = plt.subplots(figsize=(12,7))

# Bar plot for Average Monthly Wage (Real)
bars = ax1.bar(df['Year'], df['Average Monthly Wage (Real)'], color='royalblue', label='Average Monthly Wage (Real)')

# Adding labels to the bar plot with a slight offset and color matching
for bar in bars:
    yval = bar.get_height()
    ax1.text(bar.get_x() + bar.get_width()/2., yval + 50,
             f'{yval}', ha='center', va='bottom', color='royalblue')

ax1.set_ylabel('Average Monthly Wage (Real) (K₩)', color='royalblue')

# Line plot for Consumer Price Index
ax2 = ax1.twinx()
line = ax2.plot(df['Year'], df['Consumer Price Index'], color='darkred', marker='o', label='Consumer Price Index')

# Adding labels to the line plot with a slight offset and color matching
for i,value in enumerate(df['Consumer Price Index']):
    ax2.text(df['Year'][i], value + .5,
             f'{value:.2f}', ha='center', va='bottom', color='darkred')

ax2.set_ylabel('Consumer Price Index', color='darkred')

# Title and layout adjustments for better spacing
plt.title('Average Monthly Wage (Real) and Consumer Price Index Trend')
plt.tight_layout()
plt.show()

# Code Details

Prepare your data

data = {'Year': [...], 'Average Monthly Wage (Real)': [...], 'Consumer Price Index': [...]}
df = pd.DataFrame(data)
  • data Store yearly data in a dictionary and call it pandas Convert to a dataframe.

Visualization settings

fig, ax1 = plt.subplots(figsize=(12,7))
  • figsizeto set the graph size and ax1 object.

Create a bar graph

bars = ax1.bar(df['Year'], df['Average Monthly Wage (Real)'], ...)
  • Generates a bar graph and uses the royalblue Use color to make it more readable.

Create a line graph

line = ax2.plot(df['Year'], df['Consumer Price Index'], ...)
  • Creates a line graph that shares the same x-axis and uses the darkred Use color to differentiate.

Add a label

for bar in bars:
    yval = bar.get_height()
    ax1.text(...)
  • Display values over bars and lines to communicate data intuitively.

Organize

1. Trends in average monthly wages (real)

  • Steady increase from 2011 to 2021, but slight decline in the last two years
  • 3,554 in 2023, a decrease of approximately 1.251 TP3T compared to 2021

2. Changes in CPI

  • Steady rise since 2011, especially steep increase since 2020
  • 111.59 in 2023, up about 11.591 TP3T from 2020

3. Change in real purchasing power

  • Recent inflation exceeds real wage growth, reducing people's real purchasing power
  • This can lead to increased financial burden and decreased quality of life

3. Policy implications

  • Highlighting the importance of price stabilization policies
  • Rethinking pay policies to preserve real wages
  • Calls for more targeted support policies for low-income populations

4. The importance of data-driven decision making

  • Need for continuous monitoring and analysis of economic indicators
  • Business and government working together to achieve balanced economic growth

This analysis allows us to better understand the impact of changes in average monthly wages and prices on people's real quality of life. Korea is hurting, but I believe we can overcome this crisis. Regardless, we will need to continue to pay attention to and analyze these economic indicators as we move forward to restore normalcy.

As a reminder, it's the people that drive the economy. If you're wondering what South Korea's population is going to be, check out Trends in total fertility rates and changes in perceptions of marital fertility: Visualize in R post for more information.

Similar Posts