Fin Maverick
Foundations VocabularyAccounting & ReportingEconomics & MacroQuant Methods & ProgrammingBusiness & Company AnalysisCorporate Finance & ValuationBehavioural Finance
Banking & Market InfrastructureFixed Income & RatesDerivatives & Structured ProductsPublic EquitiesTransactions & DealsPortfolio ConstructionFunds & AMCs
Private Markets & AlternativesRisk, Treasury & ControlAI & Digital FinanceStochastic Calculus & PricingWealth & Personal FinanceIndian Markets & RegulationProfessional Practice
Explore NISM prep
Series-VIII · Equity DerivativesSeries-XII · Securities Markets FoundationSeries-V-A · Mutual Fund DistributorsSeries-XV · Research AnalystSeries-XIX-E · Category III AIF ManagersSeries-XIX-D · Category I & II AIF ManagersSeries-XIX-C · Alternative Investment Fund ManagersSeries-XVI · Commodity DerivativesSeries-VI · Depository OperationsSeries-II-A · Registrars & Transfer AgentsSeries-I · Currency DerivativesSeries-VII · Securities Operations & Risk Management
Explore Bootcamps
Equity ResearchPortfolio ManagementMutual Fund MasteryInvestment Banking Analyst
Private Equity AnalystQuant & Hedge Fund AnalystBreaking Into VCFinancial Analyst Program
Risk Management ProgramPrivate Wealth ManagementDebt Capital MarketsDerivatives Foundation
Explore Free Courses

Equity Research6

Writing an Investment ThesisBuilding a Discounted Cash FlowReading an Annual Report FastReading a Sector Before a CompanySpotting Quality of Earnings Red FlagsBuilding a Revenue Forecast From Drivers

Portfolio Management3

Rebalancing: When, Why and What It CostsStrategic and Tactical Asset AllocationMeasuring Risk in a Portfolio

Mutual Fund Mastery3

Comparing Funds Without Being FooledHow a NAV Is Struck and Which Day You GetReading a Fund Factsheet Properly

Derivatives Unlocked4

Hedging a Real ExposureThe Greeks, PracticallyFutures, the Basis and What Moves ItReading an Option Payoff

AI For Finance2

Retrieval and Grounding for FinanceDocument Extraction in Finance

Breaking Into Quants4

Backtesting a StrategyHypothesis TestingCleaning Financial DataRegression for Finance

Breaking Into VC3

Sizing a MarketReading a Term Sheet as a FounderHow a Venture Round Actually Works

Financial Analyst Program4

Common Size and Trend AnalysisReading a Cash Flow StatementRatio Analysis That Says SomethingBuilding a Working Capital Schedule

Risk Management Program2

Credit Exposure and How It Is ReducedValue at Risk and What It Hides

Investment Banking Analyst3

Precedent Transactions and Why They DifferReading a Term Sheet StructurallyBuilding a Comparable Companies Table

Private Wealth Management3

Tax Aware Portfolio DecisionsBuilding a Client Risk ProfileGoal Based Planning Arithmetic

Debt Capital Markets3

Analysing an Issuer's CreditDuration and What It Does Not Tell YouBond Pricing and Yield Mechanics

Private Equity Analyst2

Fund Waterfalls and CarryThe LBO in Structure

Hedge Funds Analyst2

Short Selling MechanicsLong Short Mechanics
QuarksCourses
Explore Interview Preparation
Investment BankingEquity ResearchVenture CapitalistPrivate EquityHedge Funds
QuantFinancial AnalysisPrivate Wealth ManagementDebt Capital MarketsRisk Management
Derivatives FoundationPortfolio ManagementMutual Fund Mastery
PartnershipsShowdown
Log inSign up
Interview tracksAll
1Investment Banking
Question bankPuzzlesCase studies
2Equity Research
Question bankPuzzlesCase studies
3Venture Capital
Question bankPuzzlesCase studies
4Private Equity
Question bankPuzzlesCase studies
5Hedge Funds
Question bankPuzzlesCase studies
6Quant
Question bankPuzzlesCase studies
7Financial Analysis
Question bankPuzzlesCase studies
8Private Wealth Management
Question bankPuzzlesCase studies
9Debt Capital Markets
Question bankPuzzlesCase studies
10Risk Management
Question bankPuzzlesCase studies
11Derivatives Foundation
Question bankPuzzlesCase studies
12Portfolio Management
Question bankPuzzlesCase studies
13Mutual Fund Mastery
Question bankPuzzlesCase studies
037

Case 037Systematic research and dataCore

Nivaan Homes, a listings platform, has 12,000 rental listings with size, location, age, floor and days on market. Design a model to predict monthly rent: which target, which features, how do you validate it, and which feature is a leakage trap?

Two SigmaNew York · 2025

1The situation

Nivaan Homes runs a rental listings platform in one large city. It wants to show landlords a suggested monthly rent when they list a flat. You are given 12,000 past listings, each with the flat's size in square feet, its locality, the building's age, the floor, the number of days the listing stayed live, and the rent at which it was let.

Rents run from about Rs 8,000 to over Rs 3 lakh a month. Many buildings have several listings in the data, some of them the same flat listed more than once.

2Your task

What do you predict, which features do you use, how do you check that the model works on flats it has not seen, and which feature would quietly make the model look better than it is?

Quick check

Which feature must be left out of the model?

Worked solution

Try it on paper, then open one step at a time.

30-second answerThe answer to give first

