
How do you calculate the covariance between two discrete variables?
Answer
516.6k+ views
Hint: We need to find the formula to calculate the covariance between two discrete variables. Covariance in probability and statistics is used to calculate the joint probability of two random variables. For the given question, we find the formula of covariance for the variables X, Y in terms of variables x, y.
Complete step by step solution:
A random variable is a variable whose value is unknown. The value of a random variable depends on the outcomes of the random event.
The random variables are of two types namely,
1. Continuous random variable
2. Discrete random variable
The continuous random variable can take infinitely many values.
The discrete random variable can only take a countable number of values.
Covariance, in mathematics, tells us how the two random variables vary together. It is the same as variance except for that variance deals with only a single variable.
The larger the values of random variables the larger the covariance and vice versa. The larger value of covariance means a strong relationship between the variables.
According to our question,
Let us consider two discrete random variables X, Y.
The covariance of the discrete random variables X, Y is given as follows,
$\Rightarrow Cov(X,Y)=\dfrac{1}{n}\sum\nolimits_{i=1}^{n}{{{x}_{i}}{{y}_{i}}}-\left( \dfrac{1}{n}\sum\nolimits_{i=1}^{n}{{{x}_{i}}} \right)\left( \dfrac{1}{n}\sum\nolimits_{i=1}^{n}{{{y}_{i}}} \right)$
Here,
n = no of data terms;
${{x}_{i}}$ = The values of the variable X;
${{y}_{i}}$ = The values of the variable Y
Note: The significant application of covariance is to check the linear relationship between the random variables. The concept of Covariances is widely used in finance theory, data embedding, and feature extraction.
Complete step by step solution:
A random variable is a variable whose value is unknown. The value of a random variable depends on the outcomes of the random event.
The random variables are of two types namely,
1. Continuous random variable
2. Discrete random variable
The continuous random variable can take infinitely many values.
The discrete random variable can only take a countable number of values.
Covariance, in mathematics, tells us how the two random variables vary together. It is the same as variance except for that variance deals with only a single variable.
The larger the values of random variables the larger the covariance and vice versa. The larger value of covariance means a strong relationship between the variables.
According to our question,
Let us consider two discrete random variables X, Y.
The covariance of the discrete random variables X, Y is given as follows,
$\Rightarrow Cov(X,Y)=\dfrac{1}{n}\sum\nolimits_{i=1}^{n}{{{x}_{i}}{{y}_{i}}}-\left( \dfrac{1}{n}\sum\nolimits_{i=1}^{n}{{{x}_{i}}} \right)\left( \dfrac{1}{n}\sum\nolimits_{i=1}^{n}{{{y}_{i}}} \right)$
Here,
n = no of data terms;
${{x}_{i}}$ = The values of the variable X;
${{y}_{i}}$ = The values of the variable Y
Note: The significant application of covariance is to check the linear relationship between the random variables. The concept of Covariances is widely used in finance theory, data embedding, and feature extraction.
Recently Updated Pages
Why is there a time difference of about 5 hours between class 10 social science CBSE

In cricket, what is a "pink ball" primarily used for?

In cricket, what is the "new ball" phase?

In cricket, what is a "death over"?

What is the "Powerplay" in T20 cricket?

In cricket, what is a "super over"?

Trending doubts
What is meant by exothermic and endothermic reactions class 11 chemistry CBSE

10 examples of friction in our daily life

One Metric ton is equal to kg A 10000 B 1000 C 100 class 11 physics CBSE

1 Quintal is equal to a 110 kg b 10 kg c 100kg d 1000 class 11 physics CBSE

Difference Between Prokaryotic Cells and Eukaryotic Cells

The camels hump is made of which tissues a Skeletal class 11 biology CBSE

