COVAR_POP

Returns the population covariance of two expressions.

Analyze Syntax

func.covar_pop(get_column(table, 'y'), get_column(table, 'x'))

Analyze Examples

func.covar_pop(get_column(table, 'height'), get_column(table, 'weight'))

┌────────┐
 102.46 
└────────┘

SQL Syntax

COVAR_POP(<y>, <x>)

SQL Examples

SELECT COVAR_POP(height, weight) FROM measurements;

┌────────┐
 102.46 
└────────┘