Hello,
I'd like to present ttest mean comparisons with histograms instead of the standard table given by the command.
Basically, I'm thinking about something like the graph in the link where, for multiple samples, I could easily show the significant differences and p-values.
To be more precise, let's say I want to make a two sample using groups (lang on one hand, public on the other hand) mean-comparison of the variable gtrust and to present the results with a chart similar to the one in the link.
Some people told me there exists such a command but I cannot find it. Otherwise, do you have any idea on how to produce such a chart?
Thank you.
[CODE]
* Example generated by -dataex-. To install: ssc install dataex
clear
input byte gtrust float(lang public)
6 1 0
3 1 0
5 1 0
. 1 0
4 1 0
3 1 0
6 1 1
. 1 0
8 1 1
4 1 1
. 1 0
6 1 1
4 1 0
I'd like to present ttest mean comparisons with histograms instead of the standard table given by the command.
Basically, I'm thinking about something like the graph in the link where, for multiple samples, I could easily show the significant differences and p-values.
To be more precise, let's say I want to make a two sample using groups (lang on one hand, public on the other hand) mean-comparison of the variable gtrust and to present the results with a chart similar to the one in the link.
Some people told me there exists such a command but I cannot find it. Otherwise, do you have any idea on how to produce such a chart?
Thank you.
[CODE]
* Example generated by -dataex-. To install: ssc install dataex
clear
input byte gtrust float(lang public)
6 1 0
3 1 0
5 1 0
. 1 0
4 1 0
3 1 0
6 1 1
. 1 0
8 1 1
4 1 1
. 1 0
6 1 1
4 1 0
Comment