calqulio.
◎ English · Global

Covariance of the variables — Variance of a Linear Combination Calculator

Variance of a Linear Combination: Calculate covariance of the variables from Combination variance, First weight, Second weight, First variable variance, Second variable variance. Check the formula, input units and worked result on this page.

Enter your values

Formula symbol: variance. Enter a numeric value. Use a non-negative value.
Formula symbol: a. Enter a numeric value.
Formula symbol: b. Enter a numeric value.
Formula symbol: vx. Enter a numeric value. Use a non-negative value.
Formula symbol: vy. Enter a numeric value. Use a non-negative value.

Use a decimal point, without thousands separators.

Variance and covariance use matching squared units. Covariance magnitude cannot exceed the product of deviations. Zero correlation is not assumed.
Example result
Covariance of the variables
0

The initial result uses the example values. Enter your own values and calculate again.

Edit inputs

How it works

Variance of a weighted sum includes squared-weight variance terms and twice the weighted covariance. This form solves for covariance of the variables; enter the known quantities in Combination variance, First weight, Second weight, First variable variance, Second variable variance.

Inputs and units
Covariance of the variables — Variance of a Linear Combination Calculator · Inputs and units
InputExample valueWhat to enter
Combination variance13Formula symbol: variance. Enter a numeric value. Use a non-negative value.
First weight1Formula symbol: a. Enter a numeric value.
Second weight1Formula symbol: b. Enter a numeric value.
First variable variance4Formula symbol: vx. Enter a numeric value. Use a non-negative value.
Second variable variance9Formula symbol: vy. Enter a numeric value. Use a non-negative value.
cov = (((variance - ((a ^ 2) * vx)) - ((b ^ 2) * vy)) / (2 * a * b))

Worked example

Show example inputs and results

This example is generated by the same calculation engine using the starting values in the form. Your own inputs produce your own result.

Combination variance
13
First weight
1
Second weight
1
First variable variance
4
Second variable variance
9

Complete example results

Covariance of the variables
0

Reading the result

The result solves for covariance of the variables from the entered quantities. Check the result unit and the formula conditions before using it.

Questions and answers

Can I use the example values for my own calculation?

The example values illustrate the calculation. Replace every input with your own information, especially dates, rates and the selected operation.

When can I use the covariance of the variables result?

Variance and covariance use matching squared units. Covariance magnitude cannot exceed the product of deviations. Zero correlation is not assumed.

Why are some results rounded?

Results display up to 8 decimal places. Calculations use the unrounded values; very small values use scientific notation. JavaScript floating-point arithmetic can introduce tiny rounding differences.

Are my inputs sent to a server?

The calculator processes inputs in your browser. Its code does not send your values to a server.

Method sources: online.stat.psu.edu

Methods & accuracy

What would you like to calculate?

Browse all calculators

Graphing calculator ↗