AdvancedStatistics / pages /1_Terminology of probability.py
Sreeja6600's picture
Update pages/1_Terminology of probability.py
6ab71ce verified
import streamlit as st
st.header("Terminologies of Probability")
st.write("Before we learn about probability, we need to have knowledge about Some basic terminologies. ")
st.subheader("Some of the important terminology are:")
st.subheader(":blue[*1.Experiment:*]")
st.write("Experiment is a process of test or procedure on something to carried out an discovery of something.")
st.write(":green[- *Example:*] probability of flipping a coin 10 time to observe the outcomes of head or tail,then calculating probability of an each output based on results.")
st.subheader(":blue[*2.Random experiment:*]")
st.write("A random experiment is similar to an experiment, but it specifically satisfies two conditions:")
st.write("- 1.It can have more than one possible outcome.")
st.write("- 2.The outcome cannot be predicted with certainty, even though the set of possible outcomes is known.")
st.write(":green[- *Example:*] Picking a random person in a class of 100 student.")
st.subheader(":blue[*3.Trial*]")
st.write("A trial in probability refers to a single performance or observation of a random experiment. Each trial results in one of the possible outcomes of the experiment.")
st.write(":green[- *Example:*] each flip of a coin or each roll of a die.")
st.subheader(":blue[*4.Outcome*]")
st.write("An outcome is the result of a single trial of a random experiment. It represents one of the possible events that can occur.")
st.write(":green[- *Example:*] if you roll a die, the possible outcome the experiment is :{1,2,3,4,5,6}")
st.subheader(":blue[*5.Sample Space*]")
st.write("The sample space is the set of all possible outcomes of a random experiment. It includes every potential result that could occur.")
st.write(":green[- *Example:*] If you roll a six-sided die, the sample space is {1, 2, 3, 4, 5, 6}.")
st.subheader(":blue[*6.Event*]")
st.write("An event is a specific outcome from the sample space of a random experiment.")
st.write("Event is an subset of a sample space.")
st.write(":green[- *Example:*] when rolling a die, getting a 4 is an event.")