The Do Loop

Two simple ways to construct a log-likelihood function in SAS

Maximum likelihood estimation (MLE) is a powerful statistical technique that uses optimization techniques to fit parametric models. The technique finds the parameters that are “most likely” to have produced the observed data. SAS provides many tools for nonlinear optimization, so often the hardest part of maximum likelihood is writing down the log-likelihood function. This article… Continue reading Two simple ways to construct a log-likelihood function in SAS

SAS Users

The Self-Service Import in SAS Viya 3.2

In SAS Viya 3.2, the Self-Service Import provides a mechanism for a user to import (copy) data into the SAS Cloud Analytic Services (CAS) environment. The data is copied as a .sashdat file into the selected CAS Library location when it is imported. Self-Service Import data can only be imported into CAS libraries of type… Continue reading The Self-Service Import in SAS Viya 3.2

SAS Users

Securing sensitive data using SAS Federation Server data masking

SAS® Federation Server provides a central, virtual environment for administering and securing access to your data. It also allows you to combine data from multiple sources without moving or copying the data. SAS Federation Server Manager, a web-based application, is used to administer SAS Federation Server(s). Data privacy is a major concern for organizations and… Continue reading Securing sensitive data using SAS Federation Server data masking

SAS Users

Securing sensitive data using SAS Federation Server at the data source level

Data virtualization is an agile way to provide virtual views of data from multiple sources without moving the data. Think of data virtualization as an another arrow in your quiver in terms of how you approach combining data from different sources to augment your existing Extract, Transform and Load ETL batch processes. SAS® Federation Server… Continue reading Securing sensitive data using SAS Federation Server at the data source level

SAS Users

Securing sensitive data using SAS Federation Server at the row and column level

SAS® Federation Server provides a central, virtual environment for administering and securing access to your data. It also allows you to combine data from multiple sources without moving or copying the data. SAS Federation Server Manager, a web-based application, is used to administer SAS Federation Server(s). Data privacy is a major concern for organizations and… Continue reading Securing sensitive data using SAS Federation Server at the row and column level

SAS Users

Combine and conquer with SAS

The ancient political maxim “divide and conquer” (Lat. “dīvide et īmpera”) has been used for millennia in politics, sociology, and psychology, mainly to manipulate people. In the last two centuries, however, this principle has also been adopted by computer science. It is widely used in computer programming, primarily in computer algorithms such as binary search,… Continue reading Combine and conquer with SAS

The Do Loop

The IFN function versus the IF-THEN/ELSE statement in SAS

The canonical example is the LOG function, which is defined only for positive arguments. For example, to evaluate the LOG function on a sequence of (possibly non-positive) values, you can use the following IF-THEN/ELSE logic: data Log; input x @@; if x > 0 then logX = log(x); else logX = .; datalines; -1 1… Continue reading The IFN function versus the IF-THEN/ELSE statement in SAS