Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditional probability reading #212

Open
bhavyashah opened this issue Nov 6, 2023 · 0 comments
Open

Conditional probability reading #212

bhavyashah opened this issue Nov 6, 2023 · 0 comments

Comments

@bhavyashah
Copy link

bhavyashah commented Nov 6, 2023

Consider

<math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mi>P</mi>
  <mo>&#x2062;</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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant