Dear users,
I need to get summary statistics, such as the mean, of a variable according to quartiles of another variable.
For instance, I have the GDP at municipality level (continuous variable), and I would like to have the mean of another variable (say investments) according to quartiles of GDP.
I do not find any useful command.
Thanks for your help.
Adam
I need to get summary statistics, such as the mean, of a variable according to quartiles of another variable.
For instance, I have the GDP at municipality level (continuous variable), and I would like to have the mean of another variable (say investments) according to quartiles of GDP.
I do not find any useful command.
Thanks for your help.
Adam
Comment