From 4b859578b4eb86c9167004f9909c8dc79ff41a41 Mon Sep 17 00:00:00 2001 From: Pradyumna Rahul Date: Thu, 21 Jan 2021 12:08:30 +0530 Subject: [PATCH] docs: Add commas to infer.mle.fixed_poi_fit docstring for clarity (#1273) * Add commas around constrained maximal likelihood for reading clarity * Add Pradyumna to list of contributors --- docs/contributors.rst | 1 + src/pyhf/infer/mle.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/contributors.rst b/docs/contributors.rst index 2b9ebc7d80..6c5bf2f02e 100644 --- a/docs/contributors.rst +++ b/docs/contributors.rst @@ -19,3 +19,4 @@ Contributors include: - Alexander Held - Karthikeyan Singaravelan - Marco Gorelli +- Pradyumna Rahul K diff --git a/src/pyhf/infer/mle.py b/src/pyhf/infer/mle.py index d7b95373a0..5831000ea0 100644 --- a/src/pyhf/infer/mle.py +++ b/src/pyhf/infer/mle.py @@ -131,8 +131,8 @@ def fixed_poi_fit( Run a maximum likelihood fit with the POI value fixed. This is done by minimizing the objective function of :func:`~pyhf.infer.mle.twice_nll` of the model parameters given the observed data, for a given fixed value of :math:`\mu`. - This is used to produce the constrained maximal likelihood for the given :math:`\mu` - :math:`L\left(\mu, \hat{\hat{\boldsymbol{\theta}}}\right)` in the profile + This is used to produce the constrained maximal likelihood for the given :math:`\mu`, + :math:`L\left(\mu, \hat{\hat{\boldsymbol{\theta}}}\right)`, in the profile likelihood ratio in Equation (7) in :xref:`arXiv:1007.1727` .. math::