[Uwgarp-commits] r72 - pkg/GARPFRM/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Feb 8 19:02:07 CET 2014


Author: tfillebeen
Date: 2014-02-08 19:02:05 +0100 (Sat, 08 Feb 2014)
New Revision: 72

Modified:
   pkg/GARPFRM/R/capm.R
Log:
Adding necessary descriptions

Modified: pkg/GARPFRM/R/capm.R
===================================================================
--- pkg/GARPFRM/R/capm.R	2014-02-08 17:06:58 UTC (rev 71)
+++ pkg/GARPFRM/R/capm.R	2014-02-08 18:02:05 UTC (rev 72)
@@ -23,7 +23,9 @@
 #' Capital Asset Pricing Model
 #' 
 #' Description of CAPM
-#' Retrieves alphas, betas, as well as pvalue and tstats
+#' Retrieves alphas, betas, as well as pvalue and tstats. 
+#' The Model is used to determine a theoretically appropriate rate of return
+#' of an asset's non-diversifiable risk.
 #' 
 #' @param R asset returns
 #' @param Rmkt market returns
@@ -56,7 +58,7 @@
 
 #' CAPM alphas
 #' 
-#' Description of CAPM alphas
+#' Description of CAPM alphas: retrieves alpha (intercept) from CAPM object.
 #' 
 #' @param object a capm object created by \code{\link{CAPM}}
 #' @export
@@ -82,7 +84,7 @@
 
 #' CAPM betas
 #' 
-#' Description of CAPM betas
+#' Description of CAPM betas: retrieves beta (slope) from CAPM object.
 #' 
 #' @param object a capm object created by \code{\link{CAPM}}
 #' @export
@@ -108,7 +110,8 @@
 
 #' CAPM statistics
 #' 
-#' Description of CAPM statistics (standard error, t-values, and p-values)
+#' Description of CAPM statistics: retrieves standard error, t-values, and p-values
+#' 
 #' @param object a capm object created by \code{\link{CAPM}}
 #' @export
 getStatistics <- function(object){
@@ -176,6 +179,8 @@
 #' CAPM SML
 #' 
 #' Description of CAPM Security Market Line (SML)
+#' SML is the represesentation of the CAPM. It illustrates the expected rate of return
+#' of an individual secuirty as a function of systematic, non-diversified risk (known as beta).
 #' 
 #' @param object a capm object created by \code{\link{CAPM}}
 #' @export
@@ -194,6 +199,8 @@
 #' CAPM hypTest
 #' 
 #' Description of CAPM beta/alpha hypothesis test
+#' Generalization is termed a two-sided or two-tailed test. 
+#' Returns a true (reject) or false (fail to reject).
 #' 
 #' @param object a capm object created by \code{\link{CAPM}}
 #' @export



More information about the Uwgarp-commits mailing list