Search Results: sgplot (958)

Analytics
Rick Wicklin 0
3 problems with mean imputation

In a previous article, I showed how to use SAS to perform mean imputation. However, there are three problems with using mean-imputed variables in statistical analyses: Mean imputation reduces the variance of the imputed variables. Mean imputation shrinks standard errors, which invalidates most hypothesis tests and the calculation of confidence

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
Little things go a long way

In my previous post, I described a new options to control the widths of the caps for Whiskers, Error and Limit bars.  This topic could have been titled "Little things go a long way", as such details really make for a good graph. In a similar manner, another detail issue

Data Visualization | Learn SAS | Programming Tips
SAS Korea 0
[SAS 프로그래밍 팁] ODS 템플릿 수정 기법

이 기사는 SAS Korea가 번역 및 편집했으며 원래 Rick Wicklin이 썼습니다. 원문이 여기에 있습니다. 이번 블로그를 통해 ODS 템플릿을 효율적으로 수정할 수 있는 SAS 프로그래밍 기법, 일명 ‘커펠드 템플릿 수정 기법(Kuhfeld’s Template Modification Technique; TMT)’을 소개하고자 합니다. 다섯 단계만 거치면 20줄 미만의 SAS 코드만으로 이 기법을 구현할 수 있는데요. 방법은 간단하지만

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
Spark table

In the previous post, I discussed creating a 2D grid of spark lines by Year and Claim Type.  This graph was presented in the SESUG conference held last week on SAS campus in the paper ""Methods for creating Sparklines using SAS" by Rick Andrews.  This grid of sparklines was actually the

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
Long category values

The South East SAS Users Group meeting wound up yesterday.  The 25th anniversary conference was held on SAS Campus and it provided a great opportunity to meet with many enthusiastic SAS users and attend many informative presentations.  More on this in a follow-up article. During one of these presentations, Mary

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
Legend order redux

Once in a while you run into a pesky situation that is hard to overcome without resorting to major surgery.  Such a situation occurs when you have a stacked bar chart with a discrete legend positioned vertically on the side of the graph.  A simple example is shown below. title

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
Legend items

Plot statements included in the graph definition can contribute to the legend(s).  This can happen automatically, or can be customized using the KEYLEGEND statement.  For plot statements that are classified by a group variable, all of the unique group values are displayed in the legend, along with their graphical representation

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
Tips and tricks: Segmented discrete axis

The previous post on Multiple Blank Categories showed how to include multiple blank categories on the axis.  But, given the purpose for this was to separate different segments in the data, I also included ideas on how to segmented a discrete axis using reference lines or Block Plot.  A similar idea

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
Tips and tricks - Multiple blank categories on axis

Off and on, users have expressed the need to include multiple blank categories on a discrete axis.  Often, this is desirable to separate groups of bars (or categories) in a graph due to some difference their definition.  Such a case was discussed in this blog article on using non breaking

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
New Features in SAS 9.40M5 - Gradient fills

ODS Graphics procedures primarily strive towards the following goal:  "Make simple graphs easy and complex graphs possible".   SGPLOT procedure allows you create simple graphs with a single plot statement, and create complex graphs by layering together or combining multiple plot statements.  Generally, the appearance follows the guidelines set by industry

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
New features with SAS 9.40 M5

SAS 9.4 maintenance release 5 was released on Sept 19, 2017.  This release includes many new items including integration with SAS Viya and SAS Studio, a web application for SAS development.  Also Included with this release are some cool new features in the graphics domain, some of which were requested

Data Visualization
Sanjay Matange 0
Stock chart

In the previous article on Getting Started with Vertical HighLow Plot, I described how we can use the HighLow plot to display the stock price by date.  The HighLow plot is specifically designed for such use cases as shown below. The data is downloaded from the Nasdaq web site, and

Learn SAS | Programming Tips
Rick Wicklin 0
Data-driven simulation

In a large simulation study, it can be convenient to have a "control file" that contains the parameters for the study. My recent article about how to simulate multivariate normal clusters demonstrates a simple example of this technique. The simulation in that article uses an input data set that contains

1 14 15 16 17 18 32