Skip to content

Commit

Permalink
refactor: term is confidence
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Jun 28, 2024
1 parent de24a37 commit 6e44bd0
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 34 deletions.
32 changes: 23 additions & 9 deletions relation/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,28 @@ The standard error is 3 standard deviation of the mean of the sample.

Dispersion of the values of a random variable around its expected value.

### relation:MarginOfError {#MarginOfError}
### relation:Confidence {#MarginOfError}

The margin of error is the range of values below and above the sample statistic in a confidence interval.
Use `Confidence` to specify the level of uncertainty in the estimate. It can be used multiple times,
in which case add `dcterms:type` to each dimension relation to specify the type of confidence
(Margin of Error, Confidence Interval, etc.).

#### 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.
#### relation:ConfidenceUpperBound and relation:ConfidenceUpperBound {#ConfidenceBounds}

In case of asymmetric confidence intervals, use `relation:ConfidenceUpperBound` together with
`relation:ConfidenceUpperBound` to specify the upper and lower bounds of the confidence interval.

```turtle
[
meta:dimensionRelation [
a relation:ConfidenceLowerBound ;
dcterms:type "Confidence interval" ;
meta:relatesTo ex:lowerConfidence ;
],
meta:dimensionRelation [
a relation:ConfidenceLowerBound ;
dcterms:type "Confidence interval" ;
meta:relatesTo ex:upperConfidence ;
]
] .
```
42 changes: 17 additions & 25 deletions relation/relation.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -40,28 +40,20 @@ relation:StandardDeviation a meta:DimensionRelation;
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>.
relation:Confidence a meta:DimensionRelation;
schema:name "Confidence" ;
rdfs:label "Confidence" ;
schema:about <http://www.wikidata.org/entity/Q12483> .

relation:ConfidenceUpperBound
a meta:DimensionRelation ;
schema:name "Confidence (Upper Bound)" ;
rdfs:label "Confidence (Upper Bound)" ;
schema:about <http://www.wikidata.org/entity/Q12483>
.

relation:ConfidenceLowerBound
a meta:DimensionRelation ;
schema:name "Confidence (Lower Bound)" ;
rdfs:label "Confidence (Lower Bound)" ;
schema:about <http://www.wikidata.org/entity/Q12483> .

0 comments on commit 6e44bd0

Please sign in to comment.