Tricky Data Science Interview Questions (With Answers)

Question: If we want to estimate the number of trees along the road from Place A to Place B (for example, from your residence to the place of interview), which sampling technique should be used?

Answer: You might think of using random sampling, but the more appropriate method in this case is systematic sampling (read more about sampling methods).

Question: A person travels from Place A to Place B at a speed of 60 km/h and returns from Place B to Place A at a speed of 40 km/h. What is the average speed for the entire journey?

Answer: You might be tempted to answer 50 km/h, but the correct average speed is 48 km/h. To solve this, we need to use the harmonic mean.


Question: In sampling, what is the difference between strata and clusters?

Answer: Strata are internally homogeneous but heterogeneous between strata. Clusters are internally heterogeneous but similar to each other (read more about sampling methods).

Question: If correlation coefficient is zero, does it mean that there is no relationship between variables?

Answer: Pearson correlation coefficient measures the linear relationship between variables. If it is zero, then there is no linear relation between the variables. However, there may be non-linear relationship between the variables.

If you have got such questions, please share it in the comments.

No comments:

Post a Comment

Follow me on YouTube