File size: 926 Bytes
b6ec8c1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.")