Successfully reported this slideshow.

RSS probability theory


Published on

Probability by Dr. O. Yusuf as part of the 5th Research Summer School - Jeddah at KAIMRC - WR

Published in: Education, Technology
  • Be the first to comment

RSS probability theory

  1. 1. PROBABILITY THEORYOyindamola Bidemi Yusuf
  2. 2. What is Probability?Measurement of uncertaintyTheory of choice and chanceAllows intelligence guess about futureHelps to quantify riskPredicts outcomes
  3. 3. PROBABILITY DEFINITION-OBJECTIVEFrequency ConceptBased on empirical observationsNumber of times an event occurs in along series of trials
  4. 4. PROBABILITY DEFINITION -SUBJECTIVEMerely expresses degree of beliefBased on personal experience
  5. 5. Basic TerminologiesExperiment(Process of conductingtrials)Trial (Act of an experiment.)Outcome ( Result of a Particulartrial)Event (Particular outcome orsingle result of an experiment)
  7. 7. Classical ProbabilityCount number favorable to event E = aCount number unfavorable to event E = bTotal favorable and unfavorable = a+bAssume E can occur in n possible waysAssume occurrence of events equally likelyTotal number of possible ways =a+b = n
  8. 8. Probability of an event-EProbability of E = a = Pr(E)a+bNumber of times event favorable dividedby number of all possible ways.
  9. 9. Probability Thermometer. 1.0 - sure to occur– - 0.50- cannot occur0>Pr (E) < 1
  10. 10. Type of EventsSimple eventsCompound eventsMutually exclusive eventsIndependent events
  11. 11. Simple eventsEvents with single outcomestossing a fair coin
  12. 12. Compound eventsCompound events is the combination oftwo or more than two simple events.Suppose two coins are tossedsimultaneously
  13. 13. Probability RulesAddition ruleMultiplication rule
  14. 14. Addition ruleSingle 6-sided die is rolled.What is the probability of rolling a 2 or a5?P(2) = 1/6P(5) = 1/6P(2 or 5) = P(2) + P(5) = 1/6 + 1/6=2/6
  15. 15. Mutually Exclusive EventsPr (A or B) = Pr (A) + Pr (B)IF not mutually exclusivePr (A or B) = Pr (A) + Pr (B) - Pr (A and B)
  16. 16. QUESTION ON MUTUALLYEXLUSIVE EVENTSFrom the records at an STC, 4 girlshad HIV, 4 other girls had gonorrheawhile 2 girls have both gonorrhea andHIV.What is the probability that any girlselected will havei. HIV onlyii. HIV or Gonorrhea.
  17. 17. SOLUTIONProb. Of HIV only =4/10– Prob. of HIV or Gonorrhea = Pr(HIV) +Prob.(Gonorrhea) - Pr(HIV andGonorrhea) = 4/10 + 4/10 - 2/ 10
  18. 18. Independent eventsChoosing a marble from a jar AND landingon heads after tossing a coin.Choosing a 3 from a deck of cards,replacing it, AND then choosing an ace asthe second card.Rolling a 4 on a single 6-sided die, ANDthen rolling a 1 on a second roll of the die.
  19. 19. Multiplication RuleWhen two events, A and B, areindependent, the probability of bothoccurring is:P(A and B) = P(A) · P(B)
  20. 20. A coin is tossed and a single 6-sided die isrolled.Find the probability of landing on the headside of the coin and rolling a 3 on the die.P(head) = 1/2P(3) = 1/6P(head & 3) = P(head) · P(3)=1/2 x 1/6 = 1/12
  21. 21. Conditional ProbabilityIn probability theory, a conditionalprobability is the probability that an eventwill occur, when another event is known tooccur or to have occurred.
  22. 22. Conditional ProbabilityEvents not independentPr (A given B) = Pr (A and B)Pr (B)
  23. 23. On the “Information for the Patient” label ofa certain antidepressant, it is claimed thatbased on some clinical trials, there is a14% chance of experiencing sleepingproblems known as insomnia (denote thisevent by I),26% chance of experiencing headache(denote this event by H), and there is a 5%chance of experiencing both side effects (Iand H).
  24. 24. Suppose that the patient experiencesinsomnia; what is the probability that thepatient will also experience headache?Since we know (or it is given) that thepatient experienced insomnia, we arelooking for P(H | I). According to thedefinition of conditional probability:P(H | I) = P(H and I) / P(I) = 0.05/0.14 =0.357.
  25. 25. Random VariablesA real valued function, defined over thesample space of a random experiment iscalled the random variable, associated tothat random experiment.That is the values of the random variablecorrespond to the outcomes of the randomexperiment.
  26. 26. Random VariablesTake specified values with specifiedprobabilitiesDiscrete Random variable–E.g. no of children in a family, no ofpatients in a doctors surgeryContinuous Random variable
  27. 27. The probability distribution of adiscrete random variable is a list ofprobabilities associated with each of itspossible values.It is also sometimes called theprobability function or the probabilitymass function
  28. 28. Continuous random variables are usuallymeasurements.Examples include height, weight, theamount of sugar in an orange, the timerequired to run a mile, etc
  30. 30. BINOMIAL DISTRIBUTIONSuccessive trials are independentOnly two outcomes are possible ineach trial or observationChance of success in each trial is knownSame chance of success from trial to trial
  31. 31. BINOMIAL FORMULAPr (r out of n events) = n ! pr qn-rr! (n-r) !where n ! =n(n-1)(n-2)(n-3)….2.1e.g. 3! =3x2x1
  32. 32. BINOMINAL TERMSN = Number of trialsr = Number of successesp = Probability of success in each trialq = 1-p = Probability of failure in eachtrial! = Factorial sign
  33. 33. EXAMPLE BINOMINALIt is known that 10% of patientsdiagnosed to have a condition survivefollowing surgical treatment. What isthe chance of 2 people surviving outof 5 diagnosed with the condition andtreated surgically.
  34. 34. Solution
  35. 35. Continuous ProbabilityDistributionNORMAL
  36. 36. The Normal Curve
  37. 37. The Shape of a DistributionSymmetrical– can be divided at the center so that each halfis a mirror image of the otherAsymmetrical
  38. 38. Skewness– If a distribution is asymmetric it is eitherpositively skewed or negatively skewed.– A distribution is said to be positively skewed ifthe values tend to cluster toward the lowerend of the scale (that is, the smaller numbers)with increasingly fewer values at the upperend of the scale (that is, the larger numbers).
  39. 39. With a negatively skeweddistribution, most of the values tend tooccur toward the upper end of the scalewhile increasingly fewer values occurtoward the lower end.
  40. 40. Negative Skewness
  41. 41. Properties of Normal CurveBell shaped and symmetric about centreCompletely determined by its mean and standarddeviationMean, median and mode have same valueTotal area under curve is 1 (100%).68% of all observations lie within one standarddeviations of the mean.95% of observations lie within 1.96 standarddeviations of the mean valueGives probability of falling within interval if data hasnormal distribution.
  42. 42. Importance of Normal DistributionFits many practical distributions of variables inmedicineIf variables are not normallydistributed, transformation techniques to makethem normal exist.Sampling distributions of means and proportions areknown to have normal distributionsIt is the cornerstone of all parametric tests ofstatistical significance.
  43. 43. Presentation of Normal Distribution.As a mathematical equationGraphTable
  44. 44. -1. Mathematical Equation- 1/2 (x - )2y = 1___ e2IIII and e are constantsis arithmetic meanis standard deviation
  45. 45. Normal distribution curve
  46. 46. The Standardized normaldistributionAll normal distributions have same overallshapePeak and spread may be differentHowever markers of 68th and 95Thpercentiles will still be located at 1 and 2SDThis attribute allows for standardization ofany normal distribution
  47. 47. Can define distance along x axis in termsof SD from the mean instead of the truedata pointCondenses all normal distributions intoone through a mathematical equationZ= x- μσ
  48. 48. Each data point is converted into astandardized value, and its new value iscalled a Z score
  49. 49. Z ScoreStandardizing data on one scale so that acomparison can be madeStandard score or Z score is:– The number of standard deviations fromthe meanconvert a value to a Standard Score:– first subtract the mean,– then divide by the Standard Deviation
  50. 50. Z ScoreThe z-score is associated with the normaldistribution and it is a number that may beused to:– tell you where a score lies compared with therest of the data, above/below mean.– compare scores from different normaldistributions
  51. 51. Table of AreaAreas under a standard normal curveGives probability of falling within aninterval.Standard normal curve has a mean = 0and standard deviation = 1Need to transform data to standard normalcurve to use this table.
  52. 52. 1. Transformation to standard Normal Curve.- Use Z = (x - )Z is standardized normal deviate or normalscore.- Read corresponding area from table.- Z is in the Ist column in the table.- Area in the heart of the table.
  53. 53. The IQs of a group of students arenormally distributed with a mean of 100and a standard deviation of 12. Whatpercentage of students will have an IQ of110 or more?
  54. 54. Z= x- μ/ σZ= (110-100)/12Z=0.83, this corresponds to 0.2033 fromthe table20% of students will have an IQ of 100 ormoreWhat % of students will have IQ between100 and 110?
  55. 55. If the heights of a population of men areapproximately normally distributed withmean of 172m and standard deviation of6.7cm. What proportion of men wouldhave heights above 180cm.
  56. 56. solutionZ= x- µσ180-172 = 1.196.7In the table of normal distribution, theprobability of obtaining a standardisednormal deviate greater than 1.19 is0.117(11.7%)
  57. 57. Therefore around 12% of the populationwould have heights above 180cm.
  58. 58. In summaryNormal distribution as a predictor ofeventsDirect applications in statisticsTesting for significanceBackbone of inferential statistics
  59. 59. THANK YOU