[Returnanalytics-commits] r2153 - pkg/PerformanceAnalytics/sandbox/Meucci/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Jul 13 12:23:33 CEST 2012


Author: mkshah
Date: 2012-07-13 12:23:33 +0200 (Fri, 13 Jul 2012)
New Revision: 2153

Modified:
   pkg/PerformanceAnalytics/sandbox/Meucci/R/EntropyProg.R
Log:
Correcting documentation mistakes

Modified: pkg/PerformanceAnalytics/sandbox/Meucci/R/EntropyProg.R
===================================================================
--- pkg/PerformanceAnalytics/sandbox/Meucci/R/EntropyProg.R	2012-07-13 09:29:10 UTC (rev 2152)
+++ pkg/PerformanceAnalytics/sandbox/Meucci/R/EntropyProg.R	2012-07-13 10:23:33 UTC (rev 2153)
@@ -180,22 +180,22 @@
 
 #' Calculate the full-confidence posterior distributions of Mu and Sigma
 #'
+#' \deqn{ \tilde{ \mu }  \equiv \mu +  \Sigma  Q'    {\big(Q \Sigma  Q' \big)}^{-1}   \big( \tilde{\mu}_{Q} - Q \mu \big),
+#' \\ \tilde{ \Sigma } \equiv \Sigma + \Sigma G' \big({\big(G \Sigma  G' \big)}^{-1} \tilde{ \Sigma }_G {\big(G \Sigma  G' \big)}^{-1} - {\big(G \Sigma  G' \big)}^{-1} \big) G \Sigma }
 #' @param M     a numeric vector with the Mu of the normal reference model
-#' @param Q     a numeric vector used to construct a view on expectation of the linear combination Q %*% X
+#' @param Q     a numeric vector used to construct a view on expectation of the linear combination QX
 #' @param M_Q   a numeric vector with the view of the expectations of QX
 #' @param S     a covariance matrix for the normal reference model
-#' @param G     a numeric vector used to construct a view on covariance of the linear combination G %*% X
+#' @param G     a numeric vector used to construct a view on covariance of the linear combination GX
 #' @param S_G   a numeric with the expectation associated with the covariance of the linear combination GX
 #'
 #' @return a list with 
-#'             M_   a numeric vector with the full-confidence posterior distribution of \Mu
-#'             S_   a covariance matrix with the full-confidence posterior distribution of \Sigma
+#' @return M_   a numeric vector with the full-confidence posterior distribution of Mu
+#' @return S_   a covariance matrix with the full-confidence posterior distribution of Sigma
 #'
 #' @references 
 #' \url{http://www.symmys.com}
 #' \url{http://ssrn.com/abstract=1213325}
-#' \deqn{ \tilde{ \mu }  \equiv \mu +  \Sigma  Q'    {\big(Q \Sigma  Q' \big)}^{-1}   \big( \tilde{\mu}_{Q} - Q \mu \big),
-#' \\ \tilde{ \Sigma } \equiv \Sigma + \Sigma G' \big({\big(G \Sigma  G' \big)}^{-1} \tilde{ \Sigma }_G {\big(G \Sigma  G' \big)}^{-1} - {\big(G \Sigma  G' \big)}^{-1} \big) G \Sigma }
 #' A. Meucci - "Fully Flexible Views: Theory and Practice". See formula (21) and (22) on page 7
 #' See Meucci script Prior2Posterior.m attached to Entropy Pooling Paper
 #' @author Ram Ahluwalia \email{ram@@wingedfootcapital.com}



More information about the Returnanalytics-commits mailing list