covar_pop
Population covariance
Returns: decimal
Table 1.
Parameter | Type | Description |
|---|---|---|
ys | decimal, double | the independent variable |
xs | decimal, double | the dependent variable |
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
]
}Table 1. Results
covar_pop |
|---|
-302.02778 |