You know the old joke about the guy who jumps into a taxi and asks the driver, “Do you know how to get to Carnegie Hall?” and the driver replies, “Practice, practice, practice”. Well SAS OnDemand may not be your ticket to Carnegie Hall but it’s a great practice environment
English
Recently a user posted a question on the SAS/GRAPH and ODS Graphics Forum about drawing a plot with custom confidence intervals . The user has a simple data set with category, response (mean) and custom lower and upper confidence intervals. The data looks like this: Robert Allison provided the code (proc gplot +
![](https://blogs.sas.com/content/sasdummy/files/2012/01/sasnews.png)
Before there was CNN or FOX News, people used to get their news from SAS. At least, that's how I imagine that people kept themselves informed. What else can explain the existence of the NEWS= system option, which helps SAS admins to surface the must-know information to the SAS community?
![](https://blogs.sas.com/content/sgf/files/2012/01/disneycrowds.png)
I'm about to give you the single-most valuable piece of advice for getting the most out of your experience at SAS Global Forum 2012.
![](https://blogs.sas.com/content/iml/files/2012/01/buffon2.png)
In my article on Buffon's needle experiment, I showed a graph that converges fairly nicely and regularly to the value π, which is the value that the simulation is trying to estimate. This graph is, indeed, a typical graph, as you can verify by running the simulation yourself. However, notice
![](https://blogs.sas.com/content/sastraining/files/2017/02/ProgrammingTips-3.png)
Dear Miss SAS Answers, In PROC REPORT can I use one calculated (computed) variable in the calculation of another computed variable? In the example below, I’m trying to use the value of the Bonus column to calculate the Total column: compute Bonus; Bonus =sal.sum*0.05; endcomp; compute Total; total=sum(sal.sum, Bonus.sum); endcomp;
![](https://blogs.sas.com/content/statelocalgov/files/2017/01/Analytics-1.png)
During one week in December, two separate transportation agencies within the federal government made two major announcements. First, the National Highway Traffic Safety Administration (NHTSA) – the government agency responsible for guiding traffic safety initiatives on the nation’s highways announced that crash fatalities had declined to record low rates. Just
![](https://blogs.sas.com/content/sgf/files/2012/01/ImgoingtoDisney.jpg)
For 25 years, winners of sporting events, singing competitions and beauty pageants have been spouting the same response when asked, “What’s next?” Their simple answer - “I’m going to Disney World!” - makes us all jealous.
A recent post on the SAS website shows the SAS Annual Revenue History. It would be interesting to see how we could create such a graph using SG procedures, and how we could add more information and interest in the presentation. So, I started with the basic informaiton on the annual revenues provided,
![](https://blogs.sas.com/content/iml/files/2012/01/t_negindex-22x150.png)
In the R programming language, you can use a negative index in order to exclude an element from a list or a row from a matrix. For example, the syntax x[-1] means "all elements of x except for the first." In general, if v is a vector of indices to
![](https://blogs.sas.com/content/sgf/files/2011/08/19.jpg)
If you live in the US, do you remember the Dunkin Donuts commercial from about 30 years ago. It opens with a devoted donut maker climbing out of bed, saying "It's time to make the donuts." (Donut makers have to get up early so that you and I can have
Following up on the theme of graphs commonly used in many applications, here is another one that displays a horizontal bar chart with multiple data columns aligned with the bars. Recently at WUSS, a user stopped by asking how to create just such a graph. While this user wanted something more complex
![](https://blogs.sas.com/content/iml/files/2012/01/t_buffon.png)
Buffon's needle experiment for estimating π is a classical example of using an experiment (or a simulation) to estimate a probability. This example is presented in many books on statistical simulation and is famous enough that Brian Ripley in his book Stochastic Simulation states that the problem is "well known
![](https://blogs.sas.com/content/sasdummy/files/2017/02/ProgrammingTips-3.png)
In the immortal words of Britney Spears: Oops! I did it again. At least, I'm afraid that I did. I think I might have helped a SAS student with a homework assignment, or perhaps provided an answer in preparation for a SAS certification exam. Or maybe it was a legitimate
![](https://blogs.sas.com/content/sastraining/files/2012/01/Advanceprepguide.gif)
SAS Publishing is pleased to announce that both the Base and the Advanced SAS Certification Prep Guides are now available as eBooks in the Apple iBookstore. In these guides, you’ll find affordable self-study materials to help you prepare for the SAS® 9 exams. Prepare yourself to achieve certification using your favorite
![](https://blogs.sas.com/content/sascom/files/2017/01/DataMgt-1.png)
Happy New Year, everyone! It’s that wonderful time of the year when people start anew and we all start making promises to ourselves about the things we want to accomplish in the year ahead. If you’re looking for some ways to ramp up your personal and professional expertise this year,
![](https://blogs.sas.com/content/statelocalgov/files/2017/01/Analytics-1.png)
Local governments are not immune to the rising demand for more accountability in government run services and programs, and the expenditure of public funds. Elected officials and citizens alike want to know what these programs accomplish for the public investment made. To date, the response to these questions and demands has been
Let us ring in the new year with something simple and useful. A recent question by a user over the holidays motivated this article on what is likely a commonly used graph. We want to compare the preformance of two categories along with a third measure. This could be something like "How
![](https://blogs.sas.com/content/iml/files/2017/01/AdvancedAnalytics-1.png)
Hello, 2012! It's a New Year and I'm flushed with ideas for new blog articles. (You can also read about The DO Loop's most popular posts of 2011.) The fundamental purpose of my blog is to present tips and techniques for writing efficient statistical programs in SAS. I pledge to
![](https://blogs.sas.com/content/sgf/files/2011/08/49.jpg)
Today, every organization is running on too few resources - getting it done with fewer people, a reduced budget and less time. Grid computing enables SAS to automatically use a centrally managed grid infrastructure to achieve workload balancing, high availability and parallel processing. Do what once took days in minutes
![](https://blogs.sas.com/content/iml/files/2017/01/AdvancedAnalytics-1.png)
At the beginning of 2011, I made four New Year's resolutions for my blog. As the year draws to a close, it's time to see how I did: Resolution: 100 blog posts in 2011: Completed. I blew by this goal by posting 165 articles. I recently compiled a list of
![](https://blogs.sas.com/content/sgf/files/2011/12/cookie-exchange.jpg)
It’s a time for excitement, laughter, getting together with friends and family, and best of all cookie exchanges! It’s kind of sad that in a few days it will all be over. Does it have to end? Can’t another holiday or event bring about the same feelings? How about SAS
![Forecasting inventory with SAS](https://blogs.sas.com/content/sgf/files/2011/08/brooks-brothers-e1321376524604.jpg)
As you probably remember, this innovation series is really Brainstorming 2.0. I've taken the Post-It Notes that SAS users put on the Innovation Wall and reposted them here to help spark new ideas for using SAS. I'm also adding posts here and there when I have an interview with a customer
Lots of the visitors to this blog arrive here by way of Google search (welcome!). Thanks to search engines and a few well placed keywords, the same older posts (let's call them "timeless topics") seem to attract the most traffic from year to year. I hope that the searchers find
When I give presentations on using the SG procedures, I try to describe how you can take simple plots and layer them to create more complex graphs. I also emphasize how you must consider the output of each plot type so that, as you overlay them, you do not obscure
![](https://blogs.sas.com/content/statelocalgov/files/2017/01/FraudSecurity-2.png)
2011 saw incredible change in the states as more than half of the governorships changed hands. As expected, that caused significant turnover at the State CIO level, as well. So while executive and technology policies changed in many ways, the dismal budget situation reinforced the need to allocate tax pay
In Simple maps can go a long way, we discussed some techniques to create simple outline maps from map datasets in the MAPS library using GTL. Now, let us take this a step further to do something more useful with this feature. For some graphs, the map information is an essential part of the
![](https://blogs.sas.com/content/sasdummy/files/2011/12/optionsViewer.png)
On the heels of the release of the popular SAS macro variable viewer from last month, I'm providing another custom task that I hope will prove just as useful. This one is a SAS options viewer, similar in concept to the OPTIONS window in SAS display manager. You can download
![](https://blogs.sas.com/content/sgf/files/2017/01/AdvancedAnalytics-1.png)
From the largest corporation to a small startup, data overload can be a crippling problem. Just ask this big guy ... Now you know. Happy holidays!
![](https://blogs.sas.com/content/iml/files/2017/01/AdvancedAnalytics-2.png)
A few colleagues and I were exchanging short snippets of SAS code that create Christmas trees and other holiday items by using the SAS DATA step to arrange ASCII characters. For example, the following DATA step (contributed by Udo Sglavo) creates a Christmas tree with ornaments and lights: data _null_;