Posts Tagged ‘ Statistical Programming ’

Two interfaces for typing text by using a TV remote control

September 12, 2018
By
Two interfaces for typing text by using a TV remote control

Have you ever tried to type a movie title by using a TV remote control? Both Netflix and Amazon Video provide an interface (a virtual keyboard) that enables you to use the four arrow keys of a standard remote control to type letters. The letters are arranged in a regular

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Two interfaces for typing text by using a TV remote control

Distances on rectangular grids

September 10, 2018
By
Distances on rectangular grids

Given a rectangular grid with unit spacing, what is the expected distance between two random vertices, where distance is measured in the L1 metric? (Here "random" means "uniformly at random.") I recently needed this answer for some small grids, such as the one to the right, which is a 7 x 6

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Distances on rectangular grids

Store vectors of different lengths in a matrix

September 4, 2018
By
Store vectors of different lengths in a matrix

In the SAS/IML language, you can only concatenate vectors that have conforming dimensions. For example, to horizontally concatenate two vectors X and Y, the symbols X and Y must have the same number of rows. If not, the statement Z = X || Y will produce an error: ERROR: Matrices

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Store vectors of different lengths in a matrix

Kernel regression in SAS

August 29, 2018
By
Kernel regression in SAS

A SAS programmer recently asked me how to compute a kernel regression in SAS. He had read my blog posts "What is loess regression" and "Loess regression in SAS/IML" and was trying to implement a kernel regression in SAS/IML as part of a larger analysis. This article explains how to

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Kernel regression in SAS

Standardized regression coefficients

August 22, 2018
By
Standardized regression coefficients

A SAS programmer recently asked how to interpret the "standardized regression coefficients" as computed by the STB option on the MODEL statement in PROC REG and other SAS regression procedures. The SAS documentation for the STB option states, "a standardized regression coefficient is computed by dividing a parameter estimate by

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Standardized regression coefficients

Calculators killed the standard statistical table

August 20, 2018
By
Calculators killed the standard statistical table

Video killed the radio star.... We can't rewind, we've gone too far.       -- The Buggles (1979) "You kids have it easy," my father used to tell me. "When I was a kid, I didn't have all the conveniences you have today." He's right, and I could say the same

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Calculators killed the standard statistical table

Plot curves for levels of two categorical variables in SAS

August 8, 2018
By
Plot curves for levels of two categorical variables in SAS

The SGPLOT procedure in SAS makes it easy to create graphs that overlay various groups in the data. Many statements support the GROUP= option, which specifies that the graph should overlay group information. For example, you can create side-by-side bar charts and box plots, and you can overlay multiple scatter

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Plot curves for levels of two categorical variables in SAS

How to score and graph a quantile regression model in SAS

August 6, 2018
By
How to score and graph a quantile regression model in SAS

This article shows how to score (evaluate) a quantile regression model on new data. SAS supports several procedures for quantile regression, including the QUANTREG, QUANTSELECT, and HPQUANTSELECT procedures. The first two procedures do not support any of the modern methods for scoring regression models, so you must use the "missing

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on How to score and graph a quantile regression model in SAS

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.