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

Teradata Aster Analytics Foundation User Guide

Product
Aster Analytics
Release Number
6.21
Published
November 2016
Language
English (United States)
Last Update
2018-04-14
dita:mapPath
kiu1466024880662.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
B700-1021
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