How to create a column and sum rows and group by id
Hello @Hope18,
Your question requires more details before experts can help. Can you revise your question to include more information?
Review this checklist:
To edit your original message, select the "blue gear" icon at the top of the message and select Edit Message. From there you can adjust the title and add more details to the body of the message. Or, simply reply to this message with any additional information you can supply.
SAS experts are eager to help -- help them by providing as much detail as you can.
This prewritten response was triggered for you by fellow SAS Support Communities member @PGStats
.I am calculating the adult equivalency for each household and would like to find the total value for all the members of the household.
https://github.com/statgeek/SAS-Tutorials/blob/master/proc_means_basic.sas
Use PROC MEANS. See the documentation for details.
Vague questions get vague answers. If you want example code, you need to provide example data.
Good Luck.
@Hope18 wrote:
I am calculating the adult equivalency for each household and would like to find the total value for all the members of the household.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.