Skip to content

Commit

Permalink
copyediting
Browse files Browse the repository at this point in the history
  • Loading branch information
felixpatzelt committed Sep 29, 2017
1 parent c5e05d7 commit 2cb064f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ for normalisation, mean removal, averaging, and zero-padding. In particular,
averaging over pandas groups of different sizes (e.g. different days) is
supported.

The algorithms to calculate three-point correlations described in:
The algorithms to calculate three-point correlations are described in:

Patzelt, F. and Bouchaud, J-P.:
Nonlinear price impact from linear models.
Journal of Statistical Mechanics (2017).
Preprint at arXiv:1706.04163.
Preprint at arXiv:1708.02411.


====================== ======================================================
Expand Down
15 changes: 11 additions & 4 deletions examples/two_point_vs_three_point_correlations.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,19 @@
"> Patzelt, F. and Bouchaud, J-P. (2017):\n",
"> Nonlinear price impact from linear models.\n",
"> *Journal of Statistical Mechanics.*\n",
"> Preprint at arXiv:1706.04163.\n",
"> Preprint at arXiv:1708.02411.\n",
"\n",
"The notation is consistent with that paper and the related literature. To just understand the code below, consider a series of signs `s` $\\in [-1,1]$ and change indicators `c` $\\in [n,c]$. We use `0` and `1`to represent no change (n) and change (c).\n",
"To just understand the code below, consider a series of signs `s` $\\in [-1,1]$ and change indicators `c` $\\in [n,c]$. We use `0` and `1`to represent no change (n) and change (c). We denote the elementwise product by `sc`.\n",
"\n",
"Below we calculate two-point correlation matrices \n",
"$C_{\\pi \\pi' \\pi''}(\\ell,j)$ was approximated by the two-point cross-correlation $C_{\\pi \\pi'}(j) := \\langle \\delta_{\\pi(t)\\, \\pi}\\, \\epsilon(t)\\: \\delta_{\\pi(t-j)\\, \\pi'}\\, \\epsilon(t-j) \\rangle$"
"Below we calculate three-point correlation matrices \n",
"\n",
"$C_{c, s c, s c}(\\ell,j)$, \n",
"\n",
"and the two-point correlation matrix\n",
"\n",
"$C_{s c, s c}(\\ell,j)$ \n",
"\n",
"that was used to approximated by the prior before the developement of the spectral method implemented by `scorr.x3corr`."
]
},
{
Expand Down

0 comments on commit 2cb064f

Please sign in to comment.