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;
stratum | stratum_count |
---|---|
very good | 9 |
fair | 77 |
excellent | 14 |