What this quiz covers
This quiz focuses on Creating Derived Variables, giving you a quick way to practice the rules, question types, and explanations that matter most for Business Analytics.
A subscription company builds a model at each month-end snapshot to predict whether a customer will renew during the following 30 days. Every feature must be constructible using information available no later than the snapshot timestamp.
Which derived feature is valid for model training without introducing future-information leakage?
Business Analytics Quiz
Practice Creating Derived Variables in Business Analytics with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.
This quiz focuses on Creating Derived Variables, giving you a quick way to practice the rules, question types, and explanations that matter most for Business Analytics.
Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.
A subscription company builds a model at each month-end snapshot to predict whether a customer will renew during the following 30 days. Every feature must be constructible using information available no later than the snapshot timestamp.
Which derived feature is valid for model training without introducing future-information leakage?
A customer has two orders represented by three order-line records. The first order contains two units at 30 each with a flat line discount of 10, plus one unit at 50 with no discount. The second order contains three units at 20 each with a 10% line discount. The company defines customer average order value as total net merchandise revenue divided by the number of distinct orders.
What value should be assigned to the customer's derived average_order_value feature?
A retailer estimates a difference-in-differences model for weekly sales using a treated-store indicator, a post-campaign indicator, and a derived interaction feature equal to treated multiplied by post. The estimated treated coefficient is 5, the post coefficient is 8, and the interaction coefficient is −3.
Which derived feature and coefficient identify the campaign's incremental effect beyond the general post-period change?
A demand model creates a three-calendar-day moving-average sales feature at the start of each day. The feature uses only the three completed calendar days immediately before the prediction date. A store recorded sales of 100 on Monday, 120 on Tuesday, 0 on Wednesday because it was open but had no sales, 90 on Thursday, and 150 on Friday.
What moving-average feature should be generated at the start of Saturday?
An A/B test uses unique customers as the unit of assignment and defines conversion as the percentage of assigned customers who make at least one purchase. The treatment group generated 1,200 page-view records from 800 unique customers, of whom 96 purchased. The control group generated 900 page-view records from 750 unique customers, of whom 75 purchased. The requested KPI is relative conversion lift.
What derived KPI should the experiment report for the treatment?
To reduce the skewness of annual customer spending while retaining customers with zero spending, an analyst creates x=ln(1+spend). The analyst then standardizes this feature using a training-set mean of 2 and standard deviation of 1. A new customer has annual spending of 99.
What standardized feature value should be assigned to the new customer, rounded to three decimals?
An online retailer defines net collected revenue as merchandise revenue after discounts, plus shipping charges, minus refunded merchandise revenue. Sales tax is excluded because it is remitted to the government. An order has a merchandise subtotal of 240, a 15% coupon, a 12 shipping charge, and 8% sales tax applied only to discounted merchandise. Later, merchandise worth 50 after discount is refunded along with its associated tax.
What value should the retailer assign to the order's derived net collected revenue variable?
A linear churn model includes an intercept and uses customer tier as a categorical predictor. The observed tiers are Gold, Silver, Bronze, and Basic. The analyst wants full-rank indicator features and chooses Gold as the reference category.
Which feature construction correctly represents customer tier?
A distributor creates an SLA feature called business_days_to_delivery. The feature counts business-date boundaries crossed after the order date and through the delivery date; Saturdays and Sundays are excluded. An order placed on Friday, March 7, 2025, is delivered on Tuesday, March 11, 2025. A second feature, late_flag, equals 1 when business_days_to_delivery is greater than 1.
Which pair of derived values should be assigned to this order?
A lender uses a log-income feature and wants the model to retain information about whether income was originally missing. The preprocessing rule replaces missing income with the training-set median of 60,000, computes the natural log of the completed income field, and creates income_missing equal to 1 only when the original value was missing.
Which derived feature values should be assigned to an applicant whose original income is missing?