Dear Stata Users,
I want to create a Code that creates a Correlate in the variable (mean_price) by pair of countries, industries, and quarters.
So I don't mind collapsing the data below to be by quarters, including pair of countries and one new variable correlate.
In other words, i need this data to be converted as in figure 2
figure 1

figure 2
I want to create a Code that creates a Correlate in the variable (mean_price) by pair of countries, industries, and quarters.
So I don't mind collapsing the data below to be by quarters, including pair of countries and one new variable correlate.
In other words, i need this data to be converted as in figure 2
figure 1
figure 2

Comment