Hi all,
I am working on some crosstabs to find associations between variables.
v1 is the outcome variable and v2 is a binary (0=no to a policy 1=yes to a policy).
I use the command:
I then present the output in the bar chart presenting the mean of v1 on two bars, based on no policy and yes to the policy.
For each bar I also want to include the significance. If I use ttest v1, by (v2) I get one significance value.
How would one run 2 ttests for the relationship between v1 and v2=no and v1 and v2=yes.
This way I can insert significance ** on each bar if my charts.
I have to run this for about 62 different policies (so v2 would change).
Thanks
I am working on some crosstabs to find associations between variables.
v1 is the outcome variable and v2 is a binary (0=no to a policy 1=yes to a policy).
I use the command:
HTML Code:
tab v1 v2
For each bar I also want to include the significance. If I use ttest v1, by (v2) I get one significance value.
How would one run 2 ttests for the relationship between v1 and v2=no and v1 and v2=yes.
This way I can insert significance ** on each bar if my charts.
I have to run this for about 62 different policies (so v2 would change).
Thanks
Comment