Spaces:
Sleeping
Sleeping
Update pages/5. Distributions.py
Browse files
pages/5. Distributions.py
CHANGED
|
@@ -9,4 +9,7 @@ multi = """:green[Example:]Number of cars passing a red light
|
|
| 9 |
- This could be 0, 1, 2, 3, or more cars.
|
| 10 |
- The probability of each number would depend on factors like traffic volume and the timing of the red light.
|
| 11 |
"""
|
| 12 |
-
st.markdown(multi)
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
- This could be 0, 1, 2, 3, or more cars.
|
| 10 |
- The probability of each number would depend on factors like traffic volume and the timing of the red light.
|
| 11 |
"""
|
| 12 |
+
st.markdown(multi)
|
| 13 |
+
|
| 14 |
+
st.subheader(":red[Probability mass function (PMF):]")
|
| 15 |
+
st.write("A probability mass function (pmf) is a function over the sample space of a discrete random variable X which gives the probability that X is equal to a certain value. f(x)=P[X=x].")
|