Spaces:
Sleeping
Sleeping
Update pages/4_Random Variables.py
Browse files- pages/4_Random Variables.py +15 -0
pages/4_Random Variables.py
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
|
| 3 |
+
st.header(":green[**RANDOM VARIABLE**]")
|
| 4 |
+
st.markdown("A random variable is a variable whose value is unknown or a function that assigns values to each of an experiment's outcomes")
|
| 5 |
+
|
| 6 |
+
st.markdown(":blue[**Types of Random Variable**]")
|
| 7 |
+
st.write("A random variable has a probability distribution that represents the likelihood that any of the possible values would occur.")
|
| 8 |
+
st.write("A random variable can be either discrete or continuous.")
|
| 9 |
+
|
| 10 |
+
st.markdown(":grey-background[**Discrete Random Variables**]")
|
| 11 |
+
st.write("A Random vaariable X is said to be discrete if it takes on finite number of values.")
|
| 12 |
+
st.write("The probability distribution of a discrete random variable X lists the values and there probability.")
|
| 13 |
+
|
| 14 |
+
st.markdown(":grey-background[**Continuous Random Variables**]")
|
| 15 |
+
st.write("Continuous random variable is a random variable whose cumulative distribution function is continuous everywhere.")
|