I have a dataset called A:
Count | Percent
0 | 0.05
2 | 0.15
5 | 0.20
How can I obtain a dataset called B, where Cumulative Percentage for Count = 5 is the Percentage for Count <= 5:
(p(Count = 0) + p(Count = 2) + p(Count = 5) = 0.05 + 0.15 + 0.2 = 0.4)
Count | Perenct | Cumulative Percent
0 | 0.05 | 0.05
2 | 0.15 | 0.20
5 | 0.20 | 0.40
... ... ...
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.