Predict the log of monthly rent from size, locality, age and floor, validate with folds grouped by building plus a final test on the most recent months, and leave days on market out. Log rent makes errors proportional, so a Rs 5,000 miss counts for more on a cheap flat than an expensive one. Days on market is recorded after the rent is set and rises when a flat is overpriced, so using it leaks the answer.

Step 1What should the model predict?

Predicting raw rupees lets the expensive flats dominate. A Rs 5,000 miss on a Rs 20,000 flat is 25% out; the same miss on a Rs 2 lakh flat is 2.5%. Predicting the logarithm of rent makes the model care about percentage errors, which is what a landlord feels, and it tames the long tail of very expensive flats. Size enters as log square feet for the same reason: rent roughly scales with size, so on the log scale the relationship is close to a straight line. One detail to state: turning a log prediction back into rupees gives something close to the median rent, not the mean, which is usually what a suggested rent should be anyway.

Step 2Which features belong in the model, and which one is a trap?

Think of an examiner who can see how long each student took before marking the paper: the time taken tells him something about the answer, but he cannot use it before the exam is written. The test for every feature is whether it exists at the moment the prediction is made; days on market fails, because it is recorded when the listing closes, after the rent is decided. It also carries the answer directly: a flat listed above the market rent sits unlet for longer. Including it is target leakageWhen a model is given information that would not be available at prediction time, often information caused by the thing being predicted, so it looks accurate in testing and fails in use.. Size, locality, age and floor are all known the day the flat is listed. Locality needs care: encode it using average rents computed only from the training folds, never from the whole data set, or the leak comes back by another door.

Build the rent model from what is known on the day a flat is listedRaw listings12,000 rowssize, locality,age, floor, dayson market, rentCleandrop duplicates,rent below Rs 5,000or size typos:about 11,400 leftTargetlog of monthlyrent, so errorsare proportionalValidatefolds grouped bybuilding; last twomonths held outFeatures: which ones are known when the rent is set?log size (sq ft)known at listinglocalityknown at listingbuilding ageknown at listingfloorknown at listingdays on marketknown only afterWhy days on market leaks the answerA flat priced above the market sits unlet for longer, so days on market records the pricing error itself.It is recorded when the listing closes, after the rent the model is meant to predict has been decided.
The rent model cleans 12,000 listings to about 11,400, predicts log rent from size, locality, age and floor, validates with folds grouped by building and a recent-months test, and drops days on market because it is known only after the rent is set.
Step 3How do you check that the model works on flats it has not seen?

A random split of rows is the natural first idea and it flatters the model. The same building, and often the same flat, appears many times, so a random split puts near copies in both training and test, and the model is rewarded for remembering buildings rather than pricing flats. Group the folds by building so that each building sits entirely in training or entirely in test. Then hold back the most recent two months as a final test, because rents drift over time and the model will always be used on the next listing, never on a past one. Report the median absolute percentage error, which a landlord understands.

ModelValidationMedian error
Locality median rent per sq ft x sizegrouped by building17%
Regression on log rent, four featuresgrouped by building11%
Same model, random splitrandom rows9%
Same model plus days on market, random splitrandom rows6%
In an illustrative run, the honest model with grouped validation misses by a median 11% against 17% for the locality-average baseline; the random split and the leaked days-on-market feature make it look better, at 9% and 6%, than it will be in use.

Read the table from the bottom. The 6% model is the one a careless candidate reports, and it would fail the day it goes live because the feature does not exist yet. An honest 11% that holds up on new buildings is worth more than a 6% that cannot be run, and the interviewer is checking whether you can tell them apart. Say the limitation too: listings carry asking rents, and if the data recorded the rent actually agreed, that would be the better target.

Where candidates lose it

The common loss is throwing every column into the model and reporting the best score. Days on market will usually be one of the strongest predictors, which is exactly why it is dangerous: its strength comes from the answer leaking into it.

The second is validating with a random split. With repeated buildings, a random split tests memory, not prediction, and it overstates accuracy by an amount you cannot see unless you run the grouped version beside it.

What the interviewer asks next

  • How would you use days on market legitimately, for example to predict whether a listing will let within a month?
  • The model will be used in a new city with no data. What changes?
  • How would you add photos or text descriptions of the flat?
  • Why might a tree-based model beat a linear one here, and what would you check before trusting it?

Asked at Two Sigma, Quantitative Research, New York, 2025 (Wall Street Oasis): One is like model design- predict rent prices in Manhattan.

← Case 036Telora Print Media trades at 6x earnings. Print revenue of Rs 1,000 crore falls 8% a year, 70% of costs are fixed and the EBIT margin is 15%. Show why the stock may be a value trap by projecting EBIT for three years.Case 038 →A family holds a large stake in Jharna Textiles at Rs 400. A one-year put at Rs 360 costs Rs 20, and a one-year call at Rs 460 can be sold for Rs 20. Compare protecting the stake with the put alone and with a zero-cost collar.

Company names and figures are illustrative.

Fin Maverick Free CoursesExplore Free Courses
Fin Maverick BootcampsExplore Bootcamps
Fin Maverick

Finance education that ends in a job, not a certificate that gathers dust. Built for young India.

LEARN
CalculatorsFrameworksComparisonsInterview RoadmapsShowdown
RESOURCES
All CoursesFree CoursesBootcampsInternships
COMPANY
AboutJob openingPartnership
LEGAL
Privacy PolicyTerms & ConditionsContent LicenseReturn & Refund Policy
© 2026 FIN MAVERICK / BUILT FOR INDIA.DO FINANCE, DO NOT JUST READ ABOUT IT.