From chalabi at phys.ethz.ch  Wed Nov 11 11:57:12 2009
From: chalabi at phys.ethz.ch (Yohan Chalabi)
Date: Wed, 11 Nov 2009 11:57:12 +0100
Subject: [Rd] Help with fPortfolio
In-Reply-To: <fc212e850911110234s572602a8n7ad7f2b7f5390841@mail.gmail.com>
References: <fc212e850911102252h2ec4e719mdc660519365601e4@mail.gmail.com>
	<fc212e850911110234s572602a8n7ad7f2b7f5390841@mail.gmail.com>
Message-ID: <20091111115712.4e5d4ce2@mimi>

>>>> "AB" == Abhijit Bera <abhibera at gmail.com>
>>>> on Wed, 11 Nov 2009 15:34:50 +0500

Hi Abhijit,

Please note that cross-posting is considered to be impolite.

   AB> I'm getting the following errors while using the
   AB> efficientPortfolio function
   AB> even though I'm setting the target return to the mean of the
   AB> TargetReturn I
   AB> obtain from the portfolio object created by the
   AB> feasiblePortfolio function.
   AB>
   AB> First Error:
   AB> Error: targetReturn >= min(mu) is not TRUE

As stated by the error message, the target return should be larger
or equal to the minimum return of your time series.

   AB>
   AB> Second Error:
   AB> Error in .rquadprog(Dmat = args, dvec = args, Amat = args, :
   AB>
   AB> NA/NaN/Inf in foreign function call (arg 8)

HTH,
Yohan

-- 
PhD candidate
Swiss Federal Institute of Technology
Zurich

www.ethz.ch



[Rd] Help with fPortfolio
Yohan Chalabi