Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
braverock
GitHub Repository: braverock/portfolioanalytics
Path: blob/master/man/custom.covRob.TSGS.Rd
1433 views
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/custom.covRob.R
\name{custom.covRob.TSGS}
\alias{custom.covRob.TSGS}
\title{Compute returns mean vector and covariance matrix with custom.covRob.TSGS}
\usage{
custom.covRob.TSGS(R, ...)
}
\arguments{
\item{R}{xts object of asset returns}

\item{...}{parameters for covRob.TSGS}
}
\value{
a list contains mean and covariance matrix of the stock return matrix
}
\description{
This is a function uses the TSGS function from GSE package to compute
the Two-Step Generalized S-Estimate, a robust estimate of location 
and scatter for data with cell-wise and case-wise contamination.
}
\references{
Claudio Agostinelli, Andy Leung, "Robust estimation of multivariate 
            location and scatter in the presence of cellwise and casewise contamination",
            2014.
}