Announcement

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

  • dummy variables graph

    Hi everyone,

    I want to plot four dummy variables i.e bbr er rr dr in one graph showing number of countries following bbr, er on the top of bar graph.
    these are policy variables for different countries

    data setup
    Country : id bbr er rr dr
    A 1 0 1 1 0
    B 2 1 1 0 0
    C 3 0 0 0 1

    Anyhelp would be appreciated, please forgive my ignorance im beginner in stata.
    Thanks in advance

  • #2
    Code:
    graph bar (sum) er rr dr

    Comment


    • #3


      Hi Nick, Thanks for your help , but this code is not giving me number of countries on top of bar. could you pls assist further in this? Thank

      Comment


      • #4
        .

        Comment


        • #5
          please look at
          Code:
          help blabel_option

          Comment

          Working...
          X