5.5.2 · HinglishPortfolio Theory

Learn correlation and covariance

1,597 words7 min readRead in English

5.5.2 · Stock-Market › Portfolio Theory


WHY do we even need this?


WHAT is covariance?

HOW: covariance ko scratch se derive karna

Yeh idea se shuru karo ki "kya deviations ka sign agree karta hai?"

  1. ka apne centre se deviation: .
  2. ka deviation: .
  3. Inhe multiply karo. Agar dono positive ya dono negative hain, toh . Agar sign disagree kare, toh . Toh product ka sign literally record karta hai "same direction ya opposite."
  4. Tendency summarise karne ke liye saare outcomes pe average lo:

Sample version ( historical data points se), jo aap actually compute karte hain: kyun? Humne data ko do baar use kiya — ek baar estimate karne ke liye, ek baar deviations ke liye — toh humne ek degree of freedom "use up" kar liya; se divide karna resulting downward bias ko correct karta hai.


WHAT is correlation?

HOW: correlation se bounded kyun hai

Standard deviations se divide karo taaki standardised variables milein (mean 0, variance 1). Tab .

Yeh hamesha-nonnegative quantity consider karo: Expand karo: Similarly se milta hai. Isliye . (Yeh Cauchy–Schwarz inequality ka disguised form hai.)

Figure — Learn correlation and covariance

WHY this matters: portfolio variance


Worked examples


Common mistakes (Steel-manned)


Recall Ek 12-saal ke bachche ko explain karo (Feynman)

Do doston ko see-saw par imagine karo. Covariance poochtha hai: jab ek upar jaata hai, kya doosra bhi upar jaata hai, ya neeche? Positive number = dono saath upar jaate hain; negative = ek upar, doosra neeche. Lekin covariance mein strange units hote hain, toh yeh kehna mushkil hai ki yeh "bahut zyada" hai ya nahi. Correlation wahi idea hai lekin fairly score kiya gaya se tak: = perfect same-direction team, = perfect opposite see-saw, = koi pattern nahi. Investing mein, aap aise doston chahte ho jo tab zig kare jab baaki zag kare — kyunki jab ek stock drop kare, doosra aapki basket ko wapas utha le.


Flashcards

Covariance kya measure karta hai?
Do variables ke means se deviations ka average product — unke co-movement ki direction aur raw magnitude.
Covariance ki definition formula?
.
Covariance ka computational form?
.
Correlation ko covariance se kaise define karte hain?
.
Correlation coefficient ki range?
.
se divide kyun karte hain?
Units/scale remove karne ke liye, jo ek dimensionless, comparable strength score deta hai jo se bounded ho.
Kya independence imply karta hai?
Nahi — yeh sirf linear relationship ko rule out karta hai; nonlinear dependence phir bhi exist kar sakti hai.
Two-asset portfolio variance formula?
.
Sabse zyada diversification benefit kaunsa correlation deta hai?
Sabse zyada negative ( portfolio variance ko 0 tak le ja sakta hai).
Sample covariance mein kyun use karte hain?
Bessel's correction — mean data se estimate kiya gaya tha, toh ek degree of freedom lost ho jaata hai; downward bias correct karta hai.
prove karne wali inequality?
Cauchy–Schwarz, standardised variables ke saath ke zariye.

Connections

  • Variance and Standard Deviation — building blocks .
  • Diversification — negative correlation risk kyun reduce karta hai.
  • Portfolio Variance — jahaan covariance directly enter karta hai.
  • Efficient Frontier — correlation frontier ki curve ko shape karta hai.
  • Beta and CAPM — beta .
  • Cauchy–Schwarz Inequality — woh math jo ko bound karta hai.

Concept Map

insufficient for

depends on

measured by

defined as

expand to

estimate via

corrects

has scale problem

fixed by rescaling

formula

bounded in

enables

Variance risk of one stock

Portfolio risk

Co-movement of pairs

Covariance

E[(X-muX)(Y-muY)]

E[XY] - muX muY

Sample form with n-1

Downward bias / lost degree of freedom

Depends on units

Correlation rho

Cov / (sigmaX sigmaY)

Range -1 to +1

Diversification