ttest of a portfolio

조회 수: 2 (최근 30일)
joseph Frank
joseph Frank 2013년 4월 8일
Hi,
I have a portfolio of stock returns,and R is a matrix of individual stock returns (rows are dates and columns are the stocks). I want to test of the return of the equally weighted portfolio is different than a value that I called Rbar. I used :
[H,Pval,CI,STATS]=ttest(R1,Rbar);
However STATS.tstat returned a vector of t values each corresponding to a stock. I want rather the t test of the whole portfolio. I can't compute the equally weighted return of the portfolio and compute the ttest of that equally weighted return because the variance of a portfolio returns is not the variance of equally weighted returns but rather it depends on the variance of individual returns and the covariances of each pair of stocks. Is their a way to obtain a t test for a portfolio using matlab?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Portfolio Optimization and Asset Allocation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by