Posts Tagged ‘ Bootstrap and Resampling ’

The bias-corrected and accelerated (BCa) bootstrap interval

July 12, 2017
By
The bias-corrected and accelerated (BCa) bootstrap interval

I recently showed how to compute a bootstrap percentile confidence interval in SAS. The percentile interval is a simple "first-order" interval that is formed from quantiles of the bootstrap distribution. However, it has two limitations. First, it does not use the estimate for the original data; it is based only

The post Read more »

Tags: ,
Posted in SAS | Comments Off on The bias-corrected and accelerated (BCa) bootstrap interval

Bootstrap estimates in SAS/IML

July 10, 2017
By
Bootstrap estimates in SAS/IML

I previously wrote about how to compute a bootstrap confidence interval in Base SAS. As a reminder, the bootstrap method consists of the following steps: Compute the statistic of interest for the original data Resample B times from the data to form B bootstrap samples. B is usually a large

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Bootstrap estimates in SAS/IML

The jackknife method to estimate standard errors in SAS

June 21, 2017
By
The jackknife method to estimate standard errors in SAS

One way to assess the precision of a statistic (a point estimate) is to compute the standard error, which is the standard deviation of the statistic's sampling distribution. A relatively large standard error indicates that the point estimate should be viewed with skepticism, either because the sample size is small

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on The jackknife method to estimate standard errors in SAS

The smooth bootstrap method in SAS

August 17, 2016
By
The smooth bootstrap method in SAS

Last week I showed how to use the simple bootstrap to randomly resample from the data to create B bootstrap samples, each containing N observations. The simple bootstrap is equivalent to sampling from the empirical cumulative distribution function (ECDF) of the data. An alternative bootstrap technique is called the smooth

The post Read more »

Tags: ,
Posted in SAS | Comments Off on The smooth bootstrap method in SAS

Compute a bootstrap confidence interval in SAS

August 10, 2016
By
Compute a bootstrap confidence interval in SAS

A common question is "how do I compute a bootstrap confidence interval in SAS?" As a reminder, the bootstrap method consists of the following steps: Compute the statistic of interest for the original data Resample B times from the data to form B bootstrap samples. How you resample depends on

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Compute a bootstrap confidence interval in SAS

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

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.