Dear statalist users,
I've got a dataset where that I have made quantiles (10) for variable Y.
I know how to summarize my x variables for the top and bottom quantile. I use sum x1 x2 x3 if quantile_y==1 and sum x1 x2 x3 if quantile_y==10.
Now I'd like to perform a test whether the mean x is significantly different in quantile 1 of Y versus quantile 10 of Y.
I cannot figure out how to do this, could someone explain to me which commands to use for this?
Kind regards,
Niels
I've got a dataset where that I have made quantiles (10) for variable Y.
I know how to summarize my x variables for the top and bottom quantile. I use sum x1 x2 x3 if quantile_y==1 and sum x1 x2 x3 if quantile_y==10.
Now I'd like to perform a test whether the mean x is significantly different in quantile 1 of Y versus quantile 10 of Y.
I cannot figure out how to do this, could someone explain to me which commands to use for this?
Kind regards,
Niels
Comment