Statistics is the part of a data science or data analyst interview where small wording mistakes cost the most. Interviewers listen for whether you can define a p value correctly, read a confidence interval without overclaiming, choose a sensible test and explain the result in plain words. This guide gives you 47 statistics interview questions and answers, with worked numeric examples for the ideas that come up most.
Every answer starts with a short, direct response you can say aloud, followed by a table, a worked example or code that was run before it was added, so the printed numbers are real. Formulas are written in words, so nothing depends on an image. Where a topic overlaps with machine learning or experimentation, the answer stays brief and points to the matching interview page.
The guide has six parts: 11 questions on descriptive statistics and sampling, 7 on probability and distributions, 13 on hypothesis testing and confidence intervals, 6 on correlation and regression, 7 on advanced and applied topics, and 3 on explaining statistics to non technical people. A test selection table near the end of the inference section helps you decide quickly which test fits a problem.
| Section | Questions |
|---|---|
| Descriptive Statistics and Sampling (Freshers) | Q1 to Q11 |
| Probability and Distributions (Intermediate) | Q12 to Q18 |
| Hypothesis Testing and Confidence Intervals (Intermediate) | Q19 to Q31 |
| Correlation and Regression (Intermediate and Experienced) | Q32 to Q37 |
| Advanced and Applied Statistics (Experienced) | Q38 to Q44 |
| Explaining Statistics to Non Technical People (All Levels) | Q45 to Q47 |
Every statistics interview begins with how you describe data. These answers include short worked examples, so you can show the working and not only state the definition.
Descriptive statistics summarise the data you have, using measures such as the mean, median, spread and charts. Inferential statistics use a sample to draw conclusions about a larger population, and report how uncertain those conclusions are, through confidence intervals and hypothesis tests. Describing 200 survey replies is descriptive. Estimating what all customers think from them is inferential.
A population is every unit you want to study, and a sample is the subset you actually observe. A parameter is a fixed number that describes the population, such as the true mean. A statistic is a number calculated from a sample, such as the sample mean, which is used to estimate the parameter.
| Term | Describes | Symbol usually used | Example |
|---|---|---|---|
| Population mean (parameter) | The whole population | mu | Average salary of all analysts in India |
| Sample mean (statistic) | The sample | x bar | Average salary of 500 surveyed analysts |
| Population standard deviation | The whole population | sigma | Spread of all salaries |
| Sample standard deviation | The sample | s | Spread of the 500 salaries |
Nominal data names categories with no order, such as city. Ordinal data has an order but unequal gaps, such as a rating of poor, fair or good. Interval data has equal gaps but no true zero, such as temperature in Celsius. Ratio data has equal gaps and a true zero, such as income or height. The level decides which statistics make sense.
| Level | Order | Equal gaps | True zero | Example | Sensible summary |
|---|---|---|---|---|---|
| Nominal | No | No | No | City, gender | Mode, counts |
| Ordinal | Yes | No | No | Satisfaction rating | Median, mode |
| Interval | Yes | Yes | No | Temperature in Celsius | Mean, standard deviation |
| Ratio | Yes | Yes | Yes | Income, weight | Mean, standard deviation, ratios |
The mean is the sum of the values divided by their count, the median is the middle value when the data is sorted, and the mode is the most frequent value. Use the mean for symmetric data, the median for skewed data or data with outliers, and the mode for categories. In right skewed data the mean is larger than the median.
The single value of 40 pulls the mean well above the median, which is why the median is a better description of a typical value here.
Variance is the average squared distance from the mean, and the standard deviation is its square root, which returns the spread to the original unit. For a sample, divide by n minus 1 and not n, because a sample mean sits closer to its own data than the true mean does, so dividing by n underestimates the spread.
Worked by hand: the mean is 5.5, the squared distances add up to 17.5, so the sample variance is 17.5 divided by 5, which is 3.5, and the standard deviation is about 1.87.
Quartiles split sorted data into four equal parts. The first quartile Q1 is the 25th percentile and the third quartile Q3 is the 75th percentile. The interquartile range is Q3 minus Q1. A common rule flags values below Q1 minus 1.5 times the range, or above Q3 plus 1.5 times the range, as outliers.
Skewness measures the lack of symmetry. A right skewed distribution has a long tail on the high side and the mean is above the median, as with income. Kurtosis measures how heavy the tails are compared with a normal distribution, which means how prone the data is to extreme values. Positive excess kurtosis means heavier tails.
The normal distribution is a symmetric bell shaped distribution fully described by its mean and standard deviation. For normal data, about 68 percent of values lie within one standard deviation of the mean, about 95 percent within two and about 99.7 percent within three. The rule applies only to data that is approximately normal.
A z score is a value minus the mean, divided by the standard deviation. It tells you how many standard deviations a value is from the mean, so scores from different scales can be compared. It can be any positive or negative number. Values beyond about 3 in either direction are rare in normal data.
A score of 85 on a test with mean 70 and standard deviation 10 has a z score of 1.5, which puts it at about the 93rd percentile if scores are normally distributed.
Simple random sampling gives every unit an equal chance. Stratified sampling splits the population into groups and samples each group, which guarantees representation. Cluster sampling picks whole groups at random, and systematic sampling takes every kth unit. Sampling bias happens when the sample systematically differs from the population, for example surveying only online users.
| Method | How it works | Best when |
|---|---|---|
| Simple random | Every unit has an equal chance | You have a complete list of the population |
| Stratified | Sample within each subgroup | Subgroups differ and all must be represented |
| Cluster | Randomly pick whole groups, then survey all within them | The population is spread out and a list is costly to build |
| Systematic | Take every kth unit from a list | You need a quick sample from an ordered list |
Know these in words, and be able to say what each one tells you. The mean, sample variance, standard deviation, standard error, z score, confidence interval and correlation cover most first round questions. Interviewers ask for meaning more often than for memorised symbols.
| Measure | Formula in words | What it tells you |
|---|---|---|
| Mean | Sum of values divided by the count | The centre of the data |
| Sample variance | Sum of squared distances from the mean, divided by n minus 1 | How spread out the data is, in squared units |
| Standard deviation | Square root of the variance | Spread in the original unit |
| Standard error of the mean | Standard deviation divided by the square root of n | How precisely the sample mean estimates the population mean |
| Z score | (Value minus mean) divided by standard deviation | Distance from the mean in standard deviations |
| 95 percent confidence interval for a mean | Mean plus or minus critical value times standard error | A plausible range for the true mean |
| Pearson correlation | Covariance of x and y divided by the product of their standard deviations | Strength and direction of a linear relationship, from minus 1 to 1 |
Probability questions test whether you can reason step by step. Write down what you know, name the rule you are using and then calculate.
Two events are independent when one happening does not change the probability of the other, so the probability of both is the product of their probabilities. Two events are mutually exclusive when they cannot happen together. Mutually exclusive events with non zero probability are never independent, because if one happens the other is impossible.
Example: rolling a 6 on one die and a 6 on another are independent. Rolling a 6 and rolling a 3 on the same die are mutually exclusive.
Conditional probability is the probability of an event given that another event has happened. Bayes theorem reverses it: the probability of A given B equals the probability of B given A, times the probability of A, divided by the probability of B. It updates a prior belief with new evidence.
Even with a 95 percent sensitive test, only about 16 percent of people who test positive actually have the condition, because the condition is rare. This base rate effect is the point interviewers want you to notice.
The binomial distribution gives the probability of a number of successes in a fixed number of independent trials, where each trial has the same probability of success. The conditions are a fixed number of trials, two outcomes per trial, independent trials and a constant success probability. The probabilities of success and failure do not need to be equal.
By hand, the chance of exactly 6 heads is the number of ways to choose 6 from 10, which is 210, times one half to the power 10, which gives 210 divided by 1024, about 0.205.
The Poisson distribution gives the probability of a number of events in a fixed interval of time or space, when events happen independently at a constant average rate. Typical uses are calls per hour, defects per metre and website visits per minute. Its mean and variance are both equal to the rate.
The law of large numbers says the sample mean gets closer to the true mean as the sample grows. The central limit theorem says the distribution of sample means becomes approximately normal as the sample grows, with a spread of the standard deviation divided by the square root of n. One is about where the mean lands, the other about how it varies.
Expected value is the long run average outcome of a random variable. Multiply each possible value by its probability and add the results. It guides decisions under uncertainty, for example whether a game or a promotion is worth running. The expected value does not have to be a value that can actually occur.
A probability mass function gives the probability of each exact value of a discrete variable. A probability density function describes a continuous variable, where the area under the curve between two points is the probability, and the probability of any single exact value is zero. A cumulative distribution function gives the probability that the variable is less than or equal to a value.
This is the part of the interview that decides most statistics rounds. Be precise with the language, because small wording mistakes about p values and intervals are what interviewers listen for.
The null hypothesis states that there is no effect or no difference, and it is the claim you test against. The alternative hypothesis states that there is an effect or a difference. The test asks whether the data is unlikely enough under the null hypothesis to reject it. Failing to reject the null does not prove it true.
Example: to test whether a new course page raises sign ups, the null hypothesis says the sign up rate is unchanged, and the alternative says it is different.
The p value is the probability of getting a result at least as extreme as the one observed if the null hypothesis is true. The significance level alpha is the cut off you choose in advance, commonly 0.05. If the p value is below alpha, you reject the null hypothesis. The p value is not the probability that the null hypothesis is true.
A p value of about 0.02 means that if the coin were fair, a result at least this unbalanced would appear in roughly 2 percent of experiments.
A two tailed test checks for a difference in either direction, and a one tailed test checks one specified direction only. Use a one tailed test only when you chose the direction before seeing the data and a change the other way would not matter. For the same data, the one tailed p value is half the two tailed value.
A Type I error is rejecting a true null hypothesis, and its probability is alpha. A Type II error is failing to reject a false null hypothesis, and its probability is beta. Power is 1 minus beta, the chance of detecting a real effect. Power rises with a larger sample, a larger true effect and a higher alpha.
| Decision | Null hypothesis is true | Null hypothesis is false |
|---|---|---|
| Reject the null hypothesis | Type I error, probability alpha | Correct, probability equals power |
| Fail to reject the null hypothesis | Correct | Type II error, probability beta |
Use a z test when the population standard deviation is known. Use a t test when it is unknown and estimated from the sample, because the t distribution has heavier tails to allow for that extra uncertainty. The rule that t tests are for samples below 30 is only a rough guide, and with large samples the two give nearly the same answer.
Worked by hand: the standard error is 10 divided by the square root of 50, which is about 1.414. The z statistic is 3 divided by 1.414, about 2.12, and the two tailed p value is about 0.034. At alpha 0.05, reject the claim of 70.
A one sample t test compares a sample mean with a known value. An independent two sample t test compares the means of two separate groups. A paired t test compares two measurements on the same units, such as scores before and after training. Choose by how the data was collected, not by how it looks.
A 95 percent confidence interval is a range built so that 95 percent of intervals made this way over repeated samples would contain the true value. For a mean, it is the sample mean plus or minus a critical value times the standard error. It does not say there is a 95 percent chance that the true value is in this one interval.
A sample of 36 with mean 100 and standard deviation 12 has a standard error of 2. The 95 percent interval is about 95.9 to 104.1. A larger sample would shrink the standard error and make the interval narrower.
The chi square test of independence compares the counts you observed in a table with the counts you would expect if the two categorical variables were unrelated. A large difference gives a large statistic and a small p value. It needs counts, not percentages, and expected counts that are not too small.
ANOVA tests whether the means of three or more groups are all equal, by comparing the variation between groups with the variation within groups. Running many t tests raises the overall chance of a false positive. ANOVA gives one overall test, and a post hoc test such as Tukey then shows which groups differ.
Non parametric tests make fewer assumptions about the shape of the data, so they suit small samples, skewed data, outliers and ordinal data. Common ones are Mann Whitney U in place of the independent t test, Wilcoxon signed rank in place of the paired t test, and Kruskal Wallis in place of ANOVA. They have less power when the standard assumptions hold.
Each test carries a chance of a false positive, so running many tests makes it likely that at least one looks significant by luck. With 20 tests at alpha 0.05 that chance is about 64 percent. Control it with the Bonferroni correction, which divides alpha by the number of tests, or with false discovery rate methods such as Benjamini Hochberg.
Effect size measures how large a difference or relationship is, for example a difference in means divided by the standard deviation, known as Cohen d. With a very large sample even a tiny, useless difference can be statistically significant. Always report the effect size and a confidence interval next to the p value, and judge whether the size matters to the business.
The p value is extremely small, yet the effect size is about 0.03, which is negligible. A statistically significant result is not automatically a meaningful one.
Choose by the type of outcome, the number of groups and how the data was collected. Compare two means with a t test, three or more means with ANOVA, two categorical variables with a chi square test, and a relationship between two numbers with correlation or regression. Switch to a non parametric test when the assumptions fail.
| Question | Data | Typical test | Non parametric option |
|---|---|---|---|
| One group mean against a known value | Numeric | One sample t test, or z test if sigma is known | Wilcoxon signed rank |
| Two independent group means | Numeric | Independent two sample t test | Mann Whitney U |
| Before and after on the same units | Numeric | Paired t test | Wilcoxon signed rank |
| Three or more group means | Numeric | One way ANOVA | Kruskal Wallis |
| Two categorical variables | Counts | Chi square test of independence | Fisher exact test for small counts |
| Two proportions, such as conversion rates | Binary outcome | Two proportion z test | Fisher exact test |
| Relationship between two numeric variables | Numeric | Pearson correlation or regression | Spearman correlation |
Regression questions test whether you can interpret a model, not only fit one. Be ready to explain what each number in the output means in plain language.
Pearson correlation measures the strength of a linear relationship between two numeric variables and is sensitive to outliers. Spearman correlation works on ranks, so it measures whether one variable consistently rises or falls with the other, even if the relationship is curved, and it is more robust to outliers. Both range from minus 1 to 1.
Spearman is exactly 1 here because the scores always rise with the hours, even though the relationship is not a perfect straight line.
Covariance shows whether two variables move in the same direction, but its size depends on the units, so it is hard to compare. Correlation is covariance divided by the product of the two standard deviations, which removes the units and fixes the range between minus 1 and 1. Use correlation to compare the strength of relationships.
The intercept is the predicted value when all features are zero. Each coefficient is the expected change in the outcome for a one unit increase in that feature, holding the others fixed. R squared is the share of variation the model explains, and the p value of a coefficient tests whether that coefficient is different from zero.
Read the slope as: each extra year of experience is associated with about 0.66 lakh more salary, in this made up data. The word associated matters, since regression alone does not prove cause.
R squared is the share of the outcome variation explained by the model, and it never falls when you add a feature, even a useless one. Adjusted R squared corrects for the number of features, and it falls if a new feature adds less than chance would. Use adjusted R squared to compare models with different numbers of features.
The second model has a higher R squared but a lower adjusted R squared, because 12 extra features added too little to be worth their cost.
Multicollinearity means features are strongly correlated with each other, which makes coefficients unstable. The variance inflation factor for a feature is 1 divided by 1 minus R squared, where R squared comes from predicting that feature from the others. Values above about 5 to 10 are a warning sign. Remove or combine features, or use Ridge regression.
Heteroscedasticity means the spread of the residuals changes with the fitted value, often fanning out as values grow. The coefficients are still unbiased, but standard errors and p values become unreliable. Plot residuals against fitted values to spot it, then try transforming the outcome, using robust standard errors or fitting weighted regression.
Experienced candidates are expected to spot where an analysis can mislead. These questions test judgement about bias, uncertainty and method choice.
Simpson paradox is when a trend that appears in several groups reverses or disappears when the groups are combined. It happens when group sizes differ and a hidden variable affects both the group and the outcome. The fix is to analyse the data by the relevant groups and think about which view answers the question.
Treatment A is better for both small and large stones, yet treatment B looks better overall, because A was given mostly to the harder, large stone cases.
Bootstrapping estimates the uncertainty of a statistic by repeatedly resampling the data with replacement and recalculating the statistic each time. The spread of those results approximates its sampling distribution. It is useful when no simple formula exists, for example for a median, a ratio or a custom metric, and when the sample is small.
A frequentist treats parameters as fixed and probability as the long run frequency of outcomes over repeated experiments, so it reports p values and confidence intervals. A Bayesian treats parameters as uncertain, starts from a prior belief, updates it with the data and reports a posterior distribution and credible intervals. Bayesian results are easier to read as direct probabilities, but need a prior.
Maximum likelihood estimation chooses the parameter values that make the observed data most probable. You write the likelihood of the data as a function of the parameters and find the values that maximise it, usually through the log likelihood. For example, the sample mean is the maximum likelihood estimate of the mean of a normal distribution. Logistic regression is fitted this way.
Data can be missing completely at random, missing at random given other observed variables, or missing not at random, where the reason depends on the missing value itself. Dropping rows is only safe in the first case. When high earners skip an income question, for example, the result is biased unless you model the missingness.
Selection bias happens when the people or items in your data are not representative of the group you want to study, because of how they were chosen. Survivorship bias is a type of it, where you only see the cases that survived a process and miss the failures. Reviewing only successful companies to find what makes a company successful is a classic example.
Look at a histogram and a Q Q plot, where points near a straight line suggest normality, and use a test such as Shapiro Wilk as a supporting check. With large samples these tests flag tiny departures that do not matter, so judge by the plot and by how sensitive your method is. Many methods tolerate mild non normality.
A small p value means the data departs from normality. The normal sample gives a large p value, and the skewed sample gives a very small one.
In real work you will explain results to managers and clients. Interviewers often test this with one question, to see whether you can be clear without losing accuracy.
Say that the p value tells you how surprising the result would be if nothing had really changed. A small value means the result would be very unusual by chance alone, so there is evidence of a real effect. Add that it does not tell you how big or how important the effect is.
What the interviewer is listening for: You avoid jargon, you stay accurate and you point out what the number does not tell you.
Say that the average from the survey is our best estimate, and the interval is a range that shows how precise it is. A narrow range means we can rely on the number more. If the range for a change includes zero, we cannot yet be sure there was any change.
What the interviewer is listening for: You describe precision in plain words and tie it to a decision.
Describe it as the typical distance of values from the average. If two classes both average 70 marks, a small standard deviation means most students scored close to 70, and a large one means scores were widely spread. It tells you whether the average is a good summary of the group.
What the interviewer is listening for: You use a concrete example in place of the formula.
The most common topics are descriptive statistics, probability and Bayes theorem, the normal distribution, hypothesis testing with p values, confidence intervals, regression and correlation. Experienced candidates are also asked about A B testing, bias, Simpson paradox and how to explain results. Prepare each with one worked numeric example.
Analysts need solid descriptive statistics, sampling, the normal distribution, confidence intervals, basic hypothesis tests and correlation. Regression and experiment design help for senior analyst roles. The emphasis is on interpreting results correctly and explaining them clearly, more than on proofs or derivations.
Know the main formulas and what each one means, such as the standard error, z score and confidence interval. Interviewers care more that you can explain the idea and use it on a small example than that you recite symbols. If you forget one, say so and reason from the definition.
Common mistakes include saying the p value is the probability that the null hypothesis is true, reading a confidence interval as a probability for one fixed interval, treating correlation as causation, and saying the t test is only for samples below 30. Practise stating these four points correctly.
Work each question here by hand first, then check it with the code. Take one public dataset and run a descriptive summary, a hypothesis test and a regression on it, writing a two line plain language conclusion for each. Then explain one result aloud as if to a manager.
Use this plan if you have about a month before your interview.
| Week | Focus | What to do |
|---|---|---|
| Week 1 | Descriptive statistics, sampling and the normal distribution | Work the first section by hand, then check each answer with the code. |
| Week 2 | Probability, Bayes theorem and common distributions | Solve five new Bayes and binomial problems of your own, and explain each aloud. |
| Week 3 | Hypothesis testing and confidence intervals | Run a t test, a chi square test and ANOVA on a public dataset and write a one paragraph conclusion for each. |
| Week 4 | Regression, bias and communication | Fit a regression, interpret every number, and rehearse the three plain language answers at the end. |
If you want to practise statistics with a trainer and apply it to real projects, you can book a free demo class for the Prwatech Data Science course. It covers statistics, Python, SQL and machine learning with hands on work.
Contact the learning team for current batch dates and fees.
Written by Mithun Ray, data engineering trainer at Prwatech. Reviewed by Avishekh Verma. Last updated October,2026.