Hi,

I would like to find if there is a correlation between Compost and Recycling rates in each local authority in my data, simply whether local authorities that recycle more also compost more.

However there are seasonal trends that may mask these effects, I have posted a graph of the time average of my data. I am using panel data for twenty quarters.

Is there a way to calculate -pwcorr- and also control for quarterly effects?

As you can see when compost rates are at their highest recycling rates are at their lowest?

Thank You
Array