Announcement

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

  • Question analysing data - counting different values of variables if another variable has a set value

    Hi there
    I have a Dataset of lots of observations (People) with lots of variables.
    For example I have a variable that determines a nationality and a dummy if they have a certain treat. Now I'd like to know how many people from each country (so not only the number of observations but the number for each country) are in the set with this dummy at 1.

    Thanks for any help, I haven't used Stata a lot.

  • #2
    I'm not entirely sure I understand what you want. But is it this?
    Code:
    tab country if dummy == 1

    Comment

    Working...
    X