covar_pop
Population 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_pop(?foo, ?bar) AS ?covar_pop) { [ :col-aggregations-foo ?foo ; :col-aggregations-bar ?bar ] }
Result:
covar_pop |
---|
-302.02778 |