Dear Statalisters, I would like to find out whether it is possible to select the specific column(s) to be produced in the correlation matrix output. Supposedly:
Code:
estpost correlate var1-var20, matrix
The output I'm looking for is vertically it will still consist of all variables listed (var1 to var20), but for horizontally, I would like to handpick which column order to be produced (i.e. var1 to var5) so then I can make separate
esttab outputs after arranging the variables included in a specific order/sequence. The table layout will look something like this:
First Sequence:
Code:
Variables | var1 | var2 | var3 | var4 | var5
var1
var2
var3
var4
var5
var6
var7
var8
var9
var10
var11
var12
var13
var14
var15
var16
var17
var18
var19
var20
Second Sequence:
Code:
Variables | var6 | var7 | var8 | var9 | var10
var6
var7
var8
var9
var10
var11
var12
var13
var14
var15
var16
var17
var18
var19
var20
Third Sequence:
Code:
Variables | var11 | var12 | var13 | var14 | var15
var11
var12
var13
var14
var15
var16
var17
var18
var19
var20
Fourth Sequence:
Code:
Variables | var16 | var17 | var18 | var19 | var20
var16
var17
var18
var19
var20
My apologies for using the code delimiter to outline the table output. Obviously it is not a sequence of codes, but I hope you understand I am trying to describe the correlation output table that I would like to very much produced. Any help will be much appreciated. Thank you so much and cheers!
Best,
Nampuna
0 Response to How to adjust (select or handpick) correlation matrix column(s) output to be esttab after estpost correlation table?
Post a Comment