Random Sampling Application help

1 Overview

The Random Sampling Application implements the algorithms defined in Measurement Canada specification S-S-01. The application has been designed to permit single, double and multiple sampling strategies to be employed for such purposes as acceptance sampling, compliance sampling and auditing. All sampling is performed without replacement and requires the sampling units to be uniquely identifiable. Lot sizes up to 35,000 units are permitted. In the event of user input error, the application also identifies the nature of the error and permits correction without restarting the application.

The application solicits various input information from the user to enable the sample(s) to be selected in a manner that facilitates auditing for quality management program purposes. To satisfy legal requirements for applications under Measurement Canada's legislation, all information on the "Results" output page must be captured and retained in the user's quality records system.

Procedures with example output results for each of the three sampling types follow. Note that the sample sizes in the examples have been kept artificially low for illustration purposes.


2 Procedures

2.1 Single sampling

Step 1

  1. Enter the operator identifier (alphanumeric input) and the lot identifier (alphanumeric input).
  2. For "Sampling type", select "Single" from the list.
  3. Click the "Next" button.

Step 2

  1. Review the previously entered information and if necessary, click the "Back" button to make corrections.
  2. Enter the sample size (integer value greater than 0, less than the lot size, and not exceeding 10,000) and the lot size (integer value greater than 1 and not exceeding 35,000).
  3. Select whether the seed should be automatically generated or not (default selection is automatic).
  4. Click the "Next" button.
  5. If "No" was selected in 3., enter the seed value (integer value greater than 0 and less than 2,147 483,648) then click the "Next" button.

Step 3

  1. Review the previously entered information and if necessary, click the "Back" button to make corrections.
  2. Select whether the results should be sorted or not (default selection is sorted).
  3. Click the "Next" button to receive the output.
  4. For a printer-friendly version of the output, scroll to the bottom of the page and click the "Post data only" link.

Example results

Random sample for stage 1


2.2 Double sampling

Step 1

  1. Enter the operator identifier (alphanumeric input) and the lot identifier (alphanumeric input).
  2. For "Sampling type", select "Double" from the list.
  3. Click the "Next" button.

Step 2

  1. Review the previously entered information and if necessary, click the "Back" button to make corrections.
  2. Enter the lot size (integer value greater than 1 and not exceeding 35,000).
  3. Select whether the seed should be automatically generated or not (default selection is automatic).
  4. Click the "Next" button.

Step 3

  1. Review the previously entered information and if necessary, click the "Back" button to make corrections.
  2. Enter sample size for stage 1.
  3. Enter sample size for stage 2.
  4. Enter seed value if "no" was selected at step 2.
  5. Click the "Next" button to receive the output.
  6. For a printer-friendly version of the output, scroll to the bottom of the page and click the "Post data only" link.

Example results

Random sample for stage 1

Random sample for stage 2


2.3 Multiple sampling

Step 1

  1. Enter the operator identifier (alphanumeric input) and the lot identifier (alphanumeric input).
  2. For "Sampling type", select "Multiple" from the list.
  3. Click the "Next" button.

Step 2

  1. Review the previously entered information and if necessary, click the "Back" button to make corrections.
  2. Enter the number of stages (integer value greater than 0 and not exceeding 20) and the lot size (integer value greater than 1 and not exceeding 35,000).
  3. Select whether the seed should be automatically generated or not (default selection is automatic).
  4. Click the "Next" button.

Step 3

  1. Review the previously entered information and if necessary, click the "Back" button to make corrections.
  2. Enter the sample size for each stage (integer values greater than 0, with the sum not exceeding the lot size).
  3. Enter seed value if "no" was selected at step 2.
  4. Select whether the results should be sorted or not (default selection is sorted).
  5. Click the "Next" button to receive the output.
  6. For a printer-friendly version of the output, scroll to the bottom of the page and click the "Post data only" link.

Example results

Random sample for stage 1

Random sample for stage 2

Random sample for stage 3

Date modified: