• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 31 pages
Exam (elaborations)

WGU D599 Exam 2 : Statistical Analysis and Testing | Complete Report, Python Code & Hypothesis Testing | 2026/2027 {JUST RELEASED} Updated

Document preview thumbnail
Preview 4 out of 31 pages

WGU D599 Exam 2 : Statistical Analysis and Testing | Complete Report, Python Code & Hypothesis Testing | 2026/2027 {JUST RELEASED} Updated

Content preview

WGU D599 Exam 2 : Statistical Analysis and
Testing | Complete Report, Python Code &
Hypothesis Testing | 2026/2027 {JUST
RELEASED} Updated
Practice Question Bank & Answer Rationale




THIS PACK CONTAINS
100 exam-style multiple-choice questions. Each question includes the correct answer and a complete
rationale for focused revision.




COVERAGE
This exam assesses competency in descriptive and inferential statistics using Python. It covers probability
distributions, sampling, hypothesis testing fundamentals, parametric and nonparametric tests,
correlation/regression, and interpretation of results in alignment with current statistical reporting standards.




STUDY GUIDE
Recommended duration: 3 hours. Passing target: 80%.




HIGHP - Page 1 of 31

,1. Which pandas method best summarizes a numeric column's distribution with quartiles
and outliers?

[ ] A. df['col'].describe()
[ ] B. df['col'].value_counts()
[ ] C. df['col'].plot.hist()
[ ] D. df['col'].groupby().mean()


CORRECT: A. df['col'].describe()
describe() returns count, mean, std, min, quartiles, and max, giving a compact distribution summary including
IQR for outlier detection. value_counts() is for categorical frequency, hist() visualizes but does not numerically
summarize quartiles, and groupby().mean() only gives grouped means.



2. A sampling distribution of the mean will be approximately normal if the sample size is
large, regardless of population shape. This is:

[ ] A. Law of Large Numbers
[ ] B. Central Limit Theorem
[ ] C. Bayes' Theorem
[ ] D. Chebyshev's Inequality


CORRECT: B. Central Limit Theorem
The Central Limit Theorem states that the sampling distribution of the mean approaches normality as sample
size increases, irrespective of the population distribution. The Law of Large Numbers concerns convergence
of sample mean to population mean, Bayes' Theorem updates probabilities, and Chebyshev's Inequality
bounds tail probabilities.



3. In a two-sample t-test, which SciPy function returns the t-statistic and p-value assuming
unequal variances?

[ ] A. scipy.stats.ttest_ind(a, b, equal_var=True)
[ ] B. scipy.stats.ttest_ind(a, b, equal_var=False)
[ ] C. scipy.stats.ttest_rel(a, b)
[ ] D. scipy.stats.f_oneway(a, b)


CORRECT: B. scipy.stats.ttest_ind(a, b, equal_var=False)
ttest_ind with equal_var=False performs Welch's t-test, which does not assume equal population variances.
equal_var=True assumes equal variances, ttest_rel is for paired samples, and f_oneway is for ANOVA across
multiple groups.



4. A researcher reports p = 0.03 with = 0.05. Which conclusion is most appropriate?

[ ] A. Reject H0; there is statistically significant evidence.
[ ] B. Fail to reject H0; no evidence.



HIGHP - Page 2 of 31

, [ ] C. Accept H0 as true.
[ ] D. The effect size is large.


CORRECT: A. Reject H0; there is statistically significant evidence.
Since p < , we reject the null hypothesis and conclude there is statistically significant evidence against H0.
Failing to reject would require p ; accepting H0 is never correct in frequentist testing; and p-value does not
indicate effect size.



5. Which nonparametric test is appropriate for comparing three or more independent
groups when normality is violated?

[ ] A. Kruskal-Wallis H test
[ ] B. Mann-Whitney U test
[ ] C. Wilcoxon signed-rank test
[ ] D. Friedman test


CORRECT: A. Kruskal-Wallis H test
The Kruskal-Wallis H test is the nonparametric alternative to one-way ANOVA for comparing three or more
independent groups. Mann-Whitney U is for two independent groups, Wilcoxon signed-rank is for paired data,
and Friedman is for repeated measures across three or more conditions.



6. In statsmodels OLS regression, which attribute provides the coefficient of
determination (R²)?

[ ] A. results.params
[ ] B. results.rsquared
[ ] C. results.pvalues
[ ] D. results.conf_int()


CORRECT: B. results.rsquared
The rsquared attribute of an OLS results object gives the proportion of variance explained by the model.
params holds coefficients, pvalues gives p-values for coefficients, and conf_int() returns confidence intervals.



7. A Pearson correlation of r = 0.85 between two variables implies:

[ ] A. 85% of variance in one variable is explained by the other.
[ ] B. A strong positive linear relationship.
[ ] C. Causation is established.
[ ] D. The variables are independent.


CORRECT: B. A strong positive linear relationship.
r = 0.85 indicates a strong positive linear association. The proportion of variance explained is r² = 0.7225
(72.25%), not 85%; correlation does not imply causation; and independence would yield r near 0.



HIGHP - Page 3 of 31

, 8. Which assumption is critical for the validity of a one-way ANOVA?

[ ] A. Homogeneity of variances
[ ] B. Multicollinearity
[ ] C. Autocorrelation
[ ] D. Normality of predictors


CORRECT: A. Homogeneity of variances
ANOVA assumes independent observations, normality of residuals, and homogeneity of variances across
groups. Multicollinearity and autocorrelation are regression concerns, and normality applies to residuals, not
predictors.



9. When performing a chi-square test of independence in Python, which SciPy function is
used?

[ ] A. scipy.stats.chi2_contingency
[ ] B. scipy.stats.chisquare
[ ] C. scipy.stats.fisher_exact
[ ] D. scipy.stats.ttest_ind


CORRECT: A. scipy.stats.chi2_contingency
chi2_contingency computes the chi-square statistic and p-value for a contingency table, testing
independence between categorical variables. chisquare is for goodness-of-fit, fisher_exact is for 2x2 tables
with small counts, and ttest_ind is for means.



10. In hypothesis testing, the p-value represents:

[ ] A. Probability that H0 is true.
[ ] B. Probability of observing data as extreme or more extreme given H0 is true.
[ ] C. Probability of Type II error.
[ ] D. Probability that H1 is true.


CORRECT: B. Probability of observing data as extreme or more extreme given H0 is true.
The p-value is the probability of obtaining a test statistic at least as extreme as the observed one, assuming
the null hypothesis is true. It is not the probability that H0 or H1 is true, nor is it the Type II error rate ().



11. In statsmodels OLS, which diagnostic most directly detects heteroskedasticity
affecting inference?

[ ] A. Durbin-Watson statistic
[ ] B. Breusch-Pagan test
[ ] C. Variance inflation factor
[ ] D. Jarque-Bera test




HIGHP - Page 4 of 31

Document information

Uploaded on
October 26, 2026
Number of pages
31
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$21.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ProfReginaBank
4.4
(5)
Sold
45
Followers
2
Items
2543
Last sold
2 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions