[R-SIG-Finance] fPortfolio question: is it possible to optimize aportfolio when you've got missing (returns) data for a subsetof your total assets?

King, David David.King at schroders.com
Thu Feb 4 14:09:44 CET 2010


See 'Covariance Misspecification in Asset Allocation' by Peterson and
Grier (FAJ 2006, Vol 62 No.4) and the references given in the paper
especially the work by Stambaugh.

Bernd Scherer's book 'Portfolio Construction and Risk Budgeting' also
contains useful information on this topic.

David


-----Original Message-----
From: r-sig-finance-bounces at stat.math.ethz.ch
[mailto:r-sig-finance-bounces at stat.math.ethz.ch] On Behalf Of Jorgy
Porgee
Sent: 04 February 2010 12:45
To: r-sig-finance at stat.math.ethz.ch
Subject: [R-SIG-Finance] fPortfolio question: is it possible to optimize
aportfolio when you've got missing (returns) data for a subsetof your
total assets?

Good day all,

I'm trying to create a MV portfolio using a bunch of stock returns.
However, the length of the historic data is not uniform (some stocks
have 12 month historics say while the bulk have 24 which is what I'm
interested in).

Is there a way of creating a portfolio (so far I've tried a
feasiblePortfolio()) without dropping the subset with short histories?

So far I get this error:

> setWeights(ewSpec)<-rep(1/nAssets,times=nAssets)
> ewPortfolio<-feasiblePortfolio(
	data = asset.returns,
	spec = ewSpec,
	constraints = "LongOnly"
	)

Error in quantile.default(returns, alpha, type = 1) :
  missing values and NaN's not allowed if 'na.rm' is FALSE

Thanking you in advance,

Jorgy.

_______________________________________________
R-SIG-Finance at stat.math.ethz.ch 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.
* Please Note : This message was received from the Internet *
_____________________________________________________________

__________________________________________________________________


Visit Schroders Talking Point for market news and expert views http://www.schroders.com/talkingpoint

This message might contain confidential information. If it has been sent to you in error please do not forward it or copy it or act upon its contents, but report it to postmaster at schroders.com

Schroders has the right lawfully to record, monitor and inspect messages between its employees and any third party. Your messages shall be subject to such lawful supervision as Schroders deems to be necessary in order to protect its information, its interests and its reputation.

Schroders prohibits and takes steps to prevent its information systems from being used to view, store or forward offensive or discriminatory material. If this message contains such material please report it to abuse at schroders.com

Schroders does not normally accept or offer business instructions via email unless prior agreements are in place. Any action that you might take upon this message might be at your own risk.


Schroder Investment Management Limited
31 Gresham Street
London EC2V 7QA

Authorised and regulated by the Financial Services Authority. Schroder Investment Management Limited is entered on the FSA register under the following register number: 119348

Registered Office
31 Gresham Street
London EC2V 7QA

Registered number 1893220
VAT registration number 243 8687 30



More information about the R-SIG-Finance mailing list