Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free SAS Statistical Business Analysis SAS9: Regression and Model A00-240 Exam Questions

Last updated: · 12 practice questions with answers and explanations

Page: 1 / 10 Total 99 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: ANOVA

Skill tested: Evaluate ANOVA assumptions and select an appropriate variance correction for unequal group variances.

A manufacturer compares mean tensile strength across four production lines using a one-way model in PROC GLM. The residual-versus-predicted plot shows no systematic pattern, and normal probability plots are reasonably linear within each line. However, the residual spread increases substantially with the fitted mean, and Levene's test rejects equal variances. The production lines have similar sample sizes, and management wants an inferential comparison of means without transforming the response. Which approach is most appropriate?

Correct Answer: A. Use Welch's unequal-variance ANOVA through the MEANS statement in PROC GLM.
Explanation:

The variance diagnostic and Levene's test indicate heteroscedasticity. Welch's ANOVA, requested with the WELCH option in the MEANS statement of PROC GLM, adjusts the test for unequal variances while retaining a comparison of group means. Similar sample sizes can reduce sensitivity to some variance differences, but they do not make the ordinary pooled-variance test automatically appropriate. Repeated unadjusted TTEST comparisons inflate the familywise error rate, and a rank transformation changes the target of inference rather than directly testing arithmetic means.

Question 2

New Multiple answers

Topic: ANOVA

Skill tested: Interpret factor interactions and use simple effects to compare treatments at relevant factor levels.

A clinical analytics team fits a two-factor model in PROC GLM to examine treatment and clinic effects on a continuous outcome. The treatment-by-clinic interaction is statistically significant, while the treatment main effect is not. The team needs to determine whether treatment differences occur within particular clinics; it must not imply one common treatment effect across all clinics. Which two follow-up actions are most appropriate? Select TWO.

Correct Answer: C. Use an interaction plot and the fitted simple-effect comparisons to describe how treatment differences vary by clinic.; D. Request treatment least-squares means sliced by clinic and examine the treatment comparisons within each clinic.
Explanation:

A significant interaction means the treatment effect depends on clinic, so the pooled treatment main effect does not answer whether treatment differs within a given clinic. Slicing the treatment least-squares means by clinic provides the relevant simple comparisons, while an interaction plot helps communicate the pattern. The main-effect result cannot establish no effect in every clinic. Dropping the interaction contradicts the fitted evidence, and pooling across clinics can conceal or distort clinic-specific effects. Pairwise tests without appropriate modeling or multiplicity control are not a sound substitute.

Question 3

New Single answer

Topic: ANOVA

Skill tested: Choose multiplicity-adjusted post hoc comparisons after an overall treatment ANOVA.

A food laboratory evaluates five preservation methods with a one-way PROC GLM model. The overall treatment F test is significant, and the scientific goal is to identify which pairs of method means differ while controlling the familywise error rate across all pairwise comparisons. The sample sizes are equal, and the usual ANOVA assumptions are considered adequate. Which post hoc procedure best matches this goal?

Correct Answer: B. Use Tukey-adjusted pairwise comparisons of treatment least-squares means.
Explanation:

Tukey's procedure is designed for all pairwise mean comparisons and controls the familywise error rate under the one-way ANOVA setting. In PROC GLM, treatment least-squares means can be compared with the TUKEY adjustment. Unadjusted TTESTs inflate the chance of at least one false positive. Dunnett's procedure is tailored to comparisons against a designated control, not every pair or the grand mean. A single contrast answers only one prespecified comparison and cannot identify all differing pairs.

Question 4

New Single answer

Topic: Linear Regression

Skill tested: Interpret partial regression tests and assess multicollinearity in a multiple linear model.

An analyst models monthly energy use with building area, occupancy, operating hours, and equipment count in PROC REG. The overall model F test is significant and R-square is high. Yet the individual t tests for occupancy and operating hours are weak, their standard errors are large, and their variance inflation factors are high. A subject-matter review confirms these predictors are strongly correlated. The organization needs to retain both variables for explanatory reasons. What is the best interpretation and next step?

Correct Answer: C. Recognize that collinearity can inflate individual standard errors; retain the specified predictors and report their joint contribution using a partial F test.
Explanation:

A significant overall F test can coexist with weak individual t tests when predictors share explanatory information. High VIFs indicate inflated coefficient variance from multicollinearity; they do not by themselves prove model invalidity or omitted-variable bias. Because both predictors must remain, their joint contribution can be assessed with a partial F test comparing the full model with a model excluding the two terms together. Centering can help with some nonessential collinearity involving polynomial or interaction terms, but it does not generally remove correlation between two original predictors.

Question 5

New Multiple answers

Topic: Linear Regression

Skill tested: Select a regression model using validation-oriented criteria while controlling redundant candidate predictors.

A pricing group has many candidate predictors, including correlated measures of customer activity. It uses PROC GLMSELECT for a linear response and wants a parsimonious model selected by a prespecified criterion, with a final model that can be scored later using PROC PLM. The analysts must avoid choosing terms solely because they improve fit in the same sample. Which TWO actions best meet these requirements? Select TWO.

Correct Answer: B. Specify a model-selection criterion such as validation-set average squared error or a penalized information criterion, and review the selection path.; D. Use PROC GLMSELECT to fit the selected model, then store the fitted model with a STORE statement for subsequent PROC PLM use.
Explanation:

A criterion that penalizes complexity or evaluates performance on validation data is preferable to maximizing training fit alone. Reviewing the selection path helps identify how candidate terms enter and whether the selected model is sensible. PROC GLMSELECT supports model selection and can store the fitted model for later use with PROC PLM. Training R-square generally cannot decrease when predictors are added and is not an unbiased estimate of future performance. Automatically deleting correlated variables can discard useful information and is not required regardless of context.

Question 6

New Single answer

Topic: Linear Regression

Skill tested: Diagnose nonconstant variance and influential observations using regression residual diagnostics.

A bank models loan processing time with continuous operational predictors using PROC REG. Residuals are centered around zero, but the residual-versus-predicted plot forms a widening funnel. One observation has a large studentized residual and high Cook's D; it is a verified data record from an unusually complex but valid loan. The model will support operational planning, and no transformation has yet been assessed. What should the analyst do next?

Correct Answer: C. Investigate the variance pattern and influential case, assess an appropriate transformation or variance-aware modeling approach, and compare diagnostics before deciding whether the case changes conclusions.
Explanation:

A funnel-shaped residual pattern suggests nonconstant error variance, while a large studentized residual and Cook's D identify an observation worth investigating, not automatically deleting. Since the record is valid, the analyst should assess its influence on estimates and conclusions and consider a justified response transformation or an approach that addresses heteroscedasticity. Adding arbitrary predictors can overfit and may not correct the variance structure. Residuals centered at zero do not establish constant variance or rule out influential observations.

Question 7

New Single answer

Topic: Logistic Regression

Skill tested: Interpret logistic regression odds ratios for a continuous predictor while accounting for scale.

A service company models whether a customer renews a subscription with PROC LOGISTIC. The fitted coefficient for customer tenure, measured in months, is positive, and its odds ratio estimate is 1.04. Managers want to describe the change associated with a one-year increase in tenure. The model includes other customer characteristics and uses the same measurement scale for scoring. Which interpretation is appropriate, assuming the linear logit specification is adequate?

Correct Answer: C. For each additional month of tenure, the odds of renewal increase by 4%, holding the other modeled predictors fixed; a 12-month change corresponds to an odds ratio of approximately 1.04 to the twelfth power.
Explanation:

A continuous-predictor odds ratio in PROC LOGISTIC applies to a one-unit increase in the predictor's recorded scale. Here, one unit is one month, so the conditional odds are multiplied by 1.04 per additional month. Over 12 months, the multiplicative odds ratio is approximately 1.04^12, not simply 1.04. Odds are not probabilities: the probability change depends on the starting probability and other covariates, so neither a fixed four-percentage-point increase nor a direct percentage of customers is implied.

Question 8

New Multiple answers

Topic: Logistic Regression

Skill tested: Score new observations from stored logistic models and preserve probability event interpretation.

A credit union fits a binary logistic model in PROC LOGISTIC for default status and needs a repeatable scoring process for monthly applicant files. The model uses a CLASS predictor with an explicitly chosen reference level. Analysts want both predicted probabilities and classification information from the fitted model, without refitting it on each scoring file. Which TWO approaches are appropriate? Select TWO.

Correct Answer: A. Use the SCORE statement in PROC LOGISTIC with a scoring data set containing compatible predictor variables and the fitted model's class-level coding.; B. Store the model with a STORE statement, then use PROC PLM to score the new data with the stored item store.
Explanation:

PROC LOGISTIC can score a compatible data set using its SCORE statement, and a model stored with STORE can be used with PROC PLM for scoring without refitting. The scoring data must supply the required predictors, and CLASS levels and coding must be consistent with the fitted model so that the intended parameterization is applied. Refitting on each scoring file changes the model rather than merely applying it. A response-free predictor set is not sufficient for scoring, and changing the reference coding can alter the interpretation and parameterization.

Question 9

New Single answer

Topic: Logistic Regression

Skill tested: Select a classification cutoff based on asymmetric error costs and predicted event probabilities.

A fraud team fits a logistic model that predicts the probability of a transaction being fraudulent. Fraud is rare, and missing a fraudulent transaction costs the organization far more than reviewing a legitimate transaction. The current classification cutoff is 0.50, producing few alerts. The team can investigate only a limited number of alerts each day and has historical validation data containing observed outcomes and predicted probabilities. What is the best way to establish an operational cutoff?

Correct Answer: C. Evaluate candidate cutoffs on validation data using the stated error costs and daily review capacity, then select a cutoff that yields an acceptable operational tradeoff.
Explanation:

A cutoff is a decision rule, not a fixed property of logistic regression. The appropriate value depends on false-negative and false-positive costs and the team's review capacity. Applying candidate cutoffs to held-out validation data allows the team to estimate the resulting error tradeoffs without relying on training performance. A 0.50 threshold is not universally optimal, overall accuracy can be misleading for rare events and does not encode asymmetric costs, and prevalence alone does not determine an operationally suitable threshold.

Question 10

New Multiple answers

Topic: Prepare Inputs for Predictive Model Performance

Skill tested: Create informative categorical predictors by grouping sparse levels based on training data and business meaning.

An insurer is preparing categorical inputs for a predictive model. A territory variable has 80 levels, many represented by only a few records, and the level definitions are stable business codes. A separate customer identifier is unique for nearly every record. The model will be evaluated on a later time period, so the preprocessing must not use validation outcomes or create unstable estimates for rare levels. Which TWO preparation decisions are most appropriate? Select TWO.

Correct Answer: A. Group rare territory levels into a defensible broader category using training data and domain knowledge, then apply the same mapping to validation and scoring data.; E. Exclude the customer identifier as an identifier with no defensible generalizable meaning, unless a justified transformation creates a reusable signal.
Explanation:

Rare category levels can produce unstable estimates, so grouping them into meaningful, sufficiently supported categories is often preferable. The mapping should be learned from training data and reused unchanged for validation and production scoring to avoid leakage and inconsistent coding. A near-unique customer identifier generally memorizes records rather than expressing a reusable relationship. Keeping singleton levels encourages unstable estimates, while choosing groupings based on validation outcomes leaks information from the assessment data into preprocessing.

Question 11

New Single answer

Topic: Prepare Inputs for Predictive Model Performance

Skill tested: Use empirical logit plots to screen continuous predictors for nonlinear relationships with a binary outcome.

A public health analyst is screening continuous predictors before fitting a logistic model. For one predictor, the empirical logit plot shows a clear curved trend rather than an approximately straight relationship over the observed range. The analyst wants to preserve the variable but improve the model's representation of its association with the binary outcome. Which next step is most appropriate?

Correct Answer: B. Add a justified nonlinear representation, such as a polynomial term or appropriately constructed categories, and assess the revised model using held-out data.
Explanation:

An empirical logit plot is a screening tool for whether a continuous predictor's relationship with the binary outcome is adequately represented as linear on the logit scale. A curved pattern suggests considering a transformation, polynomial term, or defensible categorization, then checking the revised specification on data not used to select it. Curvature does not show that the variable lacks association. Replacing individual binary responses with grouped empirical logits changes the analysis and is not ordinary record-level logistic regression; logistic regression does not automatically impose nonlinear predictor effects.

Question 12

New Single answer

Topic: Measure Model Performance

Skill tested: Compare classifiers using ROC curves and choose a validation-based measure appropriate to ranking performance.

A subscription business compares two binary classifiers for ranking likely cancellations. Both were fitted on the same training data, but their predicted probabilities are being compared on an independent validation set. Model X has higher training accuracy at a cutoff of 0.50, while Model Y's validation ROC curve lies above Model X's over most false-positive rates and its validation area under the ROC curve is higher. The business has not yet selected an operational cutoff. Which conclusion is best supported?

Correct Answer: B. Prefer Model Y for validation-set discrimination, while choosing a cutoff separately based on business costs and capacity.
Explanation:

The validation ROC curve and higher area under it support better discrimination or ranking across thresholds for Model Y. That evidence is more relevant to the stated ranking objective than Model X's training accuracy at one arbitrary cutoff. It does not establish calibration, which concerns agreement between predicted probabilities and observed event frequencies. Nor does it choose an operational threshold: the business should set that decision rule separately using its costs, constraints, and validation evidence.