Introductory Stata 44: Graphs For Two Categorical Variables (Stacked bar chart)

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 5

  • @Youtuber_user13
    @Youtuber_user13 5 месяцев назад

    Thanks a lot Dr Bob. Been trying for hours and you solved it for me in less than one minute. I appreciate it 😊

  • @alessiapierno825
    @alessiapierno825 5 месяцев назад

    Thank you Dr. Bob, i've been trying to do this for hours!!!

  • @bengrant6704
    @bengrant6704 Год назад

    Thank you very much Dr Bob.

  • @helenb8070
    @helenb8070 2 года назад +1

    Thank you for your video which I found very clear.
    If you have time I have a question please.
    I wondered if you could explain how the Y axis the label is "percent"
    This happens even before we specify percentage, using:
    graph bar, over (cat_var_1) over (cat_var_2) stack asyvars
    Is this percentage the total observations in the whole set? Is there any way to make this frequency, please?
    Thank you again

    • @helenb8070
      @helenb8070 2 года назад +1

      If anyone needs this just use (count) as shown below
      graph bar (count), over(health) over(agegroup) stack asyvars