Spaces:
Sleeping
Sleeping
File size: 889 Bytes
cb2c4d2 44b628c 04a237d cb2c4d2 44b628c cb2c4d2 04a237d cb2c4d2 04a237d 44b628c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | import streamlit as st
st.title(":rainbow[Random Variable]")
st.write("A random variable is a numerical outcome of a random process or experiment. It's a way to quantify the possible results of that process in a mathematical form. ")
st.header(":blue[Discrete Random Variable]")
st.write("A random variable that can take on a countable number of distinct values. These values are typically integers.")
st.write("Ex: The number of heads obtained when flipping a coin three times (possible values: 0, 1, 2, 3). Another example could be the number of students in a class.")
st.header(":blue[Continuous Random Variable]")
st.write("A random variable that can take on an infinite number of values within a given range. These values are typically real numbers.")
st.write("Ex: The height of individuals in a population.")
st.write("Ex: The time taken for a car to travel a certain distance")
|