Skip to main content

Correlation Concept Ontology

Relationship Concepts
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 December 2026
Audio Overview
CORRELATION CONCEPT ONTOLOGY
Standard Flow Algebra | Version 1.0 | 2026-12-02 | UTF-8
Authors: Mark Anthony Higgins — Sky Recursive AI
Publisher attribution: Kireth Research
Licence attribution: Open Research Licence; citation required; consult published terms.
Canonical source: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/relationship-concepts/correlation-concept-ontology.html
Integration: Semantic Library / AI Core / Entity Graph / Abstract Concepts / Relationship Concepts / Correlation Concept Ontology
Status: Proposed formalisation; live source, exact licence terms and published grammar not independently verified.

1. DEFINITION AND SCOPE
Correlation describes statistical association between variables under a specified population, sampling scheme and context. A broader semantic correspondence may be represented as an association but must not be assigned a statistical coefficient without suitable observations. Correlation does not establish causation, identity, necessity or ontological dependence. A coefficient describes a particular estimand and is not a universal property of two entities.

2. CANONICAL REPRESENTATION
EntityRef = (namespace, identifier, revision)
Variable = (id, entityRef, property, measurementScale, unit, domain)
Context = (population, samplingFrame, interval, conditioning, lagConvention, policyRevision)
Observation = (pairKey, variableRef, value, time, uncertainty, provenance)
PairSet = (X, Y, matchedRows, exclusions, missingPolicy, context)
Correlation = (id, variableRefs, method, estimand, estimate, sampleSize, uncertainty, context, evidenceRefs, revision, status)
Status = {supported, refuted, disputed, unknown, undefined}
A correlation record distinguishes the population parameter from its sample estimate. An undefined coefficient is not zero. Confidence in a claim is not the magnitude of its coefficient.

3. CORRELATION FAMILIES
Pearson: linear association between quantitative variables.
Spearman: Pearson correlation of ranks, with documented tie handling.
Kendall tau-b: ordinal concordance adjusted for ties.
Partial: association between residuals after a specified adjustment model.
Cross-correlation: association between time series at a declared lag.
Autocorrelation: association of a series with its own lagged values.
Conditional: association within a defined stratum or conditional distribution.
Semantic correspondence: non-statistical association, separately typed.
Positive and negative signs indicate direction under the selected coding. Zero Pearson correlation does not generally imply independence.

4. TYPED FLOW OPERATORS
Resolve: EntityRef × Context -> ResolutionResult
Select: EntitySet × PropertySpec -> VariableSet
Align: ObservationSet × PairingPolicy × Context -> PairSet or Undefined
Check: PairSet × MethodSpec -> ValidationReport
Estimate: PairSet × MethodSpec -> Estimate or Undefined
Quantify: PairSet × Estimate × UncertaintyPolicy -> UncertaintyReport
Stratify: PairSet × StratumSpec -> PairSetCollection
Adjust: PairSet × CovariateModel -> ResidualPairSet or Undefined
Compare: Correlation × Correlation × ComparisonPolicy -> ComparisonReport
Assess: Correlation × EvidenceSet -> Assessment
Refine: Correlation × EvidenceSet × ValidationReport -> CandidateCorrelation
Commit: CandidateCorrelation × Approval × ExpectedRevision -> Correlation or Conflict
Operators are proposed typed knowledge transformations, not executable permissions.

5. COMPOSITE FLOWS
Discovery: Resolve entities -> Select variables -> Align observations -> Check assumptions -> Estimate -> Quantify uncertainty -> Assess -> Commit if approved.
Conditional analysis: Align -> Stratify -> Check each stratum -> Estimate -> Compare pooled and conditional results -> Record limitations.
Temporal analysis: Declare lag convention -> Align timestamps -> Assess stationarity and trend -> Estimate lagged associations -> Adjust for multiple comparisons -> Validate.
Revision: Receive new observations -> Check provenance and overlap -> Re-estimate under recorded policy -> Compare revisions -> Approve and commit.
Causal boundary: Detect association -> Form causal hypothesis -> Require independent identification assumptions and evidence -> Refer to causal reasoning ontology; never promote automatically.

6. ALGEBRAIC AND MATHEMATICAL RULES
For n matched finite pairs, define xbar=sum(x_i)/n and ybar=sum(y_i)/n.
Sxx=sum((x_i-xbar)^2); Syy=sum((y_i-ybar)^2); Sxy=sum((x_i-xbar)(y_i-ybar)).
r=Sxy/sqrt(Sxx*Syy), defined only when n>=2 and both sums of squares are positive.
By Cauchy-Schwarz, -1<=r<=1. Pearson r(X,Y)=r(Y,X) on the same matched sample. r(X,X)=1 only for nonconstant X.
For nonzero a,c, r(aX+b,cY+d)=sign(a*c)*r(X,Y). Nonlinear transformations need not preserve r.
Spearman rho = Pearson(rank(X),rank(Y)), using average ranks for ties under the chosen policy.
Kendall tau-b=(C-D)/sqrt((C+D+T_x)(C+D+T_y)), where C,D are concordant and discordant pairs and T_x,T_y count ties only in X or Y respectively. A zero denominator yields undefined.
Partial Pearson correlation for one covariate Z: r_xy.z=(r_xy-r_xz*r_yz)/sqrt((1-r_xz^2)(1-r_yz^2)), when all coefficients use the same sample and the denominator is positive.
Correlation is not transitive. For independent centred unit-variance X and Z, Y=X+Z gives corr(X,Y)=corr(Y,Z)=1/sqrt(2) while corr(X,Z)=0.
A valid population correlation matrix is symmetric positive semidefinite with unit diagonal for nonconstant variables. Pairwise deletion may produce a sample matrix that violates positive semidefiniteness; flag rather than silently repair it.
For lag k, define r_xy(k)=corr(X_t,Y_(t+k)) on declared matched times. Under consistent pairing, r_xy(k)=r_yx(-k). A lagged peak is not proof of causal direction.

