sparseIndexTracking
0.1.1Design of Portfolio of Stocks to Track an Index
Overview
Computation of sparse portfolios for financial index tracking, i.e., joint selection of a subset of the assets that compose the index and computation of their relative weights (capital allocation). The level of sparsity of the portfolios, i.e., the number of selected assets, is controlled through a regularization parameter. Different tracking measures are available, namely, the empirical tracking error (ETE), downside risk (DR), Huber empirical tracking error (HETE), and Huber downside risk (HDR). See vignette for a detailed documentation and comparison, with several illustrative examples. The package is based on the paper: K. Benidis, Y. Feng, and D. P. Palomar, "Sparse Portfolios for High-Dimensional Financial Index Tracking," IEEE Trans. on Signal Processing, vol. 66, no. 1, pp. 155-170, Jan. 2018. doi:10.1109/TSP.2017.2762286.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE2026-03-1012 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 1.0 median / 58 max
- Documented parameters
- 88%
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
6 1 exported
Complexity
13.8 avg / 58 max
Call network
6 nodes / 9 edges
Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
People & History
2 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.1.1Latest
- RR 3.6.0 released · 2019-04-26
- 0.1.02018-05-17
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-05-17
- Total releases
- 2 / 8 yrs
- License
- GPL-3 | file LICENSE OSI
- Bundled data
- 726 KB / 1 file
- Download size
- 2.3 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet