How do you calculate the covariance between two discrete variables?
Answer
581.1k+ 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 10 Computer Science: Engaging Questions & Answers for Success

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

Master Class 10 Science: Engaging Questions & Answers for Success

Class 10 Question and Answer - Your Ultimate Solutions Guide

Master Class 10 Maths: Engaging Questions & Answers for Success

Master Class 10 English: Engaging Questions & Answers for Success

Trending doubts
Difference Between Prokaryotic Cells and Eukaryotic Cells

Two of the body parts which do not appear in MRI are class 11 biology CBSE

10 examples of friction in our daily life

Draw a diagram of nephron and explain its structur class 11 biology CBSE

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

Draw a diagram of a plant cell and label at least eight class 11 biology CBSE

