Exam Information
Free practice questions with explanations
SAS A00-240 Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 13
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice ANOVA
A pharmaceutical analyst is comparing mean tablet dissolution times across four manufacturing sites using a completely randomized design. Before reporting the F test, she plots residuals against fitted values and sees a funnel shape, with spread increasing as the mean increases. The residuals are otherwise approximately normal. The sample sizes per site differ substantially. Which remedial action is the BEST first step to address the violated assumption?
Correct Answer: CExplanationA funnel-shaped residual plot against fitted values signals heteroscedasticity, which violates the equal-variance assumption of ANOVA. A variance-stabilizing transformation such as a log or square-root of the response, followed by refitting with PROC GLM, addresses the problem while keeping the factorial structure and the overall F test. Adding an interaction does not model unequal variance, and dropping sites discards valid data without fixing the assumption. Rank-based pairwise tests abandon the mean comparison the study is designed to make and inflate error rates without post hoc control.
-
2 Question 2 Single choice ANOVA
A marketing team ran a two-factor experiment crossing ad format (three levels) with audience segment (two levels) and recorded weekly conversion rates. The analyst fits a PROC GLM model with both main effects and their interaction. The interaction term is significant at alpha 0.05, but the team wants to know which format performs best within each segment. The stakeholders ask for a valid comparison that does not inflate the family-wise error rate across the six combinations. Which approach is MOST appropriate?
Correct Answer: DExplanationWhen a significant interaction exists, the main effects are not interpreted in isolation. Slicing the format effect by segment with the SLICE option in LSMEANS gives the simple effects, and the Tukey adjustment controls the family-wise error across the comparisons. Separate TTEST runs ignore the pooled error estimate from the full model and do not control multiplicity. Reporting only main effects misleads the stakeholders given the interaction. Removing the interaction misspecifies the model when the interaction is clearly present.
-
3 Question 3 Single choice Linear Regression
A telecom analyst fits a multiple linear regression of monthly spend on tenure, data usage, number of support calls, and plan type using PROC REG on 18,000 customers. Several predictors show large standard errors and the VIF column is above 15 for two usage variables that are nearly linear combinations of each other. The business wants a model for pricing decisions that reports stable, interpretable coefficients for the usage drivers. Which action is the BEST next step?
Correct Answer: DExplanationInflated VIF values above the usual threshold indicate severe multicollinearity, which destabilizes coefficient estimates and their standard errors. The VIF and COLLIN options in PROC REG identify which variables are involved and the condition indices for the dependency. Combining the variables into a single usage measure or dropping one restores stable, interpretable estimates. RSQUARE reports fit statistics and does not stabilize coefficients. Adding a random effect changes the model structure without resolving linear dependence. Loosening the entry significance level keeps the problem variables in the model rather than solving it.
-
4 Question 4 Single choice Linear Regression
A manufacturing engineer builds a regression of defect rate on temperature, pressure, and line speed using PROC REG with the training data. Diagnostic plots show a few observations with very large Cook's D values and studentized residuals beyond 3. The engineer confirms these rows come from a known sensor recalibration event that the process owners say should not recur. The model must be used to set parameters for the next production run. Which action is the MOST defensible?
Correct Answer: AExplanationCook's D and large studentized residuals identify influential observations, and a verified, non-recurring cause such as a sensor recalibration justifies excluding them with clear documentation. Refitting and comparing the coefficients confirms the conclusion is driven by the process rather than by the outliers. Keeping the points lets an unrepresentative event distort the parameters for future runs. A log transform changes the scale of the response rather than removing the cause of the influence. Stepwise selection does not address influence and is not a diagnostic remedy.
-
5 Question 5 Multiple choice Logistic Regression
A bank is building a PROC LOGISTIC model to predict loan default from 60 candidate inputs, including several categorical variables with many sparse levels and a number of highly correlated income measures. The data has 4,200 defaults among 310,000 applications and the model is used for scoring nightly. The team wants a parsimonious model that generalizes well and that the scoring team can deploy without custom code. Which TWO actions are MOST appropriate? (Choose two.)
Correct Answer: B, EExplanationSelecting inputs on the training partition and judging candidates on the validation partition gives an honest estimate of generalization, and PROC LOGISTIC's selection methods support this workflow. Collapsing sparse categorical levels stabilizes the coefficient estimates and avoids unreliable effects from near-empty cells, which also makes the scoring logic simpler. Selecting on the full data leaks information and inflates significance. Keeping all inputs ignores correlated and sparse predictors that destabilize estimates. Splines on categorical variables are not a meaningful substitute for level collapsing and complicate deployment.
-
6 Question 6 Single choice Logistic Regression
A healthcare analytics group fits a binary logistic model of 30-day readmission using PROC LOGISTIC with the training partition. The model output shows the Hosmer and Lemeshow test is not significant and the concordance statistic is 0.74. The group now must score a new monthly extract of 12,000 patients using the saved model, and the scoring team insists the predicted probabilities must match the training output exactly. The extract has a different number of hospital codes than the training data. Which action will BEST ensure a correct and reproducible score?
Correct Answer: BExplanationSaving the fitted model with OUTMODEL= and scoring with PROC PLM reuses the exact estimated parameters and the design coding learned in training. Hospital codes must map to the levels used during fitting so the design matrix is consistent. Refitting on the combined data changes the coefficients, breaking reproducibility. Hand-transcribing coefficients from a different partition mixes estimates and invites errors. PROC REG fits a linear probability model and does not reproduce logistic predictions.
-
7 Question 7 Single choice Measure Model Performance
A credit card issuer built a fraud classifier and holds out 25 percent of records as a validation partition that was never used in fitting or selection. The team tuned the decision threshold on the same validation partition and now reports a precision of 0.81 on that partition as the expected production precision. Fraud prevalence is roughly 0.4 percent. The compliance office asks for an honest estimate of future performance. What should the team do FIRST?
Correct Answer: CExplanationTuning the cutoff on the validation partition means that partition has been used in model decisions, so its precision is optimistically biased. An untouched test partition is needed for an honest estimate of production performance. Reporting the validation figure overstates performance because the threshold was chosen on it. Training data metrics are inflated by fitting. Lowering the cutoff to gain positives changes the decision rule and does not remove the optimism bias.
-
8 Question 8 Dropdown Measure Model Performance
A retail analyst evaluates a churn classifier on a validation data set and wants to draw a ROC curve and a lift chart from the scored predictions, saving the curve data for comparison with another model. Complete the PROC LOGISTIC statements by selecting the correct value for each blank.
Choose the correct value for each blank.
proc logistic data=train plots(only)= ; model churn(event='1') = tenure usage calls; score data=valid out=scored outroc=; run;Correct Answer:proc logistic data=train plots(only)=roc ; model churn(event='1') = tenure usage calls; score data=valid out=scored outroc=rocdata; run;
ExplanationThe PLOTS(ONLY) option with ROC requests the ROC plot from PROC LOGISTIC. Saving the curve coordinates from scoring requires the OUTROC= option on the SCORE statement, which writes the ROC data set. The other choices are not valid values for these options. A lift or gains chart is produced from the scored data rather than as an OUTROC target, so options named for gains or lift data would mislead. Selecting none suppresses the plot, and effect is not a plot type for this request.
-
9 Question 9 Order list Measure Model Performance
A fraud operations team must choose a scoring cutoff for an alert system. Costs are asymmetric: missed fraud is far more expensive than a false alert, but analyst capacity is capped at a fixed daily number of alerts. The team has a fitted classifier and a labelled validation partition. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Restrict candidates to cutoffs whose predicted positive count fits the daily analyst capacity.
- Select the cutoff with the lowest expected cost among the feasible candidates.
- Confirm the chosen cutoff on a separate test partition before deployment.
- Score the validation partition and compute the confusion matrix at each candidate cutoff.
- Compute expected cost at each cutoff using the asymmetric misclassification costs.
Correct Answer:- Score the validation partition and compute the confusion matrix at each candidate cutoff.
- Compute expected cost at each cutoff using the asymmetric misclassification costs.
- Restrict candidates to cutoffs whose predicted positive count fits the daily analyst capacity.
- Select the cutoff with the lowest expected cost among the feasible candidates.
- Confirm the chosen cutoff on a separate test partition before deployment.
ExplanationThe cutoff must first be evaluated against the validation scores to produce confusion matrices at each candidate threshold. Cost is then computed with the asymmetric penalties, and feasibility is applied using the alert capacity before choosing the minimum expected cost. A final check on an untouched test partition guards against optimism from threshold tuning. Applying the capacity constraint before the cost comparison would still be valid in principle, but the given sequence places it after the matrices exist and before selection, which is the defensible order here. Confirmation on a separate partition must come last.
-
10 Question 10 Single choice Prepare Inputs for Predictive Model Performance
A utility company is preparing a model of outage duration from 40 candidate inputs. Several continuous inputs may have a nonlinear relationship with the log-odds of a long outage, which is binary. The analyst wants to check linearity in the logit before modelling. Which action is the MOST appropriate and efficient way to screen for this non-linearity?
Correct Answer: DExplanationEmpirical logit plots bin a continuous input, compute the log-odds of the event within each bin, and display them against the bin averages, which reveals curvature that suggests a transformation or spline. Pearson correlation measures only linear association and misses curvature in the logit. A linear regression on a binary outcome does not evaluate log-odds linearity. Standardization changes scale but leaves the shape of any nonlinear relationship unchanged.
-
11 Question 11 Single choice Prepare Inputs for Predictive Model Performance
An insurance analyst has a categorical input occupation with 180 levels, many of which contain fewer than 20 policyholders. The binary claim outcome is rare. The analyst needs an input that improves predictive power without creating unstable coefficients for sparse levels. Which technique is the BEST choice?
Correct Answer: CExplanationGrouping sparse levels by their smoothed event rate, computed on the training data, turns a high-cardinality categorical into a compact, informative numeric input and avoids estimating unstable coefficients for near-empty levels. PROC LOGISTIC has no default penalization, so one dummy per level invites separation and unstable estimates. Dropping the input discards signal that may matter. Alphabetical numeric codes imply a meaningless ordering and do not improve predictive power.
-
12 Question 12 Drag and drop Prepare Inputs for Predictive Model Performance
A marketing data scientist is preparing a customer data set for a propensity model and must match each data preparation need to the SAS technique that best meets it. Match each requirement to the technique that meets it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Apply the same conditional recoding rule to 25 monthly spend variables without repeating codeFlag records where two source fields disagree and keep a count of such flagsFind which continuous inputs are linearly unrelated to the target before modellingAn ARRAY with a DO loop in the DATA stepPROC FREQ with the CHISQ option for table associationIF-THEN conditional logic with a retained counter in the DATA stepPROC SORT with NODUPKEY to remove duplicatesPROC CORR with the Pearson correlation outputCorrect Answer:- Apply the same conditional recoding rule to 25 monthly spend variables without repeating code → An ARRAY with a DO loop in the DATA step
- Flag records where two source fields disagree and keep a count of such flags → IF-THEN conditional logic with a retained counter in the DATA step
- Find which continuous inputs are linearly unrelated to the target before modelling → PROC CORR with the Pearson correlation output
ExplanationAn array combined with a DO loop applies one recoding rule across many variables without duplicating statements. Conditional IF-THEN logic with a retained counter flags disagreeing records and accumulates the total. PROC CORR with Pearson output screens inputs for linear association with the target. Removing duplicates with NODUPKEY addresses a different need, and PROC FREQ with CHISQ tests association between categorical variables rather than screening continuous inputs, so neither matches the requirements shown.
-
13 Question 13 Single choice Linear Regression
A logistics firm models daily delivery time using PROC GLM with 14 predictors and a stepwise procedure in the GLMSELECT step. The business needs the selected model to be validated on new data each quarter and wants the selection criteria to penalize model size so that the model is not overfit. The data has 90,000 rows split into training and validation partitions. Which specification is the BEST choice for the selection?
Correct Answer: DExplanationPROC GLMSELECT with a penalized method such as LASSO, combined with CHOOSE=VALIDATE on a validation partition, selects the model by its out-of-sample performance and controls overfitting. Stepwise selection on all rows without validation ignores honest assessment. Adjusted R-square alone does not reflect generalization on new data and is a single in-sample criterion. Keeping all predictors ignores overfitting, and large samples do not guarantee better generalization from extra predictors.
These are 13 of the 99 questions in the full A00-240 pack.
Get All 99 QuestionsGet all 99 questions & answers
Full access options for SAS A00-240
Self-study
PDF Version
- 99 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 99 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 99 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the A00-240 Exam (SAS Statistical Business Analysis SAS9: Regression and Model) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.