Skip to content

Correct probability terminology and formulas in the SymPy lecture #652

Open

Description

@Li-Zhuo-Ran

I noticed a few inconsistencies in lectures/sympy.md:

  • In the Poisson example, the support is stated as x = 0, 1, 2, ..., but x is created with positive=True, which excludes zero.
  • In exercise sympy_ex2, binomial_factor uses factorial(n-r) although the binomial PMF uses the number of successes x; this appears intended to be factorial(n-x). The earlier example also defines r, so the current expression can silently refer to the reserve-ratio symbol.
  • The exponential example calls its CDF a “cumulative density function”; the standard term is “cumulative distribution function”.

Please update these details to keep the probability examples technically consistent.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions