Posts Tagged ‘ Matrix ’

Incorporate SAS/IML to Base SAS?

October 17, 2012
By

Since SAS 9.3, ODS Graphics was moved into Base SAS, which means the SAS/Graph license is not needed anymore to access ODS Graphics facilities. It’s definitely nice, but from customers’ point of view, it is not critical necessary: since the “minimum set of SAS system” in most SAS sessions includes the Base SAS, SAS/Stat...
Read more »

Tags: , , , , ,
Posted in SAS | Comments Off

Example 9.35: Discrete randomization and formatted output

June 18, 2012
By

A colleague asked for help with randomly choosing a kid within a family. This is for a trial in which families are recruited at well-child visits, but in each family only one of the children having a well-child visit that day can be in the study. The...
Read more »

Tags: , , , , , , , , ,
Posted in SAS | Comments Off

Example 9.32: Multiple testing simulation

May 21, 2012
By

In examples 9.30 and 9.31 we explored corrections for multiple testing and then extracting p-values adjusted by the Benjamini and Hochberg (or FDR) procedure. In this post we'll develop a simulation to explore the impact of "strong" and "weak" control...
Read more »

Tags: , , , , , , ,
Posted in SAS | Comments Off

Example 9.27: Baseball and shrinkage

April 16, 2012
By
Example 9.27: Baseball and shrinkage

To celebrate the beginning of the professional baseball season here in the US and Canada, we revisit a famous example of using baseball data to demonstrate statistical properties. In 1977, Bradley Efron and Carl Morris published a paper about the Jame...
Read more »

Tags: , , , , , , , , , , , ,
Posted in SAS | Comments Off

Example 9.21: The birthday "problem" re-examined

February 23, 2012
By
Example 9.21: The birthday "problem" re-examined

The so-called birthday paradox or birthday problem is simply the counter-intutitive discovery that the probability of (at least) two people in a group sharing a birthday goes up surprisingly fast as the group size increases. If the group is only 23 peo...
Read more »

Tags: , , , , , , , , , , ,
Posted in SAS | Comments Off

Do you really need to compute that matrix inverse?

August 10, 2011
By

The SAS/IML language provides two functions for solving a nonsingular nxn linear system A*x = c: The INV function numerically computes the inverse matrix, A-1. You can use this to solve for x: Ainv = inv(A); x = Ainv*c;. The SOLVE function numerically ...
Read more »

Tags: , , , , , ,
Posted in SAS | Comments Off

Options for Printing a Matrix

August 1, 2011
By

A matrix is an array of numbers or character strings. When I print a matrix, I usually want to see only the data. However, sometimes it is helpful to add row or column headings that indicate the names of variables or labels for rows. A simple example i...
Read more »

Tags: , , , ,
Posted in SAS | Comments Off

Example 9.1: Scatterplots with binning for large datasets

July 5, 2011
By
Example 9.1: Scatterplots with binning for large datasets

Scatterplots can get very hard to interpret when displaying large datasets, as points inevitably overplot and can't be individually discerned. A number of approaches have been crafted to help with this problem. One approach uses binning. This approa...
Read more »

Tags: , , , , , , , , , , ,
Posted in SAS | Comments Off

Proc-x is looking for 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: [email protected]

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.

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.