Skip to main content

Distribution Ontology

Statistical Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 13 October 2026
Audio Overview
FLOW ALGEBRA
DISTRIBUTION ONTOLOGY — STATISTICAL ENTITIES
Version: 1.0 | Date: 2026-10-13
Authors: Mark Higgins — Sky (Recursive AI)
Project: Kireth Semantic Library
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/statistical-entities/distribution-ontology.html
Status: Proposed formalisation; source-page text not independently verified.

flow "StatisticalDistributionOntology" v1.0

ONTOLOGY:
  id: kireth:statistical-distribution
  label: "Statistical Distribution"
  parent: kireth:statistical-entities
  definition: "A representation of how observed or modelled values are allocated across possible values or classes, with frequencies or probabilities as appropriate."

TYPES:
  Dataset: collection<Observation>
  Variable: categorical | ordinal | discrete_numeric | continuous_numeric
  FrequencyDistribution: mapping<ValueOrBin, nonnegative_integer>
  RelativeFrequencyDistribution: mapping<ValueOrBin, real_in_[0,1]>
  CumulativeDistribution: ordered_mapping<ValueOrThreshold, real>
  ProbabilityDistribution: probability_measure_on_measurable_space
  EmpiricalDistribution: probability_measure_from_sample
  DistributionShape: symmetric | skewed | unimodal | multimodal | other
  DistributionSummary: record<location, spread, shape, support>

RELATIONSHIPS:
  Dataset HAS_OBSERVATION Observation
  Observation MEASURES Variable
  Variable HAS_DISTRIBUTION Distribution
  Distribution HAS_SUPPORT ValueSet
  Distribution HAS_FREQUENCY Frequency
  Distribution HAS_CUMULATIVE_FORM CumulativeDistribution
  EmpiricalDistribution ESTIMATES PopulationDistribution
  ProbabilityDistribution ASSIGNS_PROBABILITY MeasurableEvent
  Distribution DESCRIBED_BY DistributionSummary

OPERATIONS:
  frequency(D, v) := count(x in D where value(x) = v)
  relative_frequency(D, v) := frequency(D,v) / size(D)  when size(D) > 0
  empirical_cdf(D, t) := count(x in D where value(x) <= t) / size(D)
    precondition: numeric_or_ordered_values(D) and size(D) > 0
  empirical_measure(D, A) := count(x in D where value(x) in A) / size(D)
    precondition: size(D) > 0
  expectation(P, g) := integral(g(x), dP(x))
    precondition: integrable(g, P)
  variance(P) := expectation(P, (X - expectation(P,X))^2)
    precondition: finite_second_moment(P)

INVARIANTS:
  I1: every_frequency >= 0
  I2: sum(frequencies) = sample_size  when bins are exhaustive and disjoint
  I3: sum(relative_frequencies) = 1  when bins are exhaustive and disjoint and sample_size > 0
  I4: for any probability measure P, P(Omega) = 1
  I5: for any cumulative distribution function F, F is nondecreasing and right-continuous
  I6: lim(x->-infinity) F(x) = 0; lim(x->+infinity) F(x) = 1
  I7: variance(P) >= 0 whenever defined

INFERENCE_RULES:
  R1: exhaustive_disjoint_bins(D,B) and nonempty(D)
      => sum(relative_frequency(D,b) for b in B) = 1
  R2: x <= y => empirical_cdf(D,x) <= empirical_cdf(D,y)
  R3: independent_identically_distributed_sample(D,P) and suitable_sampling_conditions
      => empirical_distribution(D) converges_weakly_to P as sample_size -> infinity
  R4: finite_variance(P) => finite_mean(P)
  R5: probability_mass_function(p) => sum(p(x) for x in support(p)) = 1
  R6: probability_density_function(f) => integral(f(x),dx over R) = 1

SEMANTIC_DISTINCTIONS:
  - A frequency distribution counts sample observations; a probability distribution assigns probabilities.
  - A probability density is not itself a point probability; interval probabilities are integrals.
  - A histogram depends on bin choices and is not identical to the underlying distribution.
  - An empirical distribution is sample-derived, not necessarily the population distribution.
  - Categorical distributions need not possess an inherent cumulative ordering.
  - 'Distribution' here means statistical allocation, not physical delivery or spatial dispersal.

VALIDATION:
  - require variable_type and data_source_or_probability_model
  - require nonnegative counts, masses, and densities where applicable
  - reject zero sample size for relative frequencies and empirical CDF
  - verify disjoint and exhaustive bins before enforcing total-frequency equality
  - verify CDF monotonicity, right continuity and limiting values
  - distinguish discrete mass, continuous density, mixed and singular distributions
  - require stated assumptions for convergence or inferential claims

CONFIDENCE:
  mathematical_axioms: high
  empirical_inference: conditional_on_sampling_assumptions
  unsupported_source_specific_claims: excluded

SEMANTIC_EQUIVALENCE:
  exact: ["statistical distribution", "distribution of a statistical variable"]
  context_dependent: ["frequency distribution", "empirical distribution", "probability distribution"]
  not_equivalent: ["dataset", "histogram", "probability density function"]

UPDATE_MODEL:
  revision_policy: increment_version_on_semantic_or_rule_change
  provenance: record<source_url, author, timestamp, revision>
  backward_compatibility: preserve_existing_entity_identifiers_where_possible

FLOW_HASH:
  method: SHA-256
  canonicalisation: UTF-8; LF line_endings; stable_key_order; exclude_hash_field
  value: COMPUTE_ON_CANONICAL_SERIALISATION

AI_CONSUMPTION:
  entity_resolution: typed
  reasoning: validate_preconditions_before_inference
  uncertainty: preserve_sampling_and_model_assumptions
  output: machine_readable_semantic_relationships
  safety: do_not_conflate_empirical_and_theoretical_probabilities

end flow
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