Skip to content

SAS Example Code

Examples, Tips & Tricks

  • How To’s
  • Functions
  • Statements
  • Formats
  • Macros
  • Data Visualisation
  • About

Category: SAS How To’s

How to Select Variables with the KEEP & DROP Option
SAS How To's

How to Select Variables with the KEEP & DROP Option

In this article, we discuss how to select and remove variables in SAS with the KEEP and DROP option. We…
06/12/202018/06/2021 SAS Example Code
How to Calculate the Cumulative Sum by Group in SAS
SAS How To's

How to Calculate the Cumulative Sum by Group in SAS

In this article, we discuss how to calculate the cumulative sum and the cumulative sum per group in SAS. We…
03/12/202009/12/2020 SAS Example Code
How to Select the First Row of a Group in SAS
SAS How To's

How to Select the First Row of a Group in SAS

In this article, we demonstrate how to select the first row by group from a SAS data set. We also…
29/11/202002/10/2022 SAS Example Code
How to Round Numbers in SAS
SAS Functions SAS How To's

How to Round Numbers in SAS

In this article, we discuss rounding in SAS. We demonstrate how to round to the nearest whole number and to…
29/11/202024/10/2020 SAS Example Code
How to Select the First N Rows in SAS
SAS How To's

How to Select the First N Rows in SAS

In this article, we discuss how to select the first N rows in SAS. Also, we show how to select…
22/11/202010/07/2021 SAS Example Code

Posts navigation

Older Posts
Newer Posts

Search

  • How To’s
  • Functions
  • Statements
  • Formats
  • Macros
  • Data Visualisation
  • About
  • Privacy Policy
  • Advertise
WordPress Theme: BlogGrid by TwoPoints.