Usage
StdDev(R, ...,
clean = c("none", "boudt", "geltner"),
portfolio_method = c("single", "component"),
weights = NULL,
mu = NULL,
sigma = NULL,
use = "everything",
method = c("pearson", "kendall", "spearman"))
Arguments
R
a vector, matrix, data frame, timeSeries or zoo object of asset returns
...
any other passthru parameters
clean
method for data cleaning through Return.clean
. Current options are "none", "boudt", or "geltner". portfolio_method
one of "single","component" defining whether to do univariate/multivariate or component calc, see Details.
weights
portfolio weighting vector, default NULL, see Details
mu
If univariate, mu is the mean of the series. Otherwise mu is the vector of means of the return series , default NULL, , see Details
sigma
If univariate, sigma is the variance of the series. Otherwise sigma is the covariance matrix of the return series , default NULL, see Details
use
an optional character string giving a
method for computing covariances in the presence
of missing values. This must be (an abbreviation of) one of the strings
"everything"
, "all.obs"
, "complete.obs"
,
method
a character string indicating which correlation
coefficient (or covariance) is to be computed. One of
"pearson"
(default), "kendall"
, or "spearman"
,
can be abbreviated.