<< Go back to all functions

COVARIANCE.S

The COVARIANCE.S function in Google Sheets calculates the covariance of a dataset, where the dataset is a sample of the total population.

Function Syntax and Parameters

Syntax: COVARIANCE.S(data_y, data_x)

Parameters:

  • data_y: The range representing the dependent dataset.
  • data_x: The range representing the independent dataset.

Step-by-Step Tutorial

  1. Using COVARIANCE.S with two datasets:
    • Example: =COVARIANCE.S(A1:A10, B1:B10)

Use Cases and Scenarios

  1. Financial Analysis: Calculate the covariance between the returns of two stocks.
  2. Market Research: Determine the covariance between two variables in a survey.
  3. Scientific Research: Analyze the covariance between two sets of experimental data.

Related Functions

  • COVARIANCE.P: Calculates the covariance of a dataset, where the dataset represents the entire population.

Please let me know if you need anything else.