Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cross Tab significant levels for charts

    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:
    HTML Code:
    tab v1 v2
    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

  • #2
    Maybe I'm missing something, but if v2=yes only, then there is no variance in v2. The ttest you ran tells you the difference in v1 based on the 2 values of v2. There is no difference in v2 if v2 doesn't differ.

    Comment

    Working...
    X