From de24a376bfa706f6eef9e46cb7685c126d0f04cb Mon Sep 17 00:00:00 2001 From: Tomasz Pluskiewicz Date: Fri, 7 Jun 2024 13:46:39 +0200 Subject: [PATCH] feat: margin of error --- .changeset/tricky-numbers-pay.md | 5 +++++ relation/core.md | 12 ++++++++++++ relation/relation.ttl | 26 ++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 .changeset/tricky-numbers-pay.md diff --git a/.changeset/tricky-numbers-pay.md b/.changeset/tricky-numbers-pay.md new file mode 100644 index 0000000..4539494 --- /dev/null +++ b/.changeset/tricky-numbers-pay.md @@ -0,0 +1,5 @@ +--- +"cube-link": patch +--- + +Relation vocabulary: added relation types for asymmetrical margin of error diff --git a/relation/core.md b/relation/core.md index b43ac95..8f98f4b 100644 --- a/relation/core.md +++ b/relation/core.md @@ -22,3 +22,15 @@ The standard error is 3 standard deviation of the mean of the sample. ### relation:StandardDeviation {#StandardDeviation} Dispersion of the values of a random variable around its expected value. + +### relation:MarginOfError {#MarginOfError} + + The margin of error is the range of values below and above the sample statistic in a confidence interval. + +#### relation:MarginOfErrorUpperBound {#MarginOfErrorUppoerBound} + + In case of asymmetric confidence intervals, the upper bound of the margin of error. + +#### relation:MarginOfErrorLowerBound {#MarginOfErrorLowerBound} + + In case of asymmetric confidence intervals, the lower bound of the margin of error. diff --git a/relation/relation.ttl b/relation/relation.ttl index 6212512..5b4ad20 100644 --- a/relation/relation.ttl +++ b/relation/relation.ttl @@ -39,3 +39,29 @@ relation:StandardDeviation a meta:DimensionRelation; rdfs:comment "Dispersion of the values of a random variable around its expected value."; schema:about ; schema:sameAs . + +relation:MarginOfError a meta:DimensionRelation; + schema:name "Margin of Error"; + rdfs:label "Margin of Error"; + schema:description "The margin of error is a statistic expressing the amount of random sampling error in a survey's results."; + rdfs:comment "The margin of error is a statistic expressing the amount of random sampling error in a survey's results."; + schema:about ; + schema:sameAs . + +relation:MarginOfErrorUpperBound + a meta:DimensionRelation; + schema:name "Margin of Error (Upper Bound)"; + rdfs:label "Margin of Error (Upper Bound)"; + schema:description "The upper bound of the margin of error."; + rdfs:comment "The upper bound of the margin of error."; + schema:about ; + schema:sameAs . + +relation:MarginOfErrorLowerBound + a meta:DimensionRelation; + schema:name "Margin of Error (Lower Bound)"; + rdfs:label "Margin of Error (Lower Bound)"; + schema:description "The lower bound of the margin of error."; + rdfs:comment "The lower bound of the margin of error."; + schema:about ; + schema:sameAs .