# Posts Tagged ‘ Uncategorized ’

## Plot a family of curves in SAS

June 5, 2019
By

A family of curves is generated by an equation that has one or more parameters. To visualize the family, you might want to display a graph that overlays four of five curves that have different parameter values, as shown to the right. The graph shows members of a family of

Tags: , ,
Posted in SAS | Comments Off on Plot a family of curves in SAS

## Graph wide data and long data in SAS

June 3, 2019
By

Statistical programmers and analysts often use two kinds of rectangular data sets, popularly known as wide data and long data. Some analytical procedures require that the data be in wide form; others require long form. (The "long format" is sometimes called "narrow" or "tall" data.) Fortunately, the statistical graphics procedures

Tags: , ,
Posted in SAS | Comments Off on Graph wide data and long data in SAS

## Visualize interaction effects in regression models

May 30, 2019
By

Knowing how to visualize a regression model is a valuable skill. A good visualization can help you to interpret a model and understand how its predictions depend on explanatory factors in the model. Visualization is especially important in understanding interactions between factors. Recently I read about work by Jacob A.

Tags: ,
Posted in SAS | Comments Off on Visualize interaction effects in regression models

## The Theil-Sen robust estimator for simple linear regression

May 28, 2019
By

Modern statistical software provides many options for computing robust statistics. For example, SAS can compute robust univariate statistics by using PROC UNIVARIATE, robust linear regression by using PROC ROBUSTREG, and robust multivariate statistics such as robust principal component analysis. Much of the research on robust regression was conducted in the

Tags: , ,
Posted in SAS | Comments Off on The Theil-Sen robust estimator for simple linear regression

## Gershgorin discs and the location of eigenvalues

May 22, 2019
By

The eigenvalues of a matrix are not easy to compute. It is remarkable, therefore, that with relatively simple mental arithmetic, you can obtain bounds for the eigenvalues of a matrix of any size. The bounds are provided by using a marvelous mathematical result known as Gershgorin's Disc Theorem. For certain

Tags: , ,
Posted in SAS | Comments Off on Gershgorin discs and the location of eigenvalues

## Critical values of the Kolmogorov-Smirnov test

May 20, 2019
By

Recently I wrote about how to compute the Kolmogorov D statistic, which is used to determine whether a sample has a particular distribution. One of the beautiful facts about modern computational statistics is that if you can compute a statistic, you can use simulation to estimate the sampling distribution of

Tags: , ,
Posted in SAS | Comments Off on Critical values of the Kolmogorov-Smirnov test

## What is Kolmogorov’s D statistic?

May 15, 2019
By

Have you ever run a statistical test to determine whether data are normally distributed? If so, you have probably used Kolmogorov's D statistic. Kolmogorov's D statistic (also called the Kolmogorov-Smirnov statistic) enables you to test whether the empirical distribution of data is different than a reference distribution. The reference distribution

Tags: , ,
Posted in SAS | Comments Off on What is Kolmogorov’s D statistic?

## Write to a SAS data set from inside a SAS/IML loop

May 13, 2019
By

In SAS/IML programs, a common task is to write values in a matrix to a SAS data set. For some programs, the values you want to write are in a matrix and you use the CREATE FROM/APPEND FROM syntax to create the data set, as follows: proc iml; X =

Tags: , , ,
Posted in SAS | Comments Off on Write to a SAS data set from inside a SAS/IML loop

## 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.