Uncategorized

Mike Gilliland 0
Why forecasts are wrong: Inadequate/unsound/misused software

A common mistake in bad or misused software is choosing a forecasting model based solely on the model’s “fit to history” (often referred to as “best fit” or “pick best” functionality). The software provides (or the forecaster builds) several competing models which are then evaluated against recent history. The model

Rick Wicklin 0
The UNIQUE-LOC trick: A real treat!

When you analyze data, you will occasionally have to deal with categorical variables. The typical situation is that you want to repeat an analysis or computation for each level (category) of a categorical variable. For example, you might want to analyze males separately from females. Unlike most other SAS procedures,

Mike Gilliland 0
Flash3: Report from Analytics2011 in Orlando

Of course, forecasting the stock market is not perfectly analogous to forecasting demand for a product.  The asking price for a stock is largely "anchored" by the price of its most recent trades.  While market values may appear to randomly drift up and down, or in a general direction, we generally

Mike Gilliland 0
Flash2: Report from Analytics2011 in Orlando

In this second of three flash reports from last week's Analytics2011 conference, we hear about a favorite topic of mine -- the relationship between demand volatility and forecastability. Rob Miller of Avantor Performance Materials, on Forecastability and Demand Volatility The "comet chart," illustrating the relationship between demand volatility and forecast

Rick Wicklin 0
Video: Calling R from the SAS/IML Language

In SAS/IML 9.22 and beyond, you can call the R statistical programming language from within a SAS/IML program. The syntax is similar to the syntax for calling SAS from SAS/IML: You use a SUBMIT statement, but add the R option: SUBMIT / R. All statements in the program between the

Learn SAS
Shelly Goodin 0
SAS author's tip: generating a dagger

This week's featured tip is from master SAS user Art Carpenter and his classic book Carpenter's Complete Guide to the SAS REPORT Procedure. In his review for the book, Rick Mitchell-senior systems analyst at Westat-said "I am green with envy for the newest generation of SAS programmers because I wish that I had had this book in

Learn SAS
Shelly Goodin 0
SAS author’s tip: using the Options window in SAS Enterprise Guide

Super authors Susan Slaughter and Lora Delwiche and their bestselling Little SAS Book series have empowered the user community for years. This dynamic duo has uncannily anticipated what SAS users need to know. And they've produced thoughtful and accessible books with remarkable speed. One of their most recent books The Little SAS Book for Enterprise Guide 4.2 provides

Chris Hemedinger 0
Poetry on our own terms

Within the SAS documentation there must be thousands of unique words.  But ten words occur more than any others within the SAS documentation corpus: SAS, data, statement, option, set, value, variable,  PROC, model, table. This is according to one of our staff terminologists, Vicki Leary, who helps to keep our use of these words consistent and

Advanced Analytics
Mike Gilliland 0
Why forecasts are wrong

This week brought big news of one of the most cruel and heartless tyrants of the 21st century.  This man is known for narcissistic behavior, surrounding himself with a cadre of beautiful women, sleeping in a different place every night, picking new favorites each week, and bringing tears and untold suffering

Rick Wicklin 0
The "power" of finite mixture models

When I learn a new statistical technique, one of first things I do is to understand the limitations of the technique. This blog post shares some thoughts on modeling finite mixture models with the FMM procedure. What is a reasonable task for FMM? When are you asking too much? I

Rick Wicklin 0
Four essential functions for statistical programmers

Normal, Poisson, exponential—these and other "named" distributions are used daily by statisticians for modeling and analysis. There are four operations that are used often when you work with statistical distributions. In SAS software, the operations are available by using the following four functions, which are essential for every statistical programmer

Rick Wicklin 0
Does SYMPUT work in IML?

I received the following email: Dear Dr. Wicklin, Why doesn't SYMPUT work in IML? In the DATA step, I can say CALL SYMPUT("MyMacro", 5) but this doesn't work in IML! Frustrated Dear Frustrated, The SYMPUT subroutine does work in SAS/IML software! However, the second argument to SYMPUT must be a

Rick Wicklin 0
Optimizing? Two hints for specifying derivatives

I previously wrote about using SAS/IML for nonlinear optimization, and demonstrated optimization by maximizing a likelihood function. Many well-known optimization algorithms require derivative information during the optimization, including the conjugate gradient method (implemented in the NLPCG subroutine) and the Newton-Raphson method (implemented in the NLPNRA method). You should specify analytic

Rick Wicklin 0
Maximum likelihood estimation in SAS/IML

A popular use of SAS/IML software is to optimize functions of several variables. One statistical application of optimization is estimating parameters that optimize the maximum likelihood function. This post gives a simple example for maximum likelihood estimation (MLE): fitting a parametric density estimate to data. Which density curve fits the

Rick Wicklin 0
SAS/IML tip sheets

To celebrate the first anniversary of Statistical Programming with SAS/IML Software, you can now download the SAS/IML tip sheets (also called "cheat sheets") that I created for the book. At conferences, SAS Press displays these tip sheets next to my book. They have been very popular. Download these SAS/IML cheat

1 232 233 234 235 236 256