From 730fc6559a8b3eeb66268b85a5a105afe963720d Mon Sep 17 00:00:00 2001 From: saishreyakumar Date: Thu, 19 Jun 2025 00:53:41 -0500 Subject: [PATCH] fix LaTeX dot in diversification ratio formula --- pymc_marketing/mmm/utility.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pymc_marketing/mmm/utility.py b/pymc_marketing/mmm/utility.py index 349542760..010f0dfbc 100644 --- a/pymc_marketing/mmm/utility.py +++ b/pymc_marketing/mmm/utility.py @@ -534,12 +534,12 @@ def diversification_ratio( The Diversification Ratio is calculated as: .. math:: - DR = \frac{\\sum_{i=1}^{n} w_i \\cdot \\sigma_i}{\\sigma_p} + DR = \frac{\sum_{i=1}^{n} w_i \cdot \sigma_i}{\sigma_p} \ where: - :math:`w_i` is the weight of asset \\( i \\) - - :math:`\\sigma_i` is the volatility (standard deviation) of asset \\( i \\) - - :math:`\\sigma_p` is the volatility of the portfolio + - :math:`\sigma_i` is the volatility (standard deviation) of asset \\( i \\) + - :math:`\sigma_p` is the volatility of the portfolio Parameters ----------