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).

Sampling Methods

Sampling methods or sampling techniques.

  1. Probability Sampling Techniques
    Simple Random Sampling
    Systematic Sampling
    Stratified Sampling
    Cluster Sampling
  2. Non-probability Sampling Techniques
    Convenience Sampling
    Judgmental Sampling
    Snowball Sampling
    Quota Sampling

Market Basket Analysis made simple

Market Basket Analysis helps to discover associations between items in customers' purchases. It reveals patterns like:

"Customers who buy bread often also buy butter"

This means: Bread → Butter

Such insights are useful in product placement, promotions and in increasing sales.

Three metrics help us to evaluate such rules.

Follow me on YouTube