Data Science, Probability Theory, Statistics.
the sum of probabilities shall be equal to one. we can rewrite the above expression in the compact way as shown below. by substituting x = 0 or 1 we can verify the compact form. let’s draw a sample using scipy module. import the required modules. calculate the mean, variance, skew and Kurtosis as