Skip to content
cccskills
FreePublished on GitHub

audit-sampling-methods

Guides privacy audit sampling methodology including statistical and non-statistical sampling, sample size determination, stratification techniques, attribute sampling for compliance testing, confidence level selection, tolerable deviation rates, and extrapolation of results to the population. Keywords: audit sampling, statistical sampling, attribute testing, sample size, confidence level, stratified sampling, privacy audit.

The English summary is being prepared. Showing the original description.

See how to install

Files included (5)

  • SKILL.md6.1 KB
  • assets/template.md3.3 KB
  • references/standards.md3.0 KB
  • references/workflows.md5.2 KB
  • scripts/process.py7.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Privacy Audit Sampling Methods

Overview

Audit sampling is the application of audit procedures to less than 100% of items within a population to form a conclusion about the entire population. In privacy auditing, sampling is used to test compliance of processing activities, DSAR responses, consent records, vendor contracts, and other privacy controls without examining every individual record.

ISA 530 (International Standard on Auditing — Audit Sampling) and IIA Practice Advisory 2320-3 (Audit Sampling) provide the authoritative frameworks. For privacy audits, sampling must account for the heightened regulatory scrutiny of personal data processing and the potential for significant harm from individual non-compliant records.

Sampling Approaches

ApproachDescriptionWhen to Use
Statistical SamplingUses probability theory to select samples and evaluate results; allows quantification of sampling riskWhen audit conclusions must be defensible to regulators; large populations; need to extrapolate results
Non-Statistical (Judgemental) SamplingAuditor uses professional judgement to select itemsSmall populations; targeted testing of known risk areas; supplementary to statistical sampling

Statistical Sampling Methods

Attribute Sampling

Used to estimate the rate of deviation (non-compliance) in a population.

ParameterDescriptionTypical Privacy Audit Values
Population SizeTotal items in the auditable populatione.g., 1,000 DSARs, 500 vendor contracts
Confidence LevelProbability that sample results reflect the population90% (standard); 95% (regulatory-facing)
Tolerable Deviation RateMaximum acceptable non-compliance rate5% (standard); 2% (critical controls)
Expected Deviation RateEstimated actual non-compliance rateBased on prior audits or risk assessment
Sample SizeNumber of items to testCalculated from above parameters

Sample Size Reference Table (Attribute Sampling)

Population90% Confidence / 5% Tolerable95% Confidence / 5% Tolerable95% Confidence / 2% Tolerable
100384564
2504250100
5004454131
1,0004557154
5,0004659176
10,000+4659181

Stratified Sampling

Divides the population into subgroups (strata) and samples proportionally or disproportionately from each.

Stratification FactorExample StrataRationale
Business UnitEU, US, APACDifferent regulatory requirements per jurisdiction
Data SensitivityStandard, sensitive, special categoryHigher-risk data categories warrant more testing
Processing PurposeMarketing, HR, customer serviceDifferent compliance requirements per purpose
Time PeriodQ1, Q2, Q3, Q4Detect seasonal patterns or deterioration
Vendor TierTier 1 (high volume), Tier 2, Tier 3Focus sampling on highest-risk vendors

Non-Statistical Sampling Methods

MethodDescriptionApplication
Haphazard SelectionItems selected without structured method but avoiding biasQuick preliminary testing
Block SelectionAll items in a specific period or locationTesting a specific time window (e.g., all DSARs in March)
Judgemental SelectionAuditor selects items based on risk factorsTargeting high-value items, known exceptions, or anomalies

Privacy-Specific Sampling Considerations

ConsiderationGuidance
Individual harm thresholdEven a single non-compliant record can cause significant harm; auditors must not dismiss isolated findings
Regulatory expectationsSupervisory authorities may expect higher confidence levels for critical controls (breach notification, consent)
Special category dataApply lower tolerable deviation rates (2%) for processing involving special category data under Article 9
Automated processingFor fully automated processes, increase sample to verify algorithmic consistency across edge cases
Cross-border transfersStratify by destination country to verify adequacy/safeguard mechanism for each transfer route

Evaluating Sample Results

ScenarioSample Deviation RateConclusion
Rate below tolerable deviatione.g., 2% observed vs 5% tolerablePopulation likely compliant; no material finding
Rate equals tolerable deviatione.g., 5% observed vs 5% tolerableBorderline; consider expanding sample or raising as medium finding
Rate exceeds tolerable deviatione.g., 12% observed vs 5% tolerableMaterial non-compliance; formal finding required
Zero deviations found0% observedStrong evidence of compliance (but does not guarantee 100%)

Extrapolation

When sample results show deviations, the auditor must project findings to the full population:

ElementCalculation
Point estimate(Deviations found / Sample size) × Population size
Upper deviation limitCalculated using statistical tables at the selected confidence level
Projected monetary impactPoint estimate × average impact per deviation

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Implements 42 CFR Part 2 protections for substance use disorder patient records. Covers written consent requirements stricter than HIPAA, re-disclosure prohibition, court order procedures, qualified service organization agreements, and 2024 amendments aligning Part 2 with HIPAA. Keywords: 42 CFR Part 2, substance use disorder, SUD records, re-disclosure, consent, Part 2 amendments.

The English summary is being prepared. Showing the original description.

mukul975/Privacy-Data-Protection-Skills313Updated Mar 17, 2026

Guides assessment of third-country adequacy decisions under GDPR Article 45 for international data transfers. Covers the current EC adequacy decisions list, adequacy assessment criteria, partial adequacy handling, and monitoring of adequacy decision reviews. Keywords: adequacy decision, Article 45, third country, adequate protection, EC adequacy list.

The English summary is being prepared. Showing the original description.

mukul975/Privacy-Data-Protection-Skills313Updated Mar 17, 2026

Implements age-gating mechanisms for online services to restrict access based on user age. Covers hard gates versus soft gates, neutral age prompts, re-verification triggers, circumvention prevention, and regulatory requirements under GDPR, COPPA, UK Online Safety Act, and DSA. Keywords: age gate, age restriction, neutral prompt, children, online services, access control.

The English summary is being prepared. Showing the original description.

mukul975/Privacy-Data-Protection-Skills313Updated Mar 17, 2026

Evaluates and implements age estimation and verification technologies for online services. Covers facial age estimation, digital ID verification, self-declaration with risk assessment, AI-based age estimation, and the accuracy versus privacy tradeoff. Includes ICO guidance and euCONSENT framework. Keywords: age verification, age estimation, facial analysis, digital ID, children, online safety.

The English summary is being prepared. Showing the original description.

mukul975/Privacy-Data-Protection-Skills313Updated Mar 17, 2026

Preparing EU AI Act compliance documentation for high-risk AI systems. Covers Annex III classification, technical documentation under Art. 11, conformity assessment, risk management systems, and CE marking requirements. Keywords: EU AI Act, high-risk AI, Annex III, conformity assessment, CE marking.

The English summary is being prepared. Showing the original description.

mukul975/Privacy-Data-Protection-Skills313Updated Mar 17, 2026

Implements GDPR Art. 22 automated decision-making and AI Act Art. 14 human oversight requirements for AI systems. Covers identification of solely automated decisions, meaningful human intervention design, logic explanation mechanisms, and contestation procedures. Keywords: Art. 22, automated decision, human oversight, AI Act, profiling, contestation.

The English summary is being prepared. Showing the original description.

mukul975/Privacy-Data-Protection-Skills313Updated Mar 17, 2026

See all skills by mukul975

Report a problem with this skill