Some co-workers head home after a day at the office. Xin Hunt, Sr. Machine Learning Developer, Ralph Abbey, Sr. Manager - Advanced Analytics R&D, Michael Lamm, Sr. Research Statistician Developer, Ricky Tharrington, Machin Learning Developer, head to our campus Recreation & Fitness Center for a workout and laughs. The friendship
English
Recently, I needed to implement a line search algorithm in SAS. The line search is illustrated by the figure at the right. You start with a point, p, in d-dimensional space and a direction vector, v. (In the figure, d=2, but in general d > 1.) The goal is to
When we moved out to the country with our two dogs, our oldest dog Todd suddenly decided he liked to howl…. And he would do so every time we left the house. Maybe it was the country air? Maybe it was a time-lapse gene? Maybe he just wanted to learn
Recently, a SAS programmer commented about one of my blog posts. He said that he had found an alternative answer on another website. Whereas my answer was formulated in terms of the normal cumulative distribution function (CDF), the other answer used the ERF function. This article shows the relationship between
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.
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.
Omega-3 fatty acids are essential fats, meaning that we must get them from our diet because our body cannot make them. There are 3 main types of omega-3 fatty acids: EPA (eicosapentaenoic acid), DHA (docosahexaenoic acid) and ALA (alpha-linolenic acid).
Sometimes it is useful to know the extreme values in data. You might need to know the Top 5 or the Top 10 smallest data values. Or, the Top 5 or Top 10 largest data values. There are many ways to do this in SAS, but this article shows examples
The use of AI in manufacturing is transforming the industry. How do AI technology and data insights fit into this trend? Vice President for SAS in the Nordics Keld Zornig sat down with Pasi Helenius, Manager for Customer Advisory Commercial and Manufacturing Nordics, for a talk on the topic of
One of the most discussed tech topics in the last 12 months has been hyperautomation. It has led to so many conversations that I now get episodes of déjà vu in the middle of meetings. This is a good thing, as organisations recognise the need for flexible innovation, rapid product development and
SAS' Yongqiao Xiao, Maggie Cech and Patrick Koch describe an ONNX model in ASTORE and demonstrate how to use the information to save an ONNX model to an analytic store.
How can you estimate percentiles in SAS Viya? This article shows how to call the percentile action from PROC CAS to estimate percentiles of variables in a CAS data table. Percentiles and quantiles are essentially the same (the pth quantile is the 100*pth percentile for p in [0, 1]), so
Here's a fun problem to think about: Suppose that you have two different valid ways to test a statistical hypothesis. For a given sample, will both tests reject or fail to reject the hypothesis? Or might one test reject it whereas the other does not? The answer is that two
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
At SAS, curiosity is at the heart of everything we do. It’s no surprise, then, that it’s one of our core values! Last year, we shared 4 fun facts about the #saslife to rave reviews. So this year, we thought it would be fun to share a few more! In
Several probability distributions model the outcomes of various trials when the probabilities of certain events are given. For some distributions, the definitions make sense even when a probability is 0. For other distributions, the definitions do not make sense unless all probabilities are strictly positive. This article examines how zero
From COVID-19 vaccines, climate change, supply chain issues and everything in between, 2021 set forth a wealth of thought-provoking ideas and data-related topics for us to share with you on this blog. Last year, SAS announced more groundbreaking partnerships and expanded upon its corporate responsibility efforts to help solve some
Leonid Batkhan describes and discusses pros and cons of 3 different algorithms and SAS code implementations to calculate length of overlap of date/time intervals and integer intervals in general.
Heartburn is the most common gastrointestinal symptom affecting more than ⅔ of the US population, but we’ve all likely had heartburn at some point. Proton Pump Inhibitors (PPI’s), drugs typically prescribed for heartburn symptoms (they reduce the acid production in your stomach), are among the top 10 most prescribed medications.
Some colors have names, such as "Red," "Magenta," and "Dark Olive Green." But the most common way to specify a color is to use a hexadecimal value such as CX556B2F. It is not obvious that "Dark Olive Green" and CX556B2F represent the same color, but they do! I like to
There are many ways a therapist can be a resource regarding the topic of separation or divorce. One option is Discernment Counseling. In this blog post, two Triangle-area therapists answer common questions to provide a better understanding of what Discernment Counseling is and is not. Thanks to contributors Erica Blystone,
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
Kayla was ready for a change. “I moved from Cary to Ohio to be near family right before the pandemic, and soon after, my manager left SAS for a new opportunity,” she explains. “The effects of 2020 were setting in. I love recruiting in a high-growth environment, and with 2020
Mergers and acquisitions are difficult to pull off, but they can impress when the right strategy is applied. And analyzing your data almost always helps with the right strategy. In the first eight months of 2021, publicly announced M&A activities were valued at more than $3.6 trillion globally and $1.8
The past 20 months of disruptions caused by COVID-19 have been a wake-up call for retailers and consumer goods companies. Unpredictable market trends have caused havoc with categories, brands and products making it harder to predict supply requirements. All of these changes have given rise to the need for consumption
On this blog, I write about a diverse set of topics that are relevant to statistical programming and data visualization. In a previous article, I presented some of the most popular blog posts from 2021. The most popular articles often deal with elementary or familiar topics that are useful to
Read this bulletin for the SAS response to CVE-2021-44228, the Apache Log4j vulnerability.
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
In a hackathon, teams of participants collaborate and compete to find the best solutions to a business or humanitarian challenge using technology. But unlike many traditional hackathons where participants meet in person for a couple of days, the SAS Hackathon is all-digital and lasts for a month. Prior to the
You can use the Cholesky decomposition of a covariance matrix to simulate data from a correlated multivariate normal distribution. This method is encapsulated in the RANDNORMAL function in SAS/IML software, but you can also perform the computations manually by calling the ROOT function to get the Cholesky root and then