# Posts Tagged ‘ PROC REG ’

## Obtain Trace of the Projection Matrix in a Linear Regression

October 6, 2011
By

Recently, I am working on coding in SAS for a set of regularized regressions and need to compute trace of the projection matrix: S=X(X'X + \lambda I)^{-1}X'. Trace of the project matrix S is a key concept in modern regression analysis. For example, ...

Tags: , , , , ,
Posted in SAS | Comments Off on Obtain Trace of the Projection Matrix in a Linear Regression

## Obtain Trace of the Projection Matrix in a Linear Regression

October 6, 2011
By

Recently, I am working on coding in SAS for a set of regularized regressions and need to compute trace of the projection matrix: S=X(X'X + \lambda I)^{-1}X'. Wikipedia has a well written introduction to Trace @ here. Trace of the project matrix S i...

Tags: , , , , ,
Posted in SAS | Comments Off on Obtain Trace of the Projection Matrix in a Linear Regression

## Obtain Trace of the Projection Matrix in a Linear Regression

October 6, 2011
By

Recently, I am working on coding in SAS for a set of regularized regressions and need to compute trace of the projection matrix: $$S=X(X'X + \lambda I)^{-1}X'$$. Wikipedia has a well written introduction to Trace @ here. To obtain the inverse of ...

Tags: , , , , ,
Posted in SAS | Comments Off on Obtain Trace of the Projection Matrix in a Linear Regression

## Benchmark Regression Procedures using OLS Regression

August 18, 2011
By

Rick Wicklin discussed in his blog the performance in solving a linear system using SOLVE() function and INV() function from IML. Since regression analysis is an integral part of SAS applications and there are many SAS procedures in SAS/STAT that a...

Tags: , , , , ,
Posted in SAS | Comments Off on Benchmark Regression Procedures using OLS Regression

## Benchmark Regression Procedures using OLS Regression

August 18, 2011
By

Rick Wicklin discussed in his blog the performance in solving a linear system using SOLVE() function and INV() function from IML. Since regression analysis is an integral part of SAS applications and there are many SAS procedures in SAS/STAT that a...

Tags: , , , , ,
Posted in SAS | Comments Off on Benchmark Regression Procedures using OLS Regression

## Benchmark Regression Procedures using OLS Regression

August 18, 2011
By

Rick Wicklin discussed in his blog the performance in solving a linear system using SOLVE() function and INV() function from IML. Since regression analysis is an integral part of SAS applications and there are many SAS procedures in SAS/STAT that a...

Tags: , , , , ,
Posted in SAS | Comments Off on Benchmark Regression Procedures using OLS Regression

## Rolling Window Regression of Time Series

August 10, 2011
By

More often than not, we encounter a problem where an OLS over a rolling time window is required, see , , , , , , , for a few examples. One solution is to resort to SAS MACRO, but it is extremely inefficient and can't handle lar...

Tags: , ,
Posted in SAS | Comments Off on Rolling Window Regression of Time Series

## Bayesian Computation with SAS (1).

January 4, 2011
By

The book "Bayesian Computation with R" by Jim Albert is an easy to read entry level book on applied Bayesian Statistics. While the book was written for R users, it is not difficult to translate the languages between R and SAS and I believe it is a go...

Tags: , , , ,
Posted in SAS | Comments Off on Bayesian Computation with SAS (1).

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