calcRealWorldFactor​Scores

バージョン 1.0.0.0 (1.36 KB) 作成者: Martyn Dorey
Takes output from factoran and turns into real world explained returns and residuals.
ダウンロード: 1K
更新 2005/3/7

ライセンスがありません

This function extends the factor analysis tool box function factoran.

Once you have produced a factor analysis you then may want work out what the explained, and unexplained parts of the data were- in real world space, rather than some transformed space. It would be nice if this was included in the factoran function but hey ho.

Written Martyn Dorey 20 Aug 2004

Takes output from the factor analysis function factoran and translates it into realworld obervations:

Lets say you've got a matrix or returns in mxAssets, 1)Produce some factor analysis using the MATLAB function:

[mxLoadings,vecIdio,T,stats,mxFactorScores] = factoran(mxAssets);

2)Now split the returns into two parts, that which is explained and the residual.

[mxScoresRealWorld,mxDiv,mxExpX,mxResid,Stats] = calcFactorScores(mxLoadings,mxAssets,vecIdio,T)

I've also included a function that takes simulations of factor distributions and pumps it into real world asset expectations.

Any comments or bugs please send me a message.
Regards
M.

引用

Martyn Dorey (2024). calcRealWorldFactorScores (https://www.mathworks.com/matlabcentral/fileexchange/7052-calcrealworldfactorscores), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R14SP1
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersTime Series についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0