calculation for each observation

  • Thread starter Thread starter hba2pd
  • Start date Start date
H

hba2pd

Hello,

Suppose I have a table which record the income for each people in each
area

area income
1 100
2 70
2 60

I would like to (1) count the number of people in each area and (2)
average income

area number of people average income
1 1 85
2 2 60

Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top