Posts Tagged ‘ simulation ’

Monitor convergence during simulation studies in SAS

August 26, 2015
By
Monitor convergence during simulation studies in SAS

Ugh! Your favorite regression procedure just printed a warning to the SAS log. Something is wrong, and your attempt to fit a model to the data has not succeeded. A typical message is "WARNING: The validity of the model fit is questionable," perhaps followed by some additional diagnostic messages about

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Monitor convergence during simulation studies in SAS

Ten tips for simulating data with SAS

August 24, 2015
By

One of my presentations at SAS Global Forum 2015 was titled "Ten Tips for Simulating Data with SAS". The paper was published in the conference proceedings several months ago, but I recently recorded a short video that gives an overview of the 10 tips: If your browser does not support

The post Read more »

Tags: , , , ,
Posted in SAS | Comments Off on Ten tips for simulating data with SAS

The drunkard’s walk in 2-D

August 12, 2015
By
The drunkard’s walk in 2-D

Last month I wrote about how to simulate a drunkard's walk in SAS for a drunkard who can move only left or right in one direction. A reader asked whether the problem could be generalized to two dimensions. Yes! This article shows how to simulate a 2-D drunkard's walk. In

The post Read more »

Tags: ,
Posted in SAS | Comments Off on The drunkard’s walk in 2-D

A new method to simulate the triangular distribution

July 22, 2015
By
A new method to simulate the triangular distribution

The triangular distribution has applications in risk analysis and reliability analysis. It is also a useful theoretical tool because of its simplicity. Its density function is piecewise linear. The standardized distribution is defined on and has one parameter, 0 ≤ c ≤ 1, which determines the peak of the

The post Read more »

Tags: ,
Posted in SAS | Comments Off on A new method to simulate the triangular distribution

Simulating a drunkard’s walk in SAS

July 8, 2015
By
Simulating a drunkard’s walk in SAS

You've probably heard of a random walk, but have you heard about the drunkard's walk? I've previously written about how to simulate a one-dimensional random walk in SAS. In the random walk, you imagine a person who takes a series of steps where the step size and direction is a

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Simulating a drunkard’s walk in SAS

What is the best way to suppress ODS output in SAS?

May 26, 2015
By
What is the best way to suppress ODS output in SAS?

SAS procedures can produce a lot of output, but you don't always want to see it all. In simulation and bootstrap studies, you might analyze 10,000 samples or resamples. Usually you are not interested in seeing the results of each analysis displayed on your computer screen. Instead, you want to

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on What is the best way to suppress ODS output in SAS?

Simulate the Monty Hall Problem in SAS

April 1, 2015
By
Simulate the Monty Hall Problem in SAS

The Monty Hall Problem is one of the most famous problems in elementary probability. It is famous because the correct solution is counter-intuitive and because it caused an uproar when it appeared in the "Ask Marilyn" column in Parade magazine in 1990. Discussing the problem has been known to create

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Simulate the Monty Hall Problem in SAS

On Unpublished Software

February 9, 2012
By

sciseekclaimtoken-4f343317d3d60 I ran across this post at The Tree of Life entitled ‘Interesting new metagenomics paper w/ one big big big caveat – critical software not available”. The long and short of it? Paper appears in Science, has fancy new methodology, lacks the software for someone else to use their methodology. Blog author understandably annoyed. But...
Read more »

Tags: , , ,
Posted in SAS | Comments Off on On Unpublished Software

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: tal.galili@gmail.com

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.