Hi
Is there a way to prepare a graph that shows a binary variable (recession having 0 and 1) as bars, and a continuous variable (GDP) as a time series in one graph>
Something similar to :
The previous code shows an error message : twoway is not a twoway plot type
Thanks
Is there a way to prepare a graph that shows a binary variable (recession having 0 and 1) as bars, and a continuous variable (GDP) as a time series in one graph>
Something similar to :
Code:
twoway (scatter GDP quarter, connect(l) sort)(twoway bar US_recession quarter)
Thanks
Comment