Category: SAS

Solve “A Puzzle for Pirates” with SAS

This article introduces how to solve the pirate game with a recursive solving algorithm in SAS, and how to analyze and visualize the law behind the complex logic of the pirate game. If you join in a pirate game next time, you can know your destiny ahead of time to reap the benefits and avoid getting killed.

Solve “A Puzzle for Pirates” with SAS was published on SAS Users.

Solve “A Puzzle for Pirates” with SAS

This article introduces how to solve the pirate game with a recursive solving algorithm in SAS, and how to analyze and visualize the law behind the complex logic of the pirate game. If you join in a pirate game next time, you can know your destiny ahead of time to reap the benefits and avoid getting killed.

Solve “A Puzzle for Pirates” with SAS was published on SAS Users.

How to use the SAS Auto Call facility

Many SAS programmers use macros. I have seen students in my SAS classes use several methods to activate their macros. One way is to load the macro in the Display manager or editor in SAS OnDemand for Academics and submit it. Another technique is to use the statement %Include macro-name. […]

How to use the SAS Auto Call facility was published on SAS Users.

Jedi SAS Tricks: GIT my macros

I use macros extensively in my SAS programs, and over the years have accumulated a few that I find quite useful. The integration of GIT and SAS Studio has made it easy to build a re-usable macro library, so I’ve put some of the more polished macros I’ve written in […]

Jedi SAS Tricks: GIT my macros was published on SAS Users.

Two macros for detecting data errors

Last year, I wrote a blog demonstrating how to use the %Auto_Outliers macro to automatically identify possible data errors. This blog demonstrates a different approach—one that is useful for variables for which you can identify reasonable ranges of values for each variable. For example, you would not expect resting heart […]

Two macros for detecting data errors was published on SAS Users.

Getting Started with Python Integration to SAS® Viya® – Part 6 – Descriptive Statistics

Welcome to the sixth installment in my series Getting Started with Python Integration to SAS Viya. In previous posts, I discussed how to connect to the CAS server, how to execute CAS actions, and how to work with the results. Now it’s time to generate simple descriptive statistics of a CAS table. Let’s begin […]

Getting Started with Python Integration to SAS® Viya® – Part 6 – Descriptive Statistics was published on SAS Users.

Getting Started with Python Integration to SAS® Viya® – Part 6 – Descriptive Statistics

Welcome to the sixth installment in my series Getting Started with Python Integration to SAS Viya. In previous posts, I discussed how to connect to the CAS server, how to execute CAS actions, and how to work with the results. Now it’s time to generate simple descriptive statistics of a CAS table. Let’s begin […]

Getting Started with Python Integration to SAS® Viya® – Part 6 – Descriptive Statistics was published on SAS Users.