Posts Tagged ‘ Bootstrap and Resampling ’

Four essential sampling methods in SAS

February 15, 2016
By
Four essential sampling methods in SAS

Many simulation and resampling tasks use one of four sampling methods. When you draw a random sample from a population, you can sample with or without replacement. At the same time, all individuals in the population might have equal probability of being selected, or some individuals might be more likely

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Four essential sampling methods in SAS

Sample with replacement and unequal probability in SAS

February 10, 2016
By
Sample with replacement and unequal probability in SAS

How do you sample with replacement in SAS when the probability of choosing each observation varies? I was asked this question recently. The programmer thought he could use PROC SURVEYSELECT to generate the samples, but he wasn't sure which sampling technique he should use to sample with unequal probability. This

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Sample with replacement and unequal probability in SAS

Sample without replacement in SAS

February 3, 2014
By
Sample without replacement in SAS

Last week I showed three ways to sample with replacement in SAS. You can use the SAMPLE function in SAS/IML 12.1 to sample from a finite set or you can use the DATA step or PROC SURVEYSELECT to extract a random sample from a SAS data set. Sampling without replacement
Read more »

Tags: , ,
Posted in SAS | Comments Off on Sample without replacement in SAS

How to compute p-values for a bootstrap distribution

November 2, 2011
By

I was recently asked the following question: I am using bootstrap simulations to compute critical values for a statistical test. Suppose I have test statistic for which I want a p-value. How do I compute this? The answer to this question doesn't require knowing anything about bootstrap methods. An equivalent
Read more »

Tags: ,
Posted in SAS | Comments Off on How to compute p-values for a bootstrap distribution

Ranking with Confidence: Part 2

March 30, 2011
By
Ranking with Confidence: Part 2

In a previous post, I described how to compute means and standard errors for data that I want to rank. The example data (which are available for download) are mean daily delays for 20 US airlines in 2007. The previous post carried out steps 1 a...
Read more »

Tags: , , ,
Posted in SAS | Comments Off on Ranking with Confidence: Part 2

Ranking with Confidence: Part 1

March 25, 2011
By
Ranking with Confidence: Part 1

I recently posted an article about representing uncertainty in rankings on the blog of the ASA Section for Statistical Programmers and Analysts (SSPA). The posting discusses the importance of including confidence intervals or other indicators of ...
Read more »

Tags: , ,
Posted in SAS | Comments Off on Ranking with Confidence: Part 1

Resampling and Simulating My Grocery Bills

November 19, 2010
By
Resampling and Simulating My Grocery Bills

In a previous post, I used statistical data analysis to estimate the probability that my grocery bill is a whole-dollar amount such as $86.00 or $103.00. I used three weeks' grocery receipts to show that the last two digits of prices on items that...
Read more »

Tags: , ,
Posted in SAS | Comments Off on Resampling and Simulating My Grocery Bills

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.

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



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.