The Statistics II course offered by IIT Madras as a part of their BSc degree program is a continuation of the Statistics I Course. This course has Statistical concepts ranging from basics elementary statistics to the foundations of Data Science. The instructor Prof. Andrew Thangaraj gives a vivid description of the various statistical concepts with exemplary examples which makes the study of a difficult subject like Statistics, much more fun to students.
Dated : 22nd of June, 2022
Google sheet with data collected thru a survey:
https://docs.google.com/spreadsheets/d/1gT49kYBgHIWkUi7BRCDtfuw9KcMJWDyHHT9Tx3LLCBU/edit?usp=sharing
Click here to view the document with the analysis.
Calculation by Probability theorem:
P(X=1) = 33/159 P(Vegetarian) = 68/159
P(X=0) = 125/159 P( (Vegetarian)' ) = 92/159
P( X =1 ∩ Vegetarian ) = 14/159
Now, P ( X = 1 | Vegetarian ) = P( X =1 ∩ Vegetarian ) / P(Vegetarian)
= ( 14 / 159 ) / ( 68 / 159 )
= 14 / 68
= 0.21588
Calculation by modeling distribution:
Now, let us check whether this follows the binomial distribution.
Let, p be the probability of success.
p = P( occurrence of selecting a female)
Here,
n =14;
p = 33/159
q = 125/159
x =2
Hence, P = 14 C 2 X p 2 X p 12
= 0.221
Hence, the random variable x (number of selecting female) follows the binomial distribution.