AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
STATISTICAL ENTITY ONTOLOGY
Version: 1.0
Date: 2026-10-13
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/statistical-entities/statistical-entity-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
Project: Kireth Semantic Library | https://kirethresearch.org
1. PURPOSE
Represent statistical entities, their typed relations, constraints, transformations, and inferential dependencies in a machine-readable conceptual flow. This is a standalone formalisation; page-specific text has not been verified.
2. TYPES
StatisticalEntity := Population | Unit | Sample | Observation | Variable | Dataset | Parameter | Statistic | Estimator | Estimate | Distribution | SamplingDesign | Hypothesis | Test | IntervalEstimate | Model.
Population := collection of eligible units under a defined scope.
Sample := selected units or observations from a population or sampling frame.
Variable := measurable or categorical attribute with declared domain.
Observation := recorded value of a variable for a unit, optionally at a time.
Parameter := property of a population or probability model.
Statistic := measurable function of observed sample data.
Estimator := statistic used to infer an unknown parameter.
Estimate := realised value of an estimator.
3. TYPED RELATIONS
belongs_to(Unit, Population)
selected_from(Sample, Population_or_Frame)
measures(Observation, Variable)
observed_on(Observation, Unit)
contained_in(Observation, Dataset)
describes(Parameter, Population_or_Model)
computed_from(Statistic, Dataset)
estimates(Estimator, Parameter)
realises(Estimate, Estimator)
assumes(Model, Assumption)
tests(Test, Hypothesis)
quantifies_uncertainty(IntervalEstimate, Parameter)
4. CORE FORMAL RULES
Let X_1,...,X_n be observations and n > 0.
sample_mean := (1/n) * SUM_i X_i.
sample_variance := (1/(n-1)) * SUM_i (X_i - sample_mean)^2, n > 1.
population_mean := E[X], if expectation exists.
population_variance := E[(X-E[X])^2], if finite.
standard_error(sample_mean) := sigma/sqrt(n) only for independent identically distributed observations with finite variance sigma^2.
An estimator T(X_1,...,X_n) is unbiased for theta iff E_theta[T] = theta for all theta in its parameter domain, where expectation exists.
5. INFERENCE FLOWS
Population -> SamplingFrame -> SamplingDesign -> Sample -> Observations -> Dataset -> Statistic -> Estimate -> UncertaintyAssessment -> Interpretation.
Model + Assumptions + Dataset -> Estimation or HypothesisTest -> Diagnostics -> QualifiedConclusion.
Missingness + MeasurementError + SelectionBias -> ValidityChecks -> CaveatedInference.
6. VALIDATION
V01: Every Observation references a declared Variable and an eligible Unit.
V02: Dataset values conform to variable domain, units, and missing-value semantics.
V03: Statistic declares its input data and computation.
V04: Estimator identifies target Parameter and assumptions.
V05: A sample variance with denominator n-1 requires n > 1.
V06: Confidence level is distinguished from posterior probability.
V07: Association must not be asserted as causation without identification assumptions.
V08: Sampling-frame coverage and nonresponse are recorded where relevant.
7. SEMANTIC DISTINCTIONS
Population != Sample.
Parameter != Statistic.
Estimator != Estimate.
ProbabilityDistribution != ObservedFrequencyDistribution.
StandardDeviation != StandardError.
ConfidenceInterval != CredibleInterval.
Correlation != Causation.
8. CONFIDENCE AND PROVENANCE
CONFIDENCE: attach claim-level confidence, calibration method, assumptions, and uncertainty source; never interpret confidence as mathematical proof.
PROVENANCE: source URI, author, date, method, data lineage, version, and validation status.
SEMANTIC_EQUIVALENCE: declare equivalence only when definitions, scope, units, and assumptions match.
9. UPDATE_MODEL
On dataset revision: invalidate affected statistics, estimates, diagnostics, and downstream conclusions; recompute dependencies and record version history.
On ontology revision: preserve stable identifiers, document breaking type changes, and revalidate all mapped relations.
10. FLOW_HASH
Canonicalise the versioned flow specification (UTF-8, stable key order, normalised line endings) and compute SHA-256 over canonical bytes. FLOW_HASH is a runtime-generated value, not a fabricated fixed digest.
11. AI_CONSUMPTION
Parse typed entities -> resolve identifiers -> check constraints -> build dependency graph -> perform supported computations -> report assumptions and uncertainty -> provide traceable conclusions.
Do not infer causal effects, population representativeness, or statistical significance from entity labels alone.
END FLOW ALGEBRA