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
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
uce1497542673292.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
B700-1022
lifecycle
previous
Product Category
Software

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