Dataford
Interview QuestionsInterview GuidesExperiencesCoaching
New
Pricing
Get started
Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Browse
Browse All RolesEvery role hub, from analyst to MLBrowse All CompaniesCompany-specific interview loopsAll Interview GuidesThe full guide library
Top questions by role
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Top questions by skill
SQLPythonStatisticsMachine LearningA/B TestingSystem DesignGenerative AIProduct SenseMetricsBehavioral
Browse all questions →Try a mock interview
Experiences
Practice
Mock InterviewsTimed interview simulations with feedbackCoaching1:1 coaching with people at your target companiesSuccess PathYour 6-week structured planModulesCurated lessons by topicWebinarsTalks from ex-Big Tech data leadsPlaygroundA free-form scratch editor
Learn
BlogInterview strategy and career adviceTech Job Market ReportHiring trends across data and AI rolesFor UniversitiesDataford for career centersAbout DatafordWho we are and how we build
Pricing
Build my plan

Variance vs Trend in Sales

EasyStatistics & Probability00:00
Practice interviewer
In session
5 left
00:00

Your question is Variance vs Trend in Sales. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Business Context

NorthPeak Retail is reviewing weekly revenue for one product line after a pricing update. The VP asks whether recent movement should be explained as normal week-to-week variability or as a real upward trend.

Problem Statement

Use the data below to explain the difference between variance analysis and trend analysis, then quantify both on the same dataset. Variance analysis should compare actual revenue to budget week by week. Trend analysis should evaluate whether revenue is systematically increasing over time.

Given Data

WeekBudget Revenue ($000)Actual Revenue ($000)
110098
2100101
3100103
4100102
5100106
6100108
7100109
8100111
The analyst will use a significance level of 0.05 for the trend test.

Requirements

  1. Compute the weekly variance from budget and the average variance across all 8 weeks.
  2. Compute the sample variance and sample standard deviation of actual weekly revenue.
  3. Fit a simple linear trend model with week number as the predictor and actual revenue as the response.
  4. Test whether the slope is significantly greater than 0 at α=0.05\alpha = 0.05α=0.05.
  5. Explain, in plain language, how variance analysis and trend analysis answer different business questions.

Assumptions

  • Weekly observations are ordered in time and measured consistently.
  • A linear trend is a reasonable first-pass model over 8 weeks.
  • Residuals from the linear model are approximately independent and normally distributed for inference.