Search Results: sgplot (958)

Data Visualization
Sanjay Matange 0
Scatter with box

Previously, I discussed ways to create a Box Plot with Stat Table and Markers in the linked article.  One of the graphs showed a Box Plot of Cholesterol by Death cause along with the display of the actual observations.  The main goal for that article was display of statistics with

Advanced Analytics
Emily Gao 0
Word scatter plot with SAS

In my last post, I showed you how to generate a word cloud of pdf collections. Word clouds show you which terms are mentioned by your documents and the frequency with which they occur in the documents. However, word clouds cannot lay out words from a semantic or linguistic perspective.

Rick Wicklin 0
The contaminated normal distribution

How can you generate data that contains outliers in a simulation study? The contaminated normal distribution is a simple but useful distribution you can use to simulate outliers. The distribution is easy to explain and understand, and it is also easy to implement in SAS. What is a contaminated normal

Data Visualization
Sanjay Matange 0
Hotel Text

Yesterday, I published an article on Axis values display, where I mentioned the desire expressed by many users to get x-axis tick values in Hotel text orienttion.  The name comes from the way many hotel signs are displayed as shown on the right.  Such arrangement of text can also be very

Data Visualization
Sanjay Matange 0
Axis values display

Displaying nicely rendered axis values reduces clutter and makes the graph more readable.  With SAS 9.4, we added the ability for splitting x-axis tick values on white space to create a nice and readable x-axis as shown in the graph on the right. It is always a challenge to fit

Rick Wicklin 0
Animate snowfall in SAS

Out of the bosom of the Air,     Out of the cloud-folds of her garments shaken, Over the woodlands brown and bare,     Over the harvest-fields forsaken,         Silent, and soft, and slow         Descends the snow. "Snow-flakes" by Henry Wadsworth Longfellow Happy holidays to all my readers! In my last post I showed

Rick Wicklin 0
Create a Koch snowflake with SAS

I have a fondness for fractals. In previous articles, I've used SAS to create some of my favorite fractals, including a fractal Christmas tree and the "devil's staircase" (Cantor ) function. Because winter is almost here, I think it is time to construct the Koch snowflake fractal in SAS. A

Data Visualization
Sanjay Matange 0
Financial graphs

Browsing on the web, I ran into a simple but visually interesting graph of financial data.  Really, it could be any data, but this one showed up under "Financial Graphs".  I thought this would give me an opportunity to speak about an interesting new feature added to SERIES plot with

Rick Wicklin 0
Discover power laws by log-transforming data

A recent issue of Astronomy magazine mentioned Kepler's third law of planetary motion, which states "the square of a planet's orbital period is proportional to the cube of its average distance from the Sun" (Astronomy, Dec 2016, p. 17). The article included a graph (shown at the right) that shows

Rick Wicklin 0
Append data to add markers to SAS graphs

Do you want to create customized SAS graphs by using PROC SGPLOT and the other ODS graphics procedures? An essential skill that you need to learn is how to merge, join, append, and concatenate SAS data sets that come from different sources. The SAS statistical graphics procedures (SG procedures) enable

Rick Wicklin 0
Highlight forecast regions in graphs

A SAS customer asked how to use background colors and a dashed line to emphasize the forecast region for a graph that shows a time series model. The task requires the following steps: Use the ATTRPRIORITY=NONE option on the ODS GRAPHICS statement to make sure that the current ODS style

Rick Wicklin 0
Visualize a torus in SAS

This article uses graphical techniques to visualize one of my favorite geometric objects: the surface of a three-dimensional torus. Along the way, this article demonstrates techniques that are useful for visualizing more mundane 3-D point clouds that arise in statistical data analysis. Define points on a torus A torus is

Data Visualization
Sanjay Matange 0
Layers vs annotation

Last week a user asked about BY variable group processing for SGAnnotate with SGPLOT procedure.  The user provided a simple use case for the question (always a good idea) using the sashelp.class data set.  The graph included a display of reference lines for the mean value of height using annotation.  The

Rick Wicklin 0
Rotation matrices and 3-D data

Rotation matrices are used in computer graphics and in statistical analyses. A rotation matrix is especially easy to implement in a matrix language such as the SAS Interactive Matrix Language (SAS/IML). This article shows how to implement three-dimensional rotation matrices and use them to rotate a 3-D point cloud. Define

Analytics
Gerhard Svolba 0
Mehr SAS Know-How für Data Scientists

Kennen Sie diese Situation? Sie sollen dringend eine komplexe Auswertung fertig stellen. Die Daten wurden zu spät geliefert und die Qualität und Struktur der Daten waren weit vom erwarteten Standard entfernt. Der Zeitdruck der Ergebnispräsentation ist groß, und Ihr SAS Programm tut immer noch nicht genau das, was Sie als

Advanced Analytics
Rick Wicklin 0
Loess regression in SAS/IML

A previous post discusses how the loess regression algorithm is implemented in SAS. The LOESS procedure in SAS/STAT software provides the data analyst with options to control the loess algorithm and fit nonparametric smoothing curves through points in a scatter plot. Although PROC LOESS satisfies 99.99% of SAS users who

Rick Wicklin 0
What is loess regression?

Loess regression is a nonparametric technique that uses local weighted regression to fit a smooth curve through points in a scatter plot. Loess curves are can reveal trends and cycles in data that might be difficult to model with a parametric curve. Loess regression is one of several algorithms in

1 17 18 19 20 21 32