Tag: data step

How to evaluate SAS expression in DATA Step dynamically

In many programming languages, there is a function named eval() that can be used to evaluate an expression and return the result at run time. For example, in Python, the eval() function parses the expression passed to it and runs a Python expression or code within the program. Even Python […]

How to evaluate SAS expression in DATA Step dynamically was published on SAS Users.

Transform word vector tables from long to wide

In natural language processing, word vectors play a key role in making technologies such as machine translation and speech recognition possible. Let’s talk about how to transform word vector tables from long to wide in SAS, so we can potentially get sentence vectors to process further.

Transform word vector tables from long to wide was published on SAS Users.

Learn to Love SAS LIKE

In honor of Valentine’s day, we thought it would be fitting to present an excerpt from a paper about the LIKE operator because when you like something a lot, it may lead to love! If you want more, you can read the full paper “Like, Learn to Love SAS® Like” […]

Learn to Love SAS LIKE was published on SAS Users.

How to filter variables by percentage of missing values or duplicate values in SAS

This article discusses how to use SAS to filter variables in a dataset based on the percentage of missing values or duplicate values. The missing value statistics can be implemented by either DATA step programming on your own or reusing the existing powerful PROC FREQ.

How to filter variables by percentage of missing values or duplicate values in SAS was published on SAS Users.