MathCAT
MathCAT copied to clipboard
Conditional probability reading
Consider
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<mrow>
<mi>P</mi>
<mo>⁢</mo>
<mrow>
<mo stretchy='false'>(</mo>
<mrow>
<mi>E</mi>
<mo mathvariant='normal'>∣</mo>
<mi>H</mi>
</mrow>
<mo stretchy='false'>)</mo>
</mrow>
</mrow>
</math>
Whenever there is a p({text}) where {text} contains one vertical bar, that vertical bar should be read as "given" rather than "divides" as it is referring to conditional probability. Beyond this base request, consider handling cases of the vertical bar in conditional distribution, conditional expectation, and conditional variance as well. Also, consider how probability can be written as "p", "pr" (as seen recently on Wikipedia in another ticket), and perhaps other ways.
[Updated to use backquote rather than double quote for the MathML]