필터 지우기
필터 지우기

Compute Covariance Matrix for real and foretasted data error

조회 수: 1 (최근 30일)
mehrdad
mehrdad 2013년 9월 28일
댓글: Matt J 2013년 10월 1일
Dear All,
I have one year hourly real and forecasted energy price data.I need to compute covariance matrix for error.I want to put this matrix for daily operation,which means this matrix must be 24*24.
Thank you for your guidance.

답변 (1개)

Matt J
Matt J 2013년 9월 29일
Use the COV command.
  댓글 수: 2
mehrdad
mehrdad 2013년 10월 1일
Dear Matt,
Thank you very much for your guidance,i have calculated hourly error for 365*24,and used cov command for error variance calculation,given me 365*24 matrix,i need to do this calculation for 24 hours,means ,cov error matrix must be 24*24,I have attached my data in excel,please if possible,guide and help me.
Many thanks,
Matt J
Matt J 2013년 10월 1일
mehrdad,
Applying the COV command to a 365x24 matrix should have given you a 24x24 covariance matrix as in the following short example
>> A=rand(365,24); B=cov(A); whos B
Name Size Bytes Class Attributes
B 24x24 4608 double

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Time Series에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by