Compare queueing systems and common distributions
LinkedInData Scientist · Technical ScreenLast updated
LinkedIn data scientist statistics screen covering pooled versus separate queues, height distributions and mixture distributions, right-skewed network degree, mean-median-mode ordering, and L1/L2 regularization bias.
Question
You are asked a series of statistics fundamentals questions in a data science technical screen.
- Queueing. A bank with 5 tellers can be organized two ways:
- System A: all 5 tellers share one common queue.
- System B: each teller has their own separate queue.
Assume customer arrivals are random, tellers are similarly (but not necessarily identically) skilled, customers are served first-come-first-served within a line, and some customers take much longer than others. As a customer, which system would you rather join, and why? Compare the two in terms of expected waiting time, variance of waiting time, and fairness.
-
Height distributions. Sketch or describe the distribution of adult male heights in the United States and, separately, the distribution of adult female heights in the United States.
-
Pooled distribution. If you pool men and women together and ignore sex, what does the combined height distribution look like?
-
Network degree. On a social network such as LinkedIn, describe the distribution of the number of connections per user. Is it symmetric, left-skewed, or right-skewed?
-
Summary statistics. For that connections distribution, how do the mean, median, and mode compare, and why? If asked for the likely scale of the mean, what factors would determine it?
-
Regularization bias. Are the L1-regularized (lasso) and L2-regularized (ridge) estimators unbiased? Why or why not?
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.