Skip to content

Commit

Permalink
Latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dppalomar committed May 2, 2023
1 parent d917605 commit 8b17709
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion R_buildignore/developer_commands.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@ devtools::check() # run_dont_test = TRUE
rcmdcheck::rcmdcheck() # build_args = "--run-donttest"
devtools::build()
#devtools::revdep(pkg = "fitHeavyTail") # to check reverse dependencies
#devtools::check_win_release() #to check under windows
#devtools::check_win_release() # to check under Windows
#devtools::check_mac_release() # to check under Mac OS
#rhub::check_for_cran(platform = "macos-highsierra-release-cran")
#R CMD build . # this is to generate tarball
#R CMD check fitHeavyTail_0.2.0.tar.gz --as-cran --run-donttest # this is before submission to CRAN
#R CMD install fitHeavyTail_0.2.0.tar.gz
#submit the tarball directly via the webform: https://cran.r-project.org/submit.html


8 changes: 4 additions & 4 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
citHeader("To cite 'fitHeavyTail' in publications, please use:")

bibentry(entry = "Manual",
bibentry(bibtype = "Manual",
title = "{fitHeavyTail: Mean and Covariance Matrix Estimation under Heavy Tails}",
author = c(as.person("D. P. Palomar"),
as.person("R. Zhou"),
Expand All @@ -17,7 +17,7 @@ bibentry(entry = "Manual",
"https://CRAN.R-project.org/package=fitHeavyTail")
)

bibentry(entry = "Article",
bibentry(bibtype = "Article",
title = "Regularized Tyler’s scatter estimator: Existence, uniqueness, and algorithms",
author = c(as.person("Y. Sun"),
as.person("P. Babu"),
Expand All @@ -36,7 +36,7 @@ bibentry(entry = "Article",
"https://doi.org/10.1109/TSP.2014.2348944")
)

bibentry(entry = "Article",
bibentry(bibtype = "Article",
title = "Regularized robust estimation of mean and covariance matrix under heavy-tailed distributions",
author = c(as.person("Y. Sun"),
as.person("P. Babu"),
Expand All @@ -55,7 +55,7 @@ bibentry(entry = "Article",
"https://doi.org/10.1109/TSP.2015.2417513")
)

bibentry(entry = "Article",
bibentry(bibtype = "Article",
title = "Shrinking the Eigenvalues of M-estimators of Covariance Matrix",
author = c(as.person("E. Ollila"),
as.person("D. P. Palomar"),
Expand Down
2 changes: 1 addition & 1 deletion vignettes/CovarianceEstimationHeavyTail.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ sum((fitted_3factors$cov - Sigma_cov)^2)

To get a visual idea of the robustness, we can plot the shapes of the covariance matrices (true and estimated ones) on two dimensions. Observe how the heavy-tailed estimation follows the true one more closely than the sample covariance matrix:

```{r scatter-plots, echo=FALSE, fig.width=10, fig.height=6, out.width="100%"}
```{r scatter-plots, echo=FALSE, fig.width=10, fig.height=6, out.width="90%"}
# fig.cap="Sample covariance matrix vs robust estimator."
library(mvtnorm)
library(ellipse)
Expand Down

0 comments on commit 8b17709

Please sign in to comment.