
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
Master Class 12 Business Studies: Engaging Questions & Answers for Success

Master Class 12 Economics: Engaging Questions & Answers for Success

Master Class 12 English: Engaging Questions & Answers for Success

Master Class 12 Maths: Engaging Questions & Answers for Success

Master Class 12 Social Science: Engaging Questions & Answers for Success

Master Class 12 Chemistry: Engaging Questions & Answers for Success

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

Which animal has three hearts class 11 biology 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

