Skip to content

SAS Example Code

Examples, Tips & Tricks

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

Category: SAS Functions

SAS Functions SAS How To's

How to Use the INTNX Function in SAS [Examples]

In this article, we disucss how to use the INTNX function in SAS to manipulate dates.
08/10/202208/10/2022 SAS Example Code
How to Easily Calculate the Square Root in SAS [Examples]
SAS Functions SAS How To's

How to Easily Calculate the Square Root in SAS [Examples]

In this article, we show 2 methods of how to calculate the square root of a number (or macro variable).
09/10/202109/10/2021 SAS Example Code
How to Count the Number of Specific Characters in a SAS String
SAS Functions SAS How To's

How to Count the Number of Specific Characters in a SAS String

In this article, we discuss how to count the number of specific characters in a SAS string.
09/05/202109/05/2021 SAS Example Code
How to Convert a Datetime to a SAS Date Format
SAS Functions SAS How To's

How to Convert a Datetime to a SAS Date Format

You convert a SAS Datetime to a SAS Date variable with the DATEPART function. This function extracts the date from…
24/01/202122/05/2021 SAS Example Code
How to Find the Length of a Variable in SAS
SAS Functions SAS How To's

How to Find the Length of a Variable in SAS

In this article, we discuss how to find and change the length of a variable.
27/12/202014/11/2021 SAS Example Code

Posts navigation

Older Posts

Search

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