abhijeetarjun1996 commited on
Commit
72c93fa
·
verified ·
1 Parent(s): d9070f9

Update pages/Types of Probability.py

Browse files
Files changed (1) hide show
  1. pages/Types of Probability.py +7 -7
pages/Types of Probability.py CHANGED
@@ -17,33 +17,33 @@ st.write("Probability can be categorized into several types, each serving differ
17
 
18
  st.header(":blue[Theoretical Probability]")
19
  st.write("Based on reasoning and mathematical principles. It assumes that all outcomes in a sample space are equally likely")
20
- st.write("The probability of rolling a 3 on a fair six-sided die is P(3) = 1/6")
21
 
22
  st.header(":blue[Experimental Probability (Empirical Probability)]")
23
  st.write("Based on actual experiments and observations. It is calculated by conducting experiments and observing outcomes.")
24
  st.write("P(A) = Number of times event A occurs / Total number of trials")
25
- st.write("If you roll a die 100 times and get a 4 on 20 rolls, the experimental probability of rolling a 4 is P(4) = 20/100 = 1/6")
26
 
27
  st.header(":blue[Subjective Probability]")
28
  st.write("Based on personal judgment or intuition rather than objective calculation or statistical analysis. It reflects an individual's belief about the likelihood of an event")
29
  st.write("Ex : A person might estimate there is a 60% chance of rain tomorrow based on their past experiences")
30
 
31
  st.header(":blue[Conditional Probability]")
32
- st.write("The probability of an event occurring given that another event has already occurred.Denoted as P(A|B),meaning the probability of A given B.")
33
 
34
  st.header(":blue[Joint Probability]")
35
  st.write("The probability of two events occurring simultaneously.")
36
- st.write("The probability of drawing a heart and a face card from a deck of cards.")
37
 
38
  st.header(":blue[Marginal Probability]")
39
  st.write("The probability of a single event occurring, independent of other events. It can be derived from joint probabilities")
40
- st.write("The probability of drawing a heart from a deck of cards")
41
 
42
  st.header(":blue[Total Probability]")
43
  st.write("The total probability of an event considering all possible ways it can occur.")
44
- st.write("EX: To find the probability of drawing a red card from a deck, consider both hearts and diamonds.")
45
 
46
  st.header(":blue[Bayesian Probability]")
47
  st.write(" Based on Bayes' theorem, this approach updates the probability of a hypothesis based on new evidence or information")
48
- st.write("Adjusting the likelihood of having a disease after receiving a positive test result")
49
 
 
17
 
18
  st.header(":blue[Theoretical Probability]")
19
  st.write("Based on reasoning and mathematical principles. It assumes that all outcomes in a sample space are equally likely")
20
+ st.write("Ex: The probability of rolling a 3 on a fair six-sided die is P(3) = 1/6")
21
 
22
  st.header(":blue[Experimental Probability (Empirical Probability)]")
23
  st.write("Based on actual experiments and observations. It is calculated by conducting experiments and observing outcomes.")
24
  st.write("P(A) = Number of times event A occurs / Total number of trials")
25
+ st.write("Ex: If you roll a die 100 times and get a 4 on 20 rolls, the experimental probability of rolling a 4 is P(4) = 20/100 = 1/6")
26
 
27
  st.header(":blue[Subjective Probability]")
28
  st.write("Based on personal judgment or intuition rather than objective calculation or statistical analysis. It reflects an individual's belief about the likelihood of an event")
29
  st.write("Ex : A person might estimate there is a 60% chance of rain tomorrow based on their past experiences")
30
 
31
  st.header(":blue[Conditional Probability]")
32
+ st.write("Ex: The probability of an event occurring given that another event has already occurred.Denoted as P(A|B),meaning the probability of A given B.")
33
 
34
  st.header(":blue[Joint Probability]")
35
  st.write("The probability of two events occurring simultaneously.")
36
+ st.write("Ex: The probability of drawing a heart and a face card from a deck of cards.")
37
 
38
  st.header(":blue[Marginal Probability]")
39
  st.write("The probability of a single event occurring, independent of other events. It can be derived from joint probabilities")
40
+ st.write("Ex: The probability of drawing a heart from a deck of cards")
41
 
42
  st.header(":blue[Total Probability]")
43
  st.write("The total probability of an event considering all possible ways it can occur.")
44
+ st.write("Ex: To find the probability of drawing a red card from a deck, consider both hearts and diamonds.")
45
 
46
  st.header(":blue[Bayesian Probability]")
47
  st.write(" Based on Bayes' theorem, this approach updates the probability of a hypothesis based on new evidence or information")
48
+ st.write("Ex: Adjusting the likelihood of having a disease after receiving a positive test result")
49