Skip to content

Commit

Permalink
feat: margin of error
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Jun 7, 2024
1 parent ddd2c97 commit de24a37
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tricky-numbers-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"cube-link": patch
---

Relation vocabulary: added relation types for asymmetrical margin of error
12 changes: 12 additions & 0 deletions relation/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
26 changes: 26 additions & 0 deletions relation/relation.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 <http://www.wikidata.org/entity/Q12483>;
schema:sameAs <http://www.wikidata.org/entity/Q159375>.

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 <http://www.wikidata.org/entity/Q12483>;
schema:sameAs <http://www.wikidata.org/entity/Q1352827>.

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 <http://www.wikidata.org/entity/Q12483>;
schema:sameAs <http://www.wikidata.org/entity/Q1352827>.

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 <http://www.wikidata.org/entity/Q12483>;
schema:sameAs <http://www.wikidata.org/entity/Q1352827>.

0 comments on commit de24a37

Please sign in to comment.