expected value of matrix

22 visualizzazioni (ultimi 30 giorni)
rakesh kumar
rakesh kumar il 30 Gen 2022
Modificato: VBBV il 30 Gen 2022
I have a random vector alpha with mean zero and standard deviation one, I want to find the expected value of alpha *alpha transpose
E[alpha*alpha']
0.0994
0.3661
-0.2125
0.2839

Risposta accettata

VBBV
VBBV il 30 Gen 2022
alpha = [0.0994
0.3661
-0.2125
0.2839]
alpha = 4×1
0.0994 0.3661 -0.2125 0.2839
alpha.'
ans = 1×4
0.0994 0.3661 -0.2125 0.2839
E = alpha.*alpha.'
E = 4×4
0.0099 0.0364 -0.0211 0.0282 0.0364 0.1340 -0.0778 0.1039 -0.0211 -0.0778 0.0452 -0.0603 0.0282 0.1039 -0.0603 0.0806
Exp = mean(E) % expected value
Exp = 1×4
0.0133 0.0491 -0.0285 0.0381
Use mean function for your 4x4 matrix
  2 Commenti
rakesh kumar
rakesh kumar il 30 Gen 2022
Dear VBBV,
I have read that if alpha is a random vector then Expectation of [alpha*transpose(alpha)] gives covariance matrix which in this case should be a 4 by 4 matrix. yours answer calucalate the mean of column vector.
VBBV
VBBV il 30 Gen 2022
Modificato: VBBV il 30 Gen 2022
Refer this link for expected value.
You can evaluate covariance using expected value. But your question is related to expected value (which is obtained by taking mean of values ) and not that of covariance.

Accedi per commentare.

Più risposte (1)

KSSV
KSSV il 30 Gen 2022
a = [ 0.0994
0.3661
-0.2125
0.2839] ;
E = a'*a
E = 0.2697
  1 Commento
rakesh kumar
rakesh kumar il 30 Gen 2022
dear kssv i want to find the expected value of alpha* alpha transpose which is a matrix given below. I want the expected value of it.
alpha* alpha'= 0.0099 0.0364 -0.0211 0.0282
0.0364 0.1340 -0.0778 0.1039
-0.0211 -0.0778 0.0452 -0.0603
0.0282 0.1039 -0.0603 0.0806
>>

Accedi per commentare.

Categorie

Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by