Info
この質問は閉じられています。 編集または回答するには再度開いてください。
A log returns distribution with median zero
3 ビュー (過去 30 日間)
表示 古いコメント
Hi,
I have a time series of monthly log returns, to which I subtracted the median, so that they have zero median. I did this because I want the price distribution (kernel) for each month to have median X. So that for the first month P = X*exp(ln), such that the median of P is X. And for the second P'=X*exp(ln)*exp(ln'). I do this for twelve months.
The problem is that although the time series of returns have median zero, when I fit ksdensity and run 500.000 iterations, the median is not zero and so after 12 months P'''''''''''' is very different from X. Anyone knows what can I do?
Thanks,
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!