Good morning everyone,
I am having some problems with creating an "elegant" descriptive statics table for my analysis to put in my thesis.
I have a panel data set (in long format), and I would like to make a preliminary summary statistics table, containing the mean, standard deviation and min and max of my main variables, by wave. For instance I would need to have a table with variables on the rows, and statistics as columns, and also have them separated by waves, but column-wise.
I have used the following command:
tabstat lfsato selfesteem unemployed satHEALTH satINCOME satSOCIAL satLEISURE age age2 redundant fired retired startschool, stat(mean sd min max) col(stat) by(wave) long
but the output is divided by wave, as separate "rows" (I have uploaded my table - Fig 1.docx)
What I would like to obtain is instead something of the kind - see second attachment "example table"
Thank you,
Giulia Slater
I am having some problems with creating an "elegant" descriptive statics table for my analysis to put in my thesis.
I have a panel data set (in long format), and I would like to make a preliminary summary statistics table, containing the mean, standard deviation and min and max of my main variables, by wave. For instance I would need to have a table with variables on the rows, and statistics as columns, and also have them separated by waves, but column-wise.
I have used the following command:
tabstat lfsato selfesteem unemployed satHEALTH satINCOME satSOCIAL satLEISURE age age2 redundant fired retired startschool, stat(mean sd min max) col(stat) by(wave) long
but the output is divided by wave, as separate "rows" (I have uploaded my table - Fig 1.docx)
What I would like to obtain is instead something of the kind - see second attachment "example table"
Thank you,
Giulia Slater
Comment