Data Science track

Data Science interview questions and answers

Panel-ready Data Science track questions for freshers and experienced developers. Practice at Coding Cadre in Faridabad, or Online from Delhi NCR.

81 Moderate Hypothesis Testing Data Science

When would you use a t-test instead of a z-test for a mean?

Short take Full answer on next page

Simple meaning

Use a t-test when the variance is estimated from the sample, especially with modest n, because the t distribution has heavier tails.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
83 Moderate Hypothesis Testing Data Science

What is a chi-square test used for in analytics?

Short take Full answer on next page

Simple meaning

A chi-square test of independence checks whether two categorical variables are associated in a contingency table.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
84 Moderate Hypothesis Testing Data Science

What does ANOVA test, and what is a typical follow-up?

Short take Full answer on next page

Simple meaning

One-way ANOVA tests whether three or more group means differ, under normality and similar variance assumptions.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
85 Moderate Hypothesis Testing Data Science

What is statistical power?

Short take Full answer on next page

Simple meaning

Power is the probability of rejecting the null when a specified alternative is true, equal to one minus the Type II error rate.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
86 Moderate P-value Data Science

Why should you report effect size along with a p-value?

Short take Full answer on next page

Simple meaning

A tiny effect can be highly significant in a huge sample, and a large effect can miss significance in a small sample.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
87 Moderate P-value Data Science

Name a common misinterpretation of the p-value?

Short take Full answer on next page

Simple meaning

People treat p as the probability the null is true, or as the probability the result is a fluke in an informal sense.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
89 Moderate P-value Data Science

What is p-hacking?

Short take Full answer on next page

Simple meaning

P-hacking is trying many analyses, metrics, segments, or stopping times until a significant p-value appears, then reporting that path as if it were planned.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
90 Moderate A/B Testing Data Science

How do you think about sample size for an A/B test?

Short take Full answer on next page

Simple meaning

Sample size depends on baseline rate, minimum effect you care about, variance, alpha, and desired power.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
91 Moderate A/B Testing Data Science

What is the novelty effect in experiments?

Short take Full answer on next page

Simple meaning

The novelty effect is a short-run change in behavior because the UI is new, not because the design is durably better.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
93 Moderate A/B Testing Data Science

What is a minimum detectable effect (MDE)?

Short take Full answer on next page

Simple meaning

MDE is the smallest true effect the test is designed to detect with the planned power, alpha, and sample size.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
94 Moderate A/B Testing Data Science

Why is randomization the engine of a valid A/B test?

Short take Full answer on next page

Simple meaning

Random assignment balances both observed and unobserved confounders in expectation, which observational matching cannot guarantee.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
96 Moderate Pandas Data Science

When do you use merge versus concat in pandas?

Short take Full answer on next page

Simple meaning

merge joins on keys like SQL, aligning rows by column values or index.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
98 Moderate Pandas Data Science

What is a pivot table used for in EDA?

Short take Full answer on next page

Simple meaning

A pivot table reshapes long data into a grid of aggregations, with one field as rows, one as columns, and a value aggregated in cells.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
99 Moderate Pandas Data Science

Why do pandas dtypes matter for memory and correctness?

Short take Full answer on next page

Simple meaning

Object columns of strings use much more memory than categorical or string dtypes, and float64 IDs can corrupt large integers.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
100 Moderate NumPy Data Science

What is broadcasting in NumPy?

Short take Full answer on next page

Simple meaning

Broadcasting expands arrays of compatible shapes so elementwise operations work without explicit copies of the data.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
Prev Page 5 of 11 Next
Chat with us