Announcement

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

  • equivalent of averageif

    Hello,
    I am quite new at stata so please forgive the trivial question!
    I am working in a dataset containing household data (multiples individuals within each household responded to the questionnairs)
    I want to compare the individual scores to that of their household.
    How would I go about generating a new variable that is the average of scoreA for all individuals with the same household ID?

    Thank you


    Alix

  • #2
    sorry, duplicate posts

    Comment


    • #3
      This doesn't appear to be about Mata at all. Please post in General.

      Comment

      Working...
      X