Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
You're offline
Unit 5 MCQsRole of Statistics in Data Science
ECAP792 ·
60 questions. Pick an option to check it.
Hypothesis testing uses sample evidence to evaluate a claim about a population.
Question 2 of 60 · Null hypothesis · Easy
What does the null hypothesis usually state?
Not quite. Try another option.
Answer: There is no effect or difference
The null hypothesis, written as , usually represents no effect, difference, or association.
Question 3 of 60 · Alternative hypothesis · Easy
What does the alternative hypothesis generally propose?
Not quite. Try another option.
Answer: An effect or difference exists
The alternative hypothesis, written as or , proposes that an effect, difference, or association exists.
Question 4 of 60 · Statistical significance · Easy
A result is commonly considered statistically significant when which condition is met?
Not quite. Try another option.
Answer: The p-value is below the significance level
A result is statistically significant when its p-value is less than the chosen significance level .
Question 5 of 60 · Type 1 and type 2 errors · Easy
What is a Type 1 error?
Not quite. Try another option.
Answer: Rejecting a true null hypothesis
A Type 1 error occurs when a true null hypothesis is incorrectly rejected.
Question 6 of 60 · Type 1 and type 2 errors · Easy
What is a Type 2 error?
Not quite. Try another option.
Answer: Failing to reject a false null hypothesis
A Type 2 error occurs when a false null hypothesis is not rejected.
Question 7 of 60 · p-value · Easy
What does a p-value measure?
Not quite. Try another option.
Answer: Evidence against the null hypothesis
A smaller p-value indicates stronger evidence against the null hypothesis.
Question 8 of 60 · p-value · Easy
If and , what is the usual decision?
Not quite. Try another option.
Answer: Reject the null hypothesis
Because , the result is statistically significant and is rejected.
Question 9 of 60 · ANOVA · Easy
What is ANOVA mainly used to compare?
Not quite. Try another option.
Answer: Means of three or more groups
ANOVA tests whether there are statistically significant differences among multiple group means.
Question 10 of 60 · ANOVA · Easy
What does ANOVA stand for?
Not quite. Try another option.
Answer: Analysis of Variance
ANOVA is the abbreviation for Analysis of Variance.
Question 11 of 60 · ANOVA · Easy
What does the null hypothesis in a basic one-way ANOVA state?
Not quite. Try another option.
Answer: All group means are equal
The ANOVA null hypothesis states that the population means of all groups are equal.
Question 12 of 60 · Chi-square test · Easy
Which type of data is commonly analyzed using a chi-square test?
Not quite. Try another option.
Answer: Categorical frequency data
Chi-square tests commonly use counts or frequencies from categorical variables.
Question 13 of 60 · Chi-square test · Easy
A chi-square test of independence examines whether two categorical variables are what?
Not quite. Try another option.
Answer: Associated with each other
The chi-square test of independence checks whether two categorical variables are associated.
Question 14 of 60 · Data science · Easy
How does statistics support data science?
Not quite. Try another option.
Answer: It helps analyze data and draw conclusions
Statistics provides methods for analyzing data, identifying patterns, and drawing evidence-based conclusions.
Question 15 of 60 · Statistical significance · Easy
What symbol commonly represents the significance level?
Not quite. Try another option.
Answer:
The symbol represents the significance level, often set to .
Question 16 of 60 · Hypothesis testing · Easy
Which two statements are directly compared in hypothesis testing?
Not quite. Try another option.
Answer: Null and alternative hypotheses
Hypothesis testing evaluates evidence involving the null hypothesis and the alternative hypothesis.
Question 17 of 60 · Type 1 and type 2 errors · Easy
Which everyday term best describes a Type 1 error?
Not quite. Try another option.
Answer: False positive
A Type 1 error is a false positive because it claims an effect exists when it does not.
Question 18 of 60 · Type 1 and type 2 errors · Easy
Which everyday term best describes a Type 2 error?
Not quite. Try another option.
Answer: False negative
A Type 2 error is a false negative because it misses an effect that actually exists.
Question 19 of 60 · p-value · Easy
Which p-value provides stronger evidence against the null hypothesis?
Not quite. Try another option.
Answer:
Among these values, is the smallest and therefore provides the strongest evidence against .
Question 20 of 60 · Chi-square test · Easy
What does the null hypothesis in a chi-square test of independence usually state?
Not quite. Try another option.
Answer: The categorical variables are independent
The null hypothesis states that there is no association between the two categorical variables.
Question 21 of 60 · Hypothesis testing · Medium
A data scientist measures the prediction latency of the same 30 servers before and after an optimization. Which test is most appropriate for comparing the mean latencies?
Not quite. Try another option.
Answer: Paired-samples t-test
The measurements are paired because each server is tested both before and after the optimization.
Question 22 of 60 · Null hypothesis · Medium
An online retailer tests whether a redesigned page changes the conversion rate from its current value of 8%. Which null hypothesis is appropriate?
Not quite. Try another option.
Answer:
The null hypothesis normally represents no change, so the population conversion rate remains 8%.
Question 23 of 60 · Alternative hypothesis · Medium
A company will adopt a new recommendation algorithm only if it increases mean revenue above the current value of per user. Which alternative hypothesis should be used?
Not quite. Try another option.
Answer:
The claim specifically concerns an increase, so a right-tailed alternative is appropriate.
Question 24 of 60 · Statistical significance · Medium
A hypothesis test produces a p-value of with significance level . What is the appropriate decision?
Not quite. Try another option.
Answer: Reject as statistically significant
Because , the result is statistically significant at the 5% level.
Question 25 of 60 · Type 1 and type 2 errors · Medium
In a fraud-detection test, states that a transaction is legitimate. What is a Type I error?
Not quite. Try another option.
Answer: Flagging a legitimate transaction as fraud
A Type I error rejects a true null hypothesis, producing a false fraud alert.
Question 26 of 60 · Type 1 and type 2 errors · Medium
A medical screening study uses : the patient does not have the condition. Which outcome represents a Type II error?
Not quite. Try another option.
Answer: Missing a patient who has the condition
A Type II error fails to reject a false null hypothesis, so an actual condition is missed.
Question 27 of 60 · Type 1 and type 2 errors · Medium
A data scientist wants to reduce the probability of a Type II error while keeping fixed. Which change is generally most effective?
Not quite. Try another option.
Answer: Increase the sample size
A larger sample generally increases statistical power and lowers the probability of a Type II error.
Question 28 of 60 · p-value · Medium
A model comparison produces a p-value of . Which interpretation is correct?
Not quite. Try another option.
Answer: Assuming is true, equally or more extreme data have probability 0.02
A p-value is calculated under the assumption that the null hypothesis is true; it is not the probability that is true.
Question 29 of 60 · p-value · Medium
A test returns . At which significance levels would the result be statistically significant?
Not quite. Try another option.
Answer: and
The result is significant when , which holds for 0.05 and 0.10.
Question 30 of 60 · ANOVA · Medium
A data scientist wants to compare mean customer spending across four membership tiers. Which test is the most appropriate initial analysis?
Not quite. Try another option.
Answer: One-way ANOVA
One-way ANOVA tests whether the means of three or more independent groups differ.
Question 31 of 60 · ANOVA · Medium
Which set of conditions best matches the standard assumptions of a one-way ANOVA?
Not quite. Try another option.
Answer: Independent observations, normal residuals, and similar variances
Standard one-way ANOVA assumes independence, approximately normal residuals, and homogeneity of variance.
Question 32 of 60 · ANOVA · Medium
An ANOVA comparing five model configurations is statistically significant. What should the data scientist do next to identify which means differ?
Not quite. Try another option.
Answer: Apply a post-hoc multiple-comparison test
A significant ANOVA shows that at least one mean differs, but a post-hoc test is needed to locate the differences.
Question 33 of 60 · Chi-square test · Medium
A researcher examines whether preferred device type (mobile, tablet, desktop) is associated with subscription status (free, paid). Which test is appropriate?
Not quite. Try another option.
Answer: Chi-square test of independence
Both variables are categorical, so a chi-square test of independence can assess their association.
Question 34 of 60 · Chi-square test · Medium
In a contingency table, a row total is 120, a column total is 50, and the grand total is 200. What is the expected count for their intersecting cell?
Not quite. Try another option.
Answer:
The expected count is .
Question 35 of 60 · Chi-square test · Medium
A die is rolled 120 times to determine whether its outcomes follow a uniform distribution. Which statistical test should be used?
Not quite. Try another option.
Answer: Chi-square goodness-of-fit test
The goodness-of-fit test compares observed counts with counts expected from a specified distribution.
Question 36 of 60 · Chi-square test · Medium
What are the degrees of freedom for a chi-square test of independence using a contingency table?
Not quite. Try another option.
Answer:
The degrees of freedom are .
Question 37 of 60 · Data science · Medium
A machine-learning model has 92% validation accuracy, while another has 91.8%. Why should a data scientist perform a statistical comparison?
Not quite. Try another option.
Answer: To assess whether the difference may reflect sampling variation
Statistical analysis helps determine whether a small observed difference is distinguishable from random sampling variation.
Question 38 of 60 · Hypothesis testing · Medium
A team independently tests 10 model features and wants a family-wise significance level of 0.05 using the Bonferroni correction. What threshold should each test use?
Not quite. Try another option.
Answer:
The Bonferroni threshold is for each test.
Question 39 of 60 · Statistical significance · Medium
With a very large dataset, a new model reduces mean error by 0.001 units and produces . What is the best conclusion?
Not quite. Try another option.
Answer: The reduction is statistically significant but may lack practical importance
A small p-value supports statistical significance, but effect size and context determine practical importance.
Question 40 of 60 · ANOVA · Medium
In a one-way ANOVA, what does a large -statistic generally indicate?
Not quite. Try another option.
Answer: Between-group variation is large relative to within-group variation
The -statistic compares between-group variability with within-group variability; a large ratio provides evidence against equal means.
Question 41 of 60 · Hypothesis testing · Hard
A researcher observes a symmetric test statistic and chooses the one-sided alternative only after seeing whether is positive or negative. They then reject whenever the selected one-sided p-value is below . Under , what is the actual Type I error rate?
Not quite. Try another option.
Answer: Approximately
Choosing the direction after observing the sign makes the rule equivalent to rejecting when exceeds the one-sided cutoff. Both tails count, so the error rate is approximately .
Question 42 of 60 · Null hypothesis · Hard
For a composite null hypothesis , which p-value construction most directly guarantees that a level- test controls Type I error for every ?
Not quite. Try another option.
Answer:
Taking the supremum uses the least favorable null value. Thus, rejection at controls the rejection probability uniformly over the composite null.
Question 43 of 60 · Alternative hypothesis · Hard
To establish that a mean difference is practically equivalent to zero within a margin , which hypotheses are appropriate for the two one-sided tests procedure?
Not quite. Try another option.
Answer: versus
Equivalence testing places non-equivalence in the null. Both boundary nulls must be rejected to conclude that lies strictly inside the equivalence interval.
Question 44 of 60 · Statistical significance · Hard
Twenty independent parameters each have a pointwise confidence interval. If all model assumptions hold, what is the probability that all 20 intervals simultaneously contain their parameters?
Not quite. Try another option.
Answer:
Under independence, simultaneous coverage is the product of the individual coverage probabilities: . Pointwise intervals do not provide familywise coverage.
Question 45 of 60 · Type 1 and type 2 errors · Hard
For a fixed nonzero effect size and correctly specified model, sample size is increased while the test threshold is recalibrated to keep . What generally happens?
Not quite. Try another option.
Answer: Type I error stays fixed and Type II error decreases
Calibration preserves the Type I error at . A larger sample generally increases power against a fixed alternative, so the Type II error probability decreases.
Question 46 of 60 · Type 1 and type 2 errors · Hard
A data scientist performs 20 independent hypothesis tests, each at significance level , and every null hypothesis is true. What is the probability of at least one Type I error?
Not quite. Try another option.
Answer:
The probability of no false rejection is . Therefore, the familywise Type I error probability is .
Question 47 of 60 · p-value · Hard
A valid test produces . Which interpretation is correct?
Not quite. Try another option.
Answer: Under , results at least as extreme have probability
A p-value is computed conditional on the null hypothesis. It is not a posterior probability for , an effect, or successful replication.
Question 48 of 60 · p-value · Hard
Under , a one-sided test rejects for unusually large . If is observed, what is the exact p-value?
Not quite. Try another option.
Answer:
The p-value includes the observed result and all more extreme outcomes: .
Question 49 of 60 · ANOVA · Hard
In a balanced ANOVA, treatment B exceeds treatment A by units at the low level of a second factor, but treatment B is units below treatment A at the high level. Which conclusion is most defensible?
Not quite. Try another option.
Answer: The treatment main effect can vanish despite an interaction
The opposite simple effects cancel when averaged, producing a zero treatment main effect. Their change across levels indicates a crossover interaction.
Question 50 of 60 · ANOVA · Hard
Three groups each contain four observations. Their sample means are , , and , while the pooled within-group sum of squares is . What is the one-way ANOVA statistic ?
Not quite. Try another option.
Answer:
The grand mean is , so . Thus , , and .
Question 51 of 60 · ANOVA · Hard
A study records five repeated measurements from each participant but analyzes all measurements using ordinary one-way ANOVA as if they came from different people. With positive within-participant correlation, what is the main inferential risk?
Not quite. Try another option.
Answer: Standard errors are underestimated and Type I error is inflated
Repeated observations from one participant are not independent experimental units. Ignoring positive clustering exaggerates the effective sample size and commonly produces standard errors that are too small.
Question 52 of 60 · ANOVA · Hard
A one-way comparison has strongly unequal group variances and unequal sample sizes, with the largest variance occurring in the smallest group. Which omnibus procedure is generally most appropriate?
Not quite. Try another option.
Answer: Welch's ANOVA using variance-adjusted group weights
Welch's ANOVA is designed for heteroscedastic groups and adjusts both weighting and degrees of freedom. Classical pooled ANOVA can be badly distorted when group sizes and variances are associated.
Question 53 of 60 · Chi-square test · Hard
A chi-square goodness-of-fit test uses six categories. Two distribution parameters are estimated from the same observations before expected counts are calculated. What are the test's degrees of freedom?
Not quite. Try another option.
Answer:
The degrees of freedom are , where categories and fitted parameters. Hence .
Question 54 of 60 · Chi-square test · Hard
A table has observed counts . What is Pearson's chi-square statistic without continuity correction?
Not quite. Try another option.
Answer:
The expected counts are . Summing gives .
Question 55 of 60 · Chi-square test · Hard
Binary outcomes are measured on the same individuals before and after an intervention. Which test appropriately assesses marginal change while accounting for pairing?
Not quite. Try another option.
Answer: McNemar's chi-square test using discordant pairs
McNemar's test is designed for paired binary data and compares the two types of discordant pairs. Pearson's independence test incorrectly treats before and after outcomes as independent.
Question 56 of 60 · Data science · Hard
A feature-selection algorithm is run once on the complete labeled dataset, after which cross-validation evaluates a model using only the selected features. Why is the estimated performance generally optimistic?
Not quite. Try another option.
Answer: Validation labels influenced selection before the folds were evaluated
Selection used information from observations later treated as held out. Feature selection must occur inside each training fold to prevent leakage into validation performance.
Question 57 of 60 · Data science · Hard
Suppose outcomes are missing at random conditional on observed covariates , and every observation has a positive response probability. Which method can consistently estimate the population outcome mean if its required model is correctly specified?
Not quite. Try another option.
Answer: Inverse-probability weighting using modeled response probabilities
Under conditional missing at random and positivity, correctly modeled inverse response probabilities reweight observed outcomes to represent the target population. Unadjusted complete-case analysis need not be consistent.
Question 58 of 60 · Statistical significance · Hard
Five ordered p-values are . Using the Benjamini–Hochberg procedure with false discovery rate , how many hypotheses are rejected?
Not quite. Try another option.
Answer: Three hypotheses
The thresholds are . The largest passing index is because , while .
Question 59 of 60 · ANOVA · Hard
For four equally sized groups, which pair of contrasts is orthogonal?
Not quite. Try another option.
Answer: and
With equal group sizes, contrasts are orthogonal when the dot product of their coefficients is zero. Here it is .
Question 60 of 60 · Chi-square test · Hard
An aggregated chi-square test shows a strong association between treatment and recovery, but the association largely disappears within every hospital. Hospital is related to both treatment assignment and recovery. What is the best next analysis?
Not quite. Try another option.
Answer: Use a stratified method such as the Cochran–Mantel–Haenszel test
The aggregate relationship may be confounded by hospital, a form of Simpson's paradox. A stratified test assesses treatment association while controlling for hospital strata.
That's unit 5
Answer a few questions and your score shows up here.
Nearly through. Did unit 5 of ECAP792 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 5 of ECAP792 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.