An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-finance/attachments/20110919/972c984b/attachment.asc>
missing data in return series...
5 messages · ShyhWeir Tzang, Patrick Burns, Eric Zivot
There are two functions in the BurStFin
package ('factor.model.stat' and 'var.shrink.eqcor')
that will create variance matrix estimates
when there are missing values in the return
matrix.
The second of those gives Ledoit-Wolf estimates,
and is probably going to give the more useful
results.
I believe that the best way to handle missing values
for these estimates is still an open research question.
The functions handle missing values, no claim that
they do it optimally.
You can get the package via:
install.packages('BurStFin', repos='http://www.burns-stat.com/R')
As for means: historical means are in general not
of much use, so it is unlikely that it will matter
how you estimate them.
On 19/09/2011 08:26, ShyhWeir Tzang wrote:
Dear all:
I have a portfolio of about 50 stocks of which about 10~15 stocks with
unequal lengths. That means they have shorter historical return series than
others. How may I estimate the covariance matrix and mean of the stocks? Is
the Stambaugh (1997) ("Analyzing investments whose histories differ in
length") method still valid for individual stocks instead of funds? Is there
any better way or more efficient way to estimate their mean and covariance
matrix? Any help or suggestion is highly appreciated.
--
[[alternative HTML version deleted]]
_______________________________________________ R-SIG-Finance at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance -- Subscriber-posting only. If you want to post, subscribe first. -- Also note that this is not the r-help list where general R questions should go.
Patrick Burns patrick at burns-stat.com http://www.burns-stat.com http://www.portfolioprobe.com/blog twitter: @portfolioprobe
I would look at the package monomvn: Estimation for multivariate normal and Student-t data with monotone missingness. Professor Gramacy gave a very nice presentation at the recent R/Finance 2011 conference: http://www.rinfinance.com/agenda/2011/RobertGramacy.pdf -----Original Message----- From: r-sig-finance-bounces at r-project.org [mailto:r-sig-finance-bounces at r-project.org] On Behalf Of ShyhWeir Tzang Sent: Monday, September 19, 2011 12:27 AM To: r-sig-finance at stat.math.ethz.ch Subject: [R-SIG-Finance] missing data in return series... Dear all: I have a portfolio of about 50 stocks of which about 10~15 stocks with unequal lengths. That means they have shorter historical return series than others. How may I estimate the covariance matrix and mean of the stocks? Is the Stambaugh (1997) ("Analyzing investments whose histories differ in length") method still valid for individual stocks instead of funds? Is there any better way or more efficient way to estimate their mean and covariance matrix? Any help or suggestion is highly appreciated. -- _______________________________________________ R-SIG-Finance at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance -- Subscriber-posting only. If you want to post, subscribe first. -- Also note that this is not the r-help list where general R questions should go.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-finance/attachments/20110920/d9e6e75b/attachment.pl>
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-finance/attachments/20110920/90f21e0f/attachment.pl>