Software for random sampling (no cost). Details of the algorithm used.
Software can use Excel worksheet data. Sampling is also available for datasets uploaded to our server,which can be encrypted using DES. There is no cost to use the server, nor is there a limit on file size. However, due to slow upload speed, large files may require some time to upload. Further details.
As another alternative, selecting a CMA sample can be performed either through the use of a script, or by a dialog. In any case, the following parameters must be specified:
R - The reliability factor (must be 1, 2 or 3)
J - The sampling interval (confidence interval)
RN - A random start.
The dialog appears as follows:
Cumulative Monetary Amount (CMA) Sample Reconciliation report
After the sample has been selected, a reconciliation report is automatically provided, an example of which follows:
If the script is to be processed in batch, the following syntax should be used:
Syntax - Cumulative Monetary Amount Sample (Dollar Unit Sampling)
proc sample data=DATAFILE type=CMA J=INTERVALAMT
RN=RANDOM NUMBER R=FACTO;
out = OUTPUTRESULT;
Parameters Used - CMA Sample
There are six parameters for the CMA sample procedure:- DATAFILE - the datafile to be analyzed
- SAMPLETYPE - always "cma" for a CMA sample
- J- J value or interval expressed in dollars
- OUTPUTRESULT - the name of the file to store the sample selections
- R- Reliability factor 1,2 or 3
- RN - random number (must be positive between 0 and J / R
Example Script - CMA Sample
*;
*;
* isample2.ezs;
* cma sample procedure;
* select an interval sample, store as isamp2.tab;
libname test '{%libout}';
libname fs '{%libin}';
proc sample data=fs.drcrpop type=cma j=10000 r=2 rn=4352;
out = test.isamp2;
run;
View an overview of EZ-R Stats for Windows. Download EZ-R Stats for Windows and other products.
Analysts interested in Proc Sample may also be
interested in Proc Means and
Proc Univariate.
There is also a web analytics version which can be run directly from the Internet using Excel or other data source (in tab separated value format). View Web Analytics details. All software is provided at no cost.

