Top "Sas" questions

The SAS language is a 4GL that underpins the SAS system, a suite of products centered around data processing and statistical procedures.

Nested ifelse statement

I'm still learning how to translate a SAS code into R and I get warnings. I need to understand where …

r if-statement nested sas
SAS function for using 'power' / exponential

I may be missing something obvious, but how do you calculate 'powers' in SAS? Eg X squared, or Y cubed? …

sas exponent
sas date - convert today() into yyyymmdd format

How do I convert a SAS date such as "30JUL2009"d into YYYYMMDD format (eg 20090730)? So for instance: data _null_; …

date format sas
Efficiently convert a SAS dataset into a CSV

Can anyone tell me what is the fastest way to programmatically convert a SAS dataset into a CSV file. I …

csv sas
Limiting results in PROC SQL

I am trying to use PROC SQL to query a DB2 table with hundreds of millions of records. During the …

sas proc-sql
Large, persistent DataFrame in pandas

I am exploring switching to python and pandas as a long-time SAS user. However, when running some tests today, I …

python pandas sas
List only the column names of a dataset

I am working on SAS in UNIX env and I want to view only the column name of a dataset. …

sas
How to count the number of observations in a SAS table?

I am very new to SAS. Now, I have a SAS data table as following: ID score ------------------- 01 1 02 3 03 4 04 2 Is there …

statistics sas
How to delete blank observations in a data set in SAS

I want to delete ALL blank observations from a data set. I only know how to get rid of blanks …

sas
How to read variable names in a SAS data set?

Are there any statements\functions capable of get the name of variables? Preferrably putting them into a column of another …

variables sas