Hello,
I am trying to re-create a graph in Stata.
I want to plot the median change in financial constraints by year and tercile of total assets and operating cash flow. Also, I want to mark the recession periods in the graph.
I have attached a picture of the graph I want to plot.
I am using Stata 17, windows. My data consists of 2500 manufacturing firms ranging from a period of 1996 - 2022. I am using the financial constraints measured by the SFA Index. The index has a value of 0 -1. I also constructed a recession dummy with a value of 1 for the recession period and 0 otherwise.
The research paper I am referring to is Christodoulou, D., Ho, S., & Prokhorov, A. (2022). The evolution of financial constraints. European Financial Management, 28(1), 233-259 (figure 4).
I tried twoway (spike median_change if size_tercile == 1 & ocf_tercile == 1 ) command. But I need to plot all 9 figures together.
How can I pot this figure in Stata?
I am trying to re-create a graph in Stata.
I want to plot the median change in financial constraints by year and tercile of total assets and operating cash flow. Also, I want to mark the recession periods in the graph.
I have attached a picture of the graph I want to plot.
I am using Stata 17, windows. My data consists of 2500 manufacturing firms ranging from a period of 1996 - 2022. I am using the financial constraints measured by the SFA Index. The index has a value of 0 -1. I also constructed a recession dummy with a value of 1 for the recession period and 0 otherwise.
The research paper I am referring to is Christodoulou, D., Ho, S., & Prokhorov, A. (2022). The evolution of financial constraints. European Financial Management, 28(1), 233-259 (figure 4).
I tried twoway (spike median_change if size_tercile == 1 & ocf_tercile == 1 ) command. But I need to plot all 9 figures together.
How can I pot this figure in Stata?