You have loaded a dataset of annual fundamental company data into memory. The dataset consists of the following variables (columns):
您已将年度基本面公司数据的数据集加载到内存中。数据集由以下变量(列)组成:
您已将年度基本面公司数据的数据集加载到内存中。数据集由以下变量(列)组成:
- gvkey: firm identifier gvkey:公司标识符
- assets_total: total book assets (in nominal terms)
assets_total:账面总资产(名义价值) - year: fiscal year year:会计年度
- cpi: Consumer Price Index (CPI) for the given year
CPI:指定年份的消费者价格指数 (CPI) - cpi2020: CPI for 2020 CPI 2020:2020 年 CPI
Your goal is to plot the time trend in inflation-adjusted firm size over time. Describe (in pseudo-code) the steps you would take to:
您的目标是绘制经通胀调整后的公司规模随时间变化的时间趋势。描述(以伪代码形式)您将采取的步骤:
- Process the data to account for inflation.
处理数据以考虑通货膨胀。 - Summarize firm size for each year (e.g., by averaging or aggregating values).
汇总每年的公司规模(例如,通过平均或聚合值)。 - Generate the desired plot.
生成所需的绘图。