7. UNCERTAINTY AND EVIDENCE
For independent identically distributed bivariate normal pairs and |r|<1, n>3, an approximate Fisher interval is tanh(atanh(r) ± z_(1-alpha/2)/sqrt(n-3)). This approximation is not universal; clustered or serially dependent observations need an appropriate method such as block bootstrap or model-based inference.
Record missingness, selection bias, measurement error, outliers, range restriction, repeated testing and sample overlap. Report effect size and uncertainty separately from significance. Failure to reject zero correlation does not establish absence of association.
For multiple exploratory tests, declare the family and correction method (e.g. Holm for family-wise error control). Do not select only significant lags or strata without reporting selection.

8. STRUCTURAL INVARIANTS
I01 Every variable has a resolved identity or an explicit unresolved status.
I02 Every estimate names its method, context and estimand.
I03 Paired observations have traceable matching keys and exclusions.
I04 Undefined variance or insufficient sample is not encoded as zero.
I05 Pearson coefficients remain within [-1,1] subject to numerical tolerance.
I06 Symmetry applies only to the same method, sample and compatible context.
I07 No transitive correlation inference is permitted by default.
I08 Correlation magnitude is distinct from epistemic confidence.
I09 Statistical association alone cannot create a causal edge.
I10 Conditioning, lag and aggregation policies remain attached to results.
I11 Revisions preserve original observations, evidence and prior estimates.
I12 Recursive refinement terminates within a declared budget or records unresolved status.

9. RECURSIVE REFINEMENT
Let K_k be the versioned knowledge graph and E_k newly available evidence. Candidate C_k=Refine(K_k,E_k,V_k), where V_k is the validation report. Validate C_k before approval and atomic commit. Stop when no material change remains under a declared tolerance, evidence is exhausted, or the iteration budget is reached. Convergence of estimates does not prove correctness; systematic bias may persist. Prevent circular evidence by tracking derivation ancestry and avoid counting repeated copies as independent observations. Recompute affected claims when pairing, measurement or context changes.

10. WORKED EXAMPLES
A. X=(1,2,3), Y=(2,4,6): r=1. This is perfect sample linear association, not proof that X causes Y.
B. X=(-2,-1,0,1,2), Y=(4,1,0,1,4): r=0 although Y=X^2. Nonlinear dependence remains.
C. X=(1,1,1), Y=(2,3,4): r undefined because Sxx=0.
D. Engineering: ambient temperature and cooling energy may correlate; occupancy and season can confound interpretation. Record operating regime and measurement intervals.
E. Knowledge graph: two concepts co-occurring in documents may be semantically associated; a statistical coefficient requires an explicit document population and coding scheme.
F. Aggregation: two groups may show positive within-group correlations but a negative pooled correlation. Retain group labels and avoid treating pooled results as universal.

11. CROSS-ONTOLOGY INTEGRATION
Relationship Concept: parent relational semantics.
Association: broader relationship category; statistical correlation is a typed specialisation.
Connection and Link: represent evidence-bearing graph edges without implying causation.
Dependency and Interdependency: require separately validated reliance conditions.
Similarity and Equivalence: correlation does not imply identity or equivalence.
Observation and Measurement: supply paired data and measurement uncertainty.
Evidence, Provenance and Confidence: support traceable assessment and revision.
State, Event and Process: supply temporal context and lagged observations.

12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01 Perfect positive linear pairs return +1.
T02 Perfect negative linear pairs return -1.
T03 Constant variable returns undefined.
T04 Swapping variables preserves zero-lag Pearson estimate on identical pairs.
T05 Positive affine scaling preserves Pearson estimate; negative scaling reverses sign.
T06 Quadratic example returns zero Pearson without asserting independence.
T07 Missing pair keys trigger validation failure or documented exclusion.
T08 Correlation chain does not create a transitive edge.
T09 Association cannot be committed as causal without independent justification.
T10 Lag reversal preserves the declared cross-correlation correspondence.
T11 Invalid correlation matrix is flagged.
T12 Revision preserves provenance and terminates under budget.

13. CITATION AND RESEARCH STATUS
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Correlation Concept Ontology — Standard Flow Algebra, v1.0. Kireth Research, AI Semantic Library. Canonical source URL as listed above.
Licence attribution: Open Research Licence, citation required; exact published terms not independently verified.
This document is a newly proposed formalisation based on the supplied ontology title and established project structure, not a verified transcription of the live page. Operators are local proposed notation; compatibility with the complete published Flow Algebra grammar has not been established. Acceptance tests are specifications, not executed test results.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