That sounds correct if each parameter has been measured the same number of times but need not be case. Ideally we want to know the number of rows where dependent_parameter is not Null. One could perhaps use count to get the number of rows where dependent_parameter is not Null. See https://www.w3schools.com/sql/sql_count_avg_sum.asp