Hi
I have a panel dataset with T=46 and N=302
I want to generate a figure that presents binned scatterplots (100 bins) for variations in two variables (namely rainfall and output). To outline the effect of rainfall on output I want to include Locally Weighted Scatterplot Smoothing (LOWESS) and linear spline fitted values generated using the full dataset.
The figure that I am trying to replicate is included below. It is included in the study that I am following.
Thankyou
Comment