Data Science, Probability, Statistics, Interview, Data Analytics.
need to know the general equation of variance for a variable with uniform distribution: For the first case, we sample a number between 1 to N, let’s call this X. If we multiply this X by itself, then we have X² and its expected value would be E(X²). For the second case, we sample two numbers