Package: AI4OfficialStats 0.2.0
AI4OfficialStats: Audit Statistical Fidelity of AI-Mediated Official Statistics
Provides deterministic tools for auditing whether artificial intelligence systems preserve the numerical, semantic, contextual, temporal, geographic, unit, provenance, revision, transformation, and uncertainty properties of official statistics. Structured reference statistics and machine-generated claims can be compared using non-compensatory critical-error rules, weakest-link and geometric fidelity summaries, provenance graphs, and portable SHA-256 proof bundles. The package provides bounded connectors for official statistical services, an easy schema-detection and file-import layer for arbitrary official organisations, extensible provider registries, and a search-first natural- language verification layer that classifies statistical claims, selects suitable official sources, retrieves candidate evidence, matches statistical dimensions, and compares claimed values. If no reference year is stated, verification uses the latest available matching official observation and discloses the resolved year. Source attribution is optional: automatic routing can choose suitable providers when none is named, while explicitly named supported sources are respected by default. Automatic catalogue-to-observation verification is implemented for the World Bank, WHO, the United Nations Statistics Division Sustainable Development Goals service, and the European Commission statistical service, while other providers remain available through bounded direct connectors or generic official-data import. Prompt perturbation, statistical red-team generation, minimal-pair tests, and benchmark data support reproducible evaluation of generative, retrieval-augmented, and agentic statistical systems. An embedded alignment layer maps claim-level controls to relevant activities of the Generic Statistical Business Process Model (GSBPM) 5.2, including Analyse, Disseminate, Evaluate, Quality Management, and Metadata Management.
Authors:
AI4OfficialStats_0.2.0.tar.gz
AI4OfficialStats_0.2.0.zip(r-4.7-any)AI4OfficialStats_0.2.0.zip(r-4.6-any)AI4OfficialStats_0.2.0.zip(r-4.5-any)
AI4OfficialStats_0.2.0.tgz(r-4.6-any)AI4OfficialStats_0.2.0.tgz(r-4.5-any)
AI4OfficialStats_0.2.0.tar.gz(r-4.7-any)AI4OfficialStats_0.2.0.tar.gz(r-4.6-any)
AI4OfficialStats_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
AI4OfficialStats/json (API)
| # Install 'AI4OfficialStats' in R: |
| install.packages('AI4OfficialStats', repos = c('https://leilamarvian.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:6c4afa2eca. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 135 | ||
| source / vignettes | OK | 178 | ||
| linux-release | OK | 128 | ||
| macos-release | OK | 88 | ||
| macos-oldrel | OK | 95 | ||
| windows-devel | OK | 83 | ||
| windows-release | OK | 84 | ||
| windows-oldrel | OK | 84 | ||
| wasm-release | OK | 96 |
Exports:api_get_jsonas_stat_claimas_stat_referenceaudit_batchaudit_stat_aiaudit_statsbenchmark_from_referencebls_urlcertify_claimclaim_graphclassify_stat_claimclear_stat_api_keycontext_auditdetect_stat_providerdetect_stat_schemaeurostat_catalogue_urleurostat_urlextract_stat_claimsfetch_blsfetch_eurostatfetch_oecdfetch_stat_apifetch_unsd_sdgfetch_whofetch_worldbankfidelitygeo_auditgsbpm_aligngsbpm_quality_reportgsbpm52_mapimf_api_urlmodel_stabilitynumeric_auditoecd_urlofficial_stat_providersofficialstat_benchmarkons_search_urlperturb_promptproof_bundleread_official_statsread_proofredteam_statsregister_official_providerregister_stat_apirevision_auditrevision_propagation_lagsearch_claim_evidencesearch_eurostatsearch_official_statssearch_onssearch_stat_apisearch_unsd_sdgsearch_whosearch_worldbanksemantic_auditset_stat_api_keysource_auditstat_api_keystat_claimstat_referencestatistical_minimal_pairssuggest_stat_providerstemporal_audittrace_claimtransformation_audituncertainty_auditunit_auditunsd_sdg_data_urlunsd_sdg_series_urlverify_claimverify_proofverify_textweakest_linkwho_odata_urlworldbank_urlwrite_proof
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Audit Statistical Fidelity of AI-Mediated Official Statistics | AI4OfficialStats-package AI4OfficialStats |
| Convert Provider or Ordinary Data to an Official Statistical Reference | as_stat_reference |
| Component-Level Statistical Fidelity Audits | geo_audit numeric_audit revision_audit semantic_audit source_audit temporal_audit uncertainty_audit unit_audit |
| Audit and Summarize Statistical Fidelity | audit_batch audit_stat_ai fidelity print.stat_fidelity_audit print.stat_fidelity_batch weakest_link |
| Official Statistics AI Benchmark Tools | benchmark_from_reference officialstat_benchmark statistical_minimal_pairs |
| Classify, Search, and Verify Natural-Language Statistical Claims | classify_stat_claim search_claim_evidence suggest_stat_providers verify_claim verify_text |
| Audit Statistical Context and Revision Propagation | context_audit revision_propagation_lag |
| Easy import and audit of arbitrary official-statistics data | as_stat_claim audit_stats detect_stat_provider detect_stat_schema read_official_stats |
| Search the Eurostat Catalogue | eurostat_catalogue_url search_eurostat |
| Extract Candidate Statistical Claims from Text | extract_stat_claims |
| Align AI4OfficialStats with GSBPM 5.2 | gsbpm52_map gsbpm_align gsbpm_quality_report print.stat_gsbpm_report |
| Official-Statistics API Connectors | eurostat_url fetch_eurostat fetch_oecd fetch_worldbank oecd_url worldbank_url |
| Write, Read, and Verify Statistical Proof Bundles | read_proof verify_proof write_proof |
| Provenance Graphs and Proof-Carrying Statistical Answers | certify_claim claim_graph print.stat_proof proof_bundle trace_claim |
| Register a generic official-statistics provider profile | register_official_provider |
| Search multiple official-statistics catalogues | search_official_stats |
| Additional official-statistics API connectors and search tools | bls_url fetch_bls fetch_unsd_sdg imf_api_url ons_search_url search_ons search_unsd_sdg search_worldbank unsd_sdg_data_url unsd_sdg_series_url |
| Extensible REST API support and session-only API keys | api_get_json clear_stat_api_key fetch_stat_api official_stat_providers register_stat_api search_stat_api set_stat_api_key stat_api_key |
| Construct an AI-Mediated Statistical Claim | print.stat_claim stat_claim |
| Construct an Official-Statistics Reference Object | print.stat_reference stat_reference |
| Prompt Robustness, Statistical Red-Teaming, and Model Stability | model_stability perturb_prompt redteam_stats |
| Audit a Derived Statistical Transformation | transformation_audit |
| WHO OData connector | fetch_who search_who who_odata_url |
