STAT206: Statistics for Software Engineering

There is this Statistics course is recommended by Soham.

Link to course notes here.


This is also called a Chi-Squared test.

Motivation: Maybe there is a different proportion of left-handed and right-handed smokers. Testing the proportion of L and R handed smokers, is the same as testing for the independence and attributes.

How do you calculate ei

Miscellaneous Ideas

Probability and Statistics is very powerful, but oftentimes you can be easily mistaken and misled by your intuition.

For example, if you throw two dices, you would think that the probability of getting 7 is the same as getting a 12, since everything is uniformly distributed, so thus it’s random, but no.

A big part of statistics/probability initially is to learn how to count. OH yes, I remember this, it wasn’t from MIT6.042 but rather on Permutations and Permutations and Combinations

One super cool thing that I also learned in MIT6042.J is the Baseline Fallacy


  • Random Experiment: An experiment whose outcomes are unknown.
  • Sample Space: The set of all possible outcomes in an experiment.
  • Event: Any subset of a sample space.
  • Probability
  • Relative Frequency:

Problem-Solving Insights

Splitting a problem into two parts (using an OR).

Ex: Probability that the first card is a King, and second card is Red. First part is assuming K is not red, second parenthesis is assuming K is red.