AdvancedStatistics / pages /4_Random Variables.py
Sreeja6600's picture
Update pages/4_Random Variables.py
b6ec8c1 verified
raw
history blame contribute delete
926 Bytes
import streamlit as st
st.header(":green[**RANDOM VARIABLE**]")
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")
st.markdown(":blue[**Types of Random Variable**]")
st.write("A random variable has a probability distribution that represents the likelihood that any of the possible values would occur.")
st.write("A random variable can be either discrete or continuous.")
st.markdown(":grey-background[**Discrete Random Variables**]")
st.write("A Random vaariable X is said to be discrete if it takes on finite number of values.")
st.write("The probability distribution of a discrete random variable X lists the values and there probability.")
st.markdown(":grey-background[**Continuous Random Variables**]")
st.write("Continuous random variable is a random variable whose cumulative distribution function is continuous everywhere.")