Posts Tagged ‘ data analysis ’

4 reasons to use PROC PLM for linear regression models in SAS

February 11, 2019
By
4 reasons to use PROC PLM for linear regression models in SAS

Have you ever run a regression model in SAS but later realize that you forgot to specify an important option or run some statistical test? Or maybe you intended to generate a graph that visualizes the model, but you forgot? Years ago, your only option was to modify your program

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on 4 reasons to use PROC PLM for linear regression models in SAS

Create training, validation, and test data sets in SAS

January 21, 2019
By
Create training, validation, and test data sets in SAS

In machine learning and other model building techniques, it is common to partition a large data set into three segments: training, validation, and testing. Training data is used to fit each model. Validation data is a random sample that is used for model selection. These data are used to select

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Create training, validation, and test data sets in SAS

Three ways to add a line to a Q-Q plot

January 16, 2019
By
Three ways to add a line to a Q-Q plot

A quantile-quantile plot (Q-Q plot) is a graphical tool that compares a data distribution and a specified probability distribution. If the points in a Q-Q plot appear to fall on a straight line, that is evidence that the data can be approximately modeled by the target distribution. Although it is

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Three ways to add a line to a Q-Q plot

How to align the Y and Y2 axes in PROC SGPLOT

January 14, 2019
By
How to align the Y and Y2 axes in PROC SGPLOT

When you overlay two series in PROC SGPLOT, you can either plot both series on the same axis or you can assign one series to the main axis (Y) and another to a secondary axis (Y2). If you use the Y and Y2 axes, they are scaled independently by default,

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on How to align the Y and Y2 axes in PROC SGPLOT

10 posts from 2018 that deserve a second look

January 9, 2019
By
10 posts from 2018 that deserve a second look

Numbers don't lie, but sometimes they don't reveal the full story. Last week I wrote about the most popular articles from The DO Loop in 2018. The popular articles are inevitably about elementary topics in SAS programming or statistics because those topics have broad appeal. However, I also write about

The post Read more »

Tags: , , , ,
Posted in SAS | Comments Off on 10 posts from 2018 that deserve a second look

Deming regression for comparing different measurement methods

January 7, 2019
By
Deming regression for comparing different measurement methods

Deming regression (also called errors-in-variables regression) is a total regression method that fits a regression line when the measurements of both the explanatory variable (X) and the response variable (Y) are assumed to be subject to normally distributed errors. Recall that in ordinary least squares regression, the explanatory variable (X)

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Deming regression for comparing different measurement methods

Top posts from The DO Loop in 2018

January 2, 2019
By
Top posts from The DO Loop in 2018

Last year, I wrote more than 100 posts for The DO Loop blog. Of these, the most popular articles were about data visualization, SAS programming tips, and statistical data analysis. Here are the most popular articles from 2018 in each category. Data Visualization Visualize repetition in song lyrics: In one

The post Read more »

Tags: , , , ,
Posted in SAS | Comments Off on Top posts from The DO Loop in 2018

Visualize a mixed model that has repeated measures or random coefficients

December 19, 2018
By
Visualize a mixed model that has repeated measures or random coefficients

I regularly see questions on a SAS discussion forum about how to visualize the predicted values for a mixed model that has at least one continuous variable, a categorical variable, and possibly an interaction term. SAS procedures such as GLM, GENMOD, and LOGISTIC can automatically produce plots of the predicted

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Visualize a mixed model that has repeated measures or random coefficients

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

Sponsors







Dear readers, proc-x is looking for sponsors who would be willing to support the site in exchange for banner ads in the right sidebar of the site. If you are interested, please e-mail me at: tal.galili@gmail.com
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.