I would like to get the following table for my summarized statistics. However, I don't know the right code to get the right column with p-value for difference.
Array
I'm using the following code so far:
Code:
by lobby: eststo: quietly estpost tabstat lev-ceocob , stat(mean median sd) col(stat) eststo: quietly estpost ttest lev-ceocob, by(lobby) esttab, cells ("mean(fmt(3)) p50(fmt(3)) sd(fmt(3))") esttab using Tabel2.rtf, noobs cells("mu_2 mu_1 b(star)") label replace
Is there anyone who could help me? Thanks in advance!
0 Response to Summarized Statistics Table with t-test for difference in means
Post a Comment