Lecture


Probability Rules

  • Probability of mutually exclusive events A or B


  • Probability of not mutually exclusive events A or B


  • Probability of independent events A and B


  • Probability of dependent events A and B


  • Together, the above probabilities reveal Bayes Theorem


R lab

Most R materials are available in slides. In addition, the function na.omit() will remove all rows with NA’s from a data frame.