Learn about the latest tips, tutorials, upcoming events and certifications
A data analyst asked how to compute parameter estimates in a linear regression model when the underlying data matrix is rank deficient. This situation can occur if one of the variables in the regression is a linear combination of other variables. It also occurs when you use the GLM parameterization
Starting with SAS 9.4M6, procedures that used to be provided with a SAS/GRAPH installation are now available with Base SAS. Using these procedures along with PROC SGMAP can help you create some very nice maps. This blog builds on previous posts and highlights the: MAPSSAS Data Sets GREMOVE procedure %CENTROID
You might know that you can use the ODS SELECT statement to display only some of the tables and graphs that are created by a SAS procedure. But did you know that you can use a WHERE clause on the ODS SELECT statement to display tables that match a pattern?
A few days back I published an article on including more subject data in a Waterfall graph. This was motivated by the desire from many users to view more data in the same graph, thus avoiding the need to refer to different graphs for the relevant information. In this case,
SAS is launching the SAS Student Series, which bundles thousands of dollars’ worth of training and certification materials into an affordable package for university students and recent graduates.
Previously, I have written articles on how we could display more subject response data along with the traditional WaterFall graph showing the best "Change from Baseline". This is in response to the desire to see data like treatment duration for each subject in the same graph. Otherwise, investigators have to
Did you know that the human attention span is eight seconds, which is a second shorter than that of a goldfish? About eight seconds is all you have to capture your viewer’s attention and create a reason to stay on your dashboard. Therefore, having a great dashboard, and not just
The SGPLOT procedure enables you to use the value of a response variable to color markers or areas in a graph. For example, you can use the COLORRESPONSE= option to define a variable whose values will be used to color markers in a scatter plot or cells in a heat
Migration, version road maps and configurations were the themes of several questions that came up in a recent webinar about combining SAS Grid Manager and SAS Viya. This blog post gives the answers.
A few weeks ago, the first German SAS® user group meetup took place in Berlin. I had a chance to talk to Igor Khorlo, Senior Statistical Programmer at Syneos Health Germany GmbH and founder of the SUGG, about his motivation to constitute this group. What I experienced was a fascinatingly
Will the real Pareto distribution please stand up? SAS supports three different distributions that are named "Pareto." The Wikipedia page for the Pareto distribution lists five different "Pareto" distributions, including the three that SAS supports. This article shows how to fit the two-parameter Pareto distribution in SAS and discusses the
Mein Name ist Daniel und ich bin in der vierten Klasse. Diese Woche wurden die Eltern in meine Schule eingeladen, um uns etwas über ihre Arbeit zu erzählen. Und mein Vater war mit dabei. Am Anfang war ich etwas unsicher, ob ich mich darüber freuen sollte. Denn wenn sein Vortrag
The TEXT plot was introduced with SAS 9.4M2 to facilitate placement of text strings in a graph. This replaces the MARKERCHAR feature of the SCATTER plot statement, which is still available, but it is better to use TEXT plot in most cases. The syntax is: text x=column y=column text=column </
SAS Technical Support has had several requests from customers who want to use SAS® software to help download their files from a website when there is no application programming interface (API) to do it. This post shows how to automate downloads using PROC HTTP and DATA step, and how to use the HTTP DEBUG statement.
A useful feature in PROC SGPLOT is the ability to easily visualize subgroups of data. Most statements in the SGPLOT procedure support a GROUP= option that enables you to overlay plots of subgroups. When you use the GROUP= option, observations are assigned attributes (colors, line patterns, symbols, ...) that indicate
Vor ein paar Wochen hat das erste deutsche SAS User Group Meetup in Berlin stattgefunden. Dort hatte ich die Gelegenheit, mit Igor Khorlo, Senior Statistical Programmer bei Syneos Health Deutschland und Gründer der SAS User Group Germany (SUGG), über seine Motivation zu sprechen, die Gruppe ins Leben zu rufen –
If you want to bootstrap the parameters in a statistical regression model, you have two primary choices. The first is case resampling, which is also called resampling observations or resampling pairs. In case resampling, you create the bootstrap sample by randomly selecting observations (with replacement) from the original data. The
Recently a colleague was requested to create a bar chart showing the performance of students in a school compared to county and state wide schools. The solution using SGPLOT was simple as shown below. /*--Create data--*/ data school; input Year Group $ Value; format Value percent5.1; datalines;
In a recent article about nonlinear least squares, I wrote, "you can often fit one model and use the ESTIMATE statement to estimate the parameters in a different parameterization." This article expands on that statement. It shows how to fit a model for one set of parameters and use the
There are several ways to use SAS to get the unique values for a data variable. In Base SAS, you can use the TABLES statement in PROC FREQ to generate a table of unique values (and the counts). You can also use the DISTINCT function in PROC SQL to get
This article shows how to use SAS to fit a growth curve to data. Growth curves model the evolution of a quantity over time. Examples include population growth, the height of a child, and the growth of a tumor cell. This article focuses on using PROC NLIN to estimate the
I often get asked for programming tips. Here, I share three of my favorite tips for beginners. Tip #1: COUNTC and CATS Functions Together The CATS function concatenates all of its arguments after it strips leading and trailing blanks. The COUNTC function counts characters. Together, they can let you operate
There is a question, almost philosophical in its nature, about who should be responsible for developing new skills in the workforce. In the days when employees expected to have a job for life, and stay with the same employer for 40 years, it made sense that employers paid, and often