covar_samp
Sample covariance
Parameter | Type | Description |
---|---|---|
| decimal, double | the independent variable |
| decimal, double | the dependent variable |
Returns: decimal
Example
Query:
PREFIX : <https://ddw-doccorp.linked.data.world/d/sparql-aggregation-sample-queries/> PREFIX agg: <http://data.world/function/aggregate#> SELECT (agg:covar_samp(?foo, ?bar) AS ?covar_samp) { [ :col-aggregations-foo ?foo ; :col-aggregations-bar ?bar ] }
Result:
covar_samp |
---|
-362.43333 |