7.00.02 - Example 3: Unconditional Sampling with Total (Single) Approximate SampleSize - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
Last Update
2018-04-17

This example uses the ApproxSampleSize argument and a summary (dimension) table as inputs. The summary table containing the stratum count information is generated with the following SQL code:

SELECT stratum, count(*) AS stratum_count FROM score_category GROUP BY stratum;
Sample Example 3 Summary Table
stratum stratum_count
very good 9
fair 77
excellent 14