Skip to content

Commit 3014ed8

Browse files
committed
Update the central README
1 parent 9d02e3c commit 3014ed8

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

R-proj/readme.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ result <- sample_ptfs_constant_volatility(
3434
M = 2000 # points per random walk
3535
)
3636

37-
samples <- result$overall_samples[[1]] # matrix: rows = assets, cols = portfolios
38-
colSums(samples) # all 1.0; long-only simplex constraint met
39-
mean(diag(t(samples) %*% sigma %*% samples)) # ~0.3; target volatility matched
37+
samples <- result$overall_samples[[1]] # matrix: rows = assets,
38+
# cols = portfolios
39+
colSums(samples) # long-only simplex constraint
40+
mean(diag(t(samples) %*% sigma %*% samples)) # ~0.3; target volatility
4041
```
4142

4243
See `run_minimal_example.R` for a complete worked example.

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
**VolEsti** is a `C++` library for volume approximation and sampling of convex bodies (*e.g.* polytopes) with an `R` and limited `python` interface. **VolEsti** is part of the [GeomScale](https://geomscale.github.io) project.
44

5+
*** This is the low_volatility branch that contains the code for the
6+
paper "Reassessing the Low-Volatility Anomaly through the Geometry of Portfolio Choice". For more details see [R-proj/readme.md](R-proj/readme.md).
7+
58
[![CRAN status](https://www.r-pkg.org/badges/version/volesti)](https://cran.r-project.org/package=volesti)
69
[![CRAN downloads](https://cranlogs.r-pkg.org/badges/volesti)](https://cran.r-project.org/package=volesti)
710
![CRAN/METACRAN](https://img.shields.io/cran/l/volesti)

0 commit comments

Comments
 (0)