PracHub
QuestionsPremiumLearningGuidesInterview PrepNEWCoaches
|Home/Statistics & Math/Citadel

Estimate constant under absolute loss

Last updated: Mar 29, 2026

Quick Overview

This question evaluates understanding of L1 loss and robust point estimation, testing concepts from statistics such as absolute deviation, order statistics, and properties of estimators under non-quadratic loss, and it belongs to the Statistics & Math domain for data scientist roles.

  • easy
  • Citadel
  • Statistics & Math
  • Data Scientist

Estimate constant under absolute loss

Company: Citadel

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Technical Screen

Suppose you have observed target values \(y_1, y_2, \dots, y_n\), and you want to fit the simplest possible model that predicts the same constant value for every observation: \[ \hat y_i = c \quad \text{for all } i. \] Define the objective function using absolute error: \[ E(c) = \sum_{i=1}^{n} |y_i - c|. \] What value of \(c\) minimizes \(E(c)\)? Derive the result and explain whether the minimizer is always unique.

Quick Answer: This question evaluates understanding of L1 loss and robust point estimation, testing concepts from statistics such as absolute deviation, order statistics, and properties of estimators under non-quadratic loss, and it belongs to the Statistics & Math domain for data scientist roles.

Related Interview Questions

  • Solve probability and stopping questions - Citadel (hard)
  • Solve Classic Probability Questions - Citadel (hard)
  • Find constant minimizing absolute error - Citadel (easy)
  • Solve probability and expectation problems - Citadel (hard)
  • Derive distribution of an inverse transform - Citadel (medium)
Citadel logo
Citadel
Jan 16, 2026, 12:00 AM
Data Scientist
Technical Screen
Statistics & Math
6
0

Suppose you have observed target values y1,y2,…,yny_1, y_2, \dots, y_ny1​,y2​,…,yn​, and you want to fit the simplest possible model that predicts the same constant value for every observation:

y^i=cfor all i.\hat y_i = c \quad \text{for all } i.y^​i​=cfor all i.

Define the objective function using absolute error:

E(c)=∑i=1n∣yi−c∣.E(c) = \sum_{i=1}^{n} |y_i - c|.E(c)=∑i=1n​∣yi​−c∣.

What value of ccc minimizes E(c)E(c)E(c)? Derive the result and explain whether the minimizer is always unique.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Citadel•More Data Scientist•Citadel Data Scientist•Citadel Statistics & Math•Data Scientist Statistics & Math
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.