Skip to content
Skip to main content
DigiCalcs

Matematika

Kovariancia Kalkulátor

Covariance Calculator

X Values (space/comma separated)
Y Values

✓Eredmények

Covariance
4.4286
Correlation (r)
0.9764
n
8
Correlation: Strong positive

What is Covariance Calculator?

▾

A kovariancia azt méri, hogy két változó hogyan változik együtt. A pozitív kovariancia azt jelenti, hogy együtt nőnek; negatív azt jelenti, hogy az egyik növekszik, ahogy a másik csökken. Ez az alapja a korreláció- és portfólióelméletnek.

DigiCalcs delivers precision-engineered tools for engineers and STEM professionals.

Képlet

▾
f(x)Cov(X,Y) = E[(X − μₓ)(Y − μᵧ)] = (Σ(xᵢ − x̄)(yᵢ − ȳ)) / (n−1)

Variable Legend

▾
SzimbólumNévEgységLeírás
X, Ytwo variables/datasets——
μₓ, μᵧmeans of X and Y——
Cov(X,Y)covariance—measure of joint variability
nnumber of data points——

How to Covariance Calculator

▾
  1. 1Sample covariance: Cov(X,Y) = Σ(xᵢ−x̄)(yᵢ−ȳ) / (n−1)
  2. 2Positive: variables move together
  3. 3Negative: variables move oppositely
  4. 4Zero: no linear relationship

Worked Examples

▾
Example 1
Given:X=[2,4,4,4,5], Y=[1,3,3,4,4]
Eredmény:Cov ≈ 0.95 (positive relationship)

Real-World Applications

▾
🏗️

Portfolio analysis and risk management

🔬

Finance and stock correlation

📊

Machine learning (feature relationships)

🏥

Statistical analysis and regression

⚙️

Quality control and process monitoring

Covariance Interpretation

▾
SignMeaningExample
PositiveVariables increase togetherHeight & weight
NegativeInverse relationshipPrice & demand
ZeroNo linear relationshipShoe size & IQ
Normalised = rCorrelation coefficient−1 to +1 range

Frequently Asked Questions

▾
Q

What does positive covariance mean?

A

Positive covariance: when X increases, Y tends to increase. They vary together.

Q

What does zero covariance mean?

A

Zero covariance suggests no linear relationship, but nonlinear relationships may exist.

Q

How is covariance related to correlation?

A

Correlation = Cov(X,Y) / (σₓ × σᵧ). Correlation is covariance normalized to [−1, 1].

Accuracy-checked
Reviewed October 2026
Our methodology

Szerezzen heti matematikai tippeket

Csatlakozzon 12 000+ feliratkozóhoz, akik minden héten kapnak tippeket a számológéphez.

🔒
Ingyenes
Minden eszköz örökre ingyenes
✓
Pontos
Szakemberek által ellenőrzött számítások
⚡
Azonnali
Valós idejű eredmények gépelés közben
📱
Mobilbarát
Minden eszközön tökéletesen működik

Beállítások