Here's What The Data Reveals About Property Values.

By Gencay

Published: 2025-10-02

URL: https://www.learnwithmeai.com/p/data-project-6-i-analyzed-77108-nyc


The data doesn’t lie about what works in New York City real estate, and what doesn’t.

Between July 2024 and June 2025, New York City recorded 77,108 property transactions across 254 neighborhoods spanning all five boroughs.

Behind every sale lies a story about value, risk, and investment strategy. I dissected the dataset shared by the NYC government to answer questions most real estate analyses ignore, like;

  • Which building classes receive the best deals?
  • Where are the quiet neighborhoods that are appreciating without the hype?
  • At what building size does price per square foot peak?

(..4 more questions.)

The answers surprised me. And they might change how you think about New York City property. I transformed the entire analysis into slides using AI.

As usual, the solution includes code and a slide(above) that were already uploaded to the gDrive, where paid subscribers can access.

Market inefficiencies don’t last.

Inside:

  • Neighborhoods trading 10% below value
  • Building classes at $607/sqft, beating luxury condos
  • The code that analyzed 77K transactions, and zones flipping in 36 days

and more insights.

Let’s start the analysis →

Question 1: Do 100+ Year Old Buildings Command an “Antique Premium”?

Short answer: Yes, and it’s statistically undeniable.

gold and silver steel wall decor

\Photo byTuva Mathilde LølandonUnsplash\

Antique buildings (100+ years old) sold for a median of $522 per square foot. Modern buildings sold for $475 per square foot, a 10% premium for age.

Why does age command a premium? Three reasons:

  • (1) Older buildings in Manhattan are often in prime locations that were developed first
  • (2) prewar construction quality, thick walls, high ceilings, and hardwood floors appeal to buyers who hate the feel of modern luxury boxes, and
  • (3) Scarcity creates value. You can’t build a 1920s building in 2025.

But here’s the nuance: not all old buildings get this premium.

The buildings driving this statistic are concentrated in neighborhoods like the Upper West Side, Greenwich Village, and Brooklyn Heights, established areas where historic character is part of the brand.

A 100-year-old building in a declining neighborhood doesn’t automatically qualify for premium pricing.

Key Finding: Age alone doesn’t create value. Age, desirable location, and maintained character create the antique premium.

Technical Approach: I used the Mann-Whitney U test to compare the two groups because real estate price data is heavily skewed by outliers. The p-value of less than 0.0001 confirms this premium is statistically significant, not random noise.

Question 2: Which Building Classes Get the Best Deals?

Short answer: Commercial garages command the highest price per square foot. Elevator rentals get crushed.

a man holding a baby

\Photo byErika FletcheronUnsplash\

The analysis showed a stark hierarchy:

  • Commercial garages: $607/sqft (highest)
  • Walk-up apartments: $490/sqft
  • Elevator apartments (condos): $450/sqft
  • Elevator apartments (rentals): $92/sqft (lowest)

That 558% gap between commercial garages and elevator rentals is the single most dramatic finding in the entire dataset. Commercial garages aren’t just winning, they’re operating in a different economic universe.

Why? Land value. A garage doesn’t need bedrooms, kitchens, or bathrooms. It’s pure land monetization in areas where parking commands Manhattan prices. Meanwhile, elevator rental buildings, especially rent-stabilized ones, are shackled by regulation. Owners can’t raise rents freely, which depresses sale prices dramatically.

Here’s what this means for investors: building class isn’t just a categorization, it’s a profit destiny. The physical structure determines the economic ceiling before you even factor in location.

Key Finding: Building class stratification is more extreme than neighborhood stratification. Class defines your financial bracket.

Technical Approach: I grouped all 22,541 transactions by building class and calculated the median price per square foot for each category. Median was used instead of mean because extreme outliers (luxury penthouses vs. distressed sales) would skew averages.

Question 3: At What Building Size Does Price Per Square Foot Peak?

Short answer: Small buildings (1-5 units) command a 385% premium over large buildings.

low angle photo of city high rise buildings during daytime

\Photo bySean PollockonUnsplash\

Small buildings sold for $500/sqft. Large buildings (50+ units) sold for $103/sqft. This isn’t a typo; small buildings are 4.85 times more valuable per square foot than large ones.

The curve peaks at 2-3 units, think brownstone conversions and small townhouses. As unit count increases, price per square foot collapses in a nearly linear decline.

Why? Owner-occupancy potential. Small buildings attract buyers who want to live in one unit and rent out the others, a “live for free while the building pays itself off” strategy. Large buildings, by contrast, are pure investment vehicles that require professional management, regulatory compliance, and economies of scale to justify ownership.

There’s also a supply-side story: small buildings are rare in Manhattan, where zoning and land costs favor height. The scarcity of 2-3 unit buildings in desirable neighborhoods creates bidding wars among buyers who want the flexibility of small-scale landlording without corporate-level complexity.

Key Finding: The market rewards intimacy. Small buildings offer control, flexibility, and lifestyle value that megaprojects can’t match.

Technical Approach: I used polynomial regression to fit a curve to the relationship between building size and price per square foot. This revealed the exact peak at 2-3 units and showed how pricing declines non-linearly as building size increases.

Question 4: Which “Dark Horse” Neighborhoods Are Quietly Appreciating?

Short answer: The data is too thin to answer this properly.

aerial photography of house and road

\Photo byPaul HanaokaonUnsplash\

I attempted to calculate year-over-year momentum by comparing sales from the same properties across time periods. The result: extreme percentages that defy logic, neighborhoods showing 400% gains or 90% losses based on single transactions.

This is a data volume problem. In a 12-month window, most neighborhoods have too few transactions for meaningful momentum calculations. When calculating “average appreciation” from three sales, one outlier skews the results.

The lesson here is methodological: momentum analysis requires dense, repeated transactions in the same location. In low-volume markets, you need 3-5 years of data to smooth out noise. Anyone claiming to identify “hot neighborhoods” from 12 months of data is either cherry-picking or doesn’t understand statistical power.

Key Finding: Dark horse analysis requires more data. Thin samples create false signals.

Technical Approach: I calculated annualized appreciation rates for properties that sold twice during the period, but most neighborhoods had fewer than 10 repeat sales. With sample sizes this small, one outlier dominates the average, making the results statistically meaningless.

Question 5: Which Neighborhoods Offer the Best Risk-Adjusted Returns?

Short answer: Staten Island is stable. The Bronx is chaos.

brown and white concrete houses under white sky during daytime

\Photo bySuper StrahoonUnsplash\

Staten Island neighborhoods clustered around a 22-25% coefficient of variation (CV), indicating consistent pricing. Bronx neighborhoods hit 140-190% CV, meaning prices swing wildly between transactions.

For conservative investors, Staten Island represents predictability. You know what you’re buying, and you know what it’ll be worth next year. For aggressive investors, the Bronx represents opportunity; high volatility means both risk and reward. If you can identify undervalued properties in high-volatility neighborhoods, the upside is enormous.

But here’s the insight most people miss: volatility isn’t just about price swings, it’s about information asymmetry. High-volatility neighborhoods are places where local knowledge creates an edge. If you don’t know the block-by-block dynamics, you’re gambling. If you do, you’re investing.

Key Finding: Volatility isn’t bad; it’s a signal about how much local knowledge matters. Low volatility = transparent pricing. High volatility = expertise advantage.

Technical Approach: I calculated the coefficient of variation (standard deviation divided by mean) for each neighborhood to normalize volatility across different price levels. This makes neighborhoods with different average prices comparable; a $100k standard deviation means something very different in Tribeca versus the Bronx.

Question 6: Which Neighborhoods Have the Fastest Turnover Rates?

Short answer: Westchester (36 days). Gravesend (265 days). The gap defines an investment strategy.

two women near tables

\Photo byBlake WiszonUnsplash\

Westchester had the fastest median turnover at 36 days, a clear flip zone. Gravesend averaged 265 days, a hold zone where owners buy with long-term intent.

Fast-turnover neighborhoods attract two types of buyers:

  • (1) flippers executing rapid renovation-sale cycles,
  • (2) distressed sellers who need quick liquidity. Slow-turnover neighborhoods attract buy-and-hold investors who prioritize cash flow over capital gains.

If you’re a flipper, you want fast-turnover neighborhoods; they have liquidity, active buyer pools, and renovation upside. If you’re a landlord, you want slow-turnover neighborhoods; they’re stable, tenants stay longer, and you’re not competing with flippers driving up acquisition costs.

Key Finding: Turnover velocity reveals neighborhood psychology. Fast = transactional. Slow = relational.

Technical Approach: I identified properties that sold twice during the period (693 buildings) and calculated the median days between sales for each neighborhood. Median filters out extreme outliers like 300+ day distressed sales, revealing the typical turnover experience.

Question 7: Where Do Pricing Anomalies Occur?

Short answer: Everywhere, but rental buildings in Tribeca and the Upper East Side dominate the outliers.

a person sitting at a desk with a calculator and a notebook

\Photo byJakub ŻerdzickionUnsplash\

Out of 22,541 sales, 1,127 (5%) were flagged as anomalies by machine learning analysis.

The anomalies weren’t random. They clustered heavily in two categories

  • (1) rental buildings in ultra-luxury neighborhoods
  • (2) commercial properties with unusual use cases. Rental buildings in Tribeca selling for $200/sqft when comparable condos sell for $2,000/sqft create massive statistical outliers, not because the data is wrong, but because rent regulation creates parallel pricing universes.

Commercial anomalies were equally revealing: single-purpose properties like parking garages, religious buildings, and industrial conversions defy standard residential pricing logic. A garage in SoHo selling for $800/sqft looks like an outlier until you realize it’s land value, not structure value.

Key Finding: Anomalies aren’t errors; they’re edge cases where standard valuation models break down. Understanding them reveals how the market actually works.

Technical Approach: I used Isolation Forest, a machine learning algorithm that identifies observations that are unusual across multiple features simultaneously. It flagged the top 5% most isolated transactions based on price per square foot, building age, size, and class, revealing transactions that don’t fit standard pricing patterns.

What It All Means

After analyzing 77,108 transactions and cleaning down to 22,541 real market sales, here’s the synthesis: New York City real estate rewards small-scale ownership in established neighborhoods.

Small buildings (1-5 units) command 385% premiums over large buildings. Antique buildings (100+ years) command 10% premiums over modern construction. Low-volatility neighborhoods (Staten Island) offer predictability while high-volatility neighborhoods (Bronx) offer expertise-driven upside. Commercial garages print money while rent-stabilized elevator buildings trade at massive discounts.

The data doesn’t lie: if you’re buying NYC real estate, you want old, small, and owner-occupied.

If you’re looking for stability, go to Staten Island.

If you’re looking for upside and have local knowledge, go to the Bronx. And if you’re buying a rental building in a luxury neighborhood, understand that regulation has created a two-tier market where your asset trades at a 90% discount to the condo next door.

The 71% data loss I endured to get clean numbers matters because it reveals the truth beneath the hype: most real estate analysis is built on dirty data.

Zero-dollar transfers, missing square footage, and thin transaction volumes create false signals. This analysis stripped all that away.

What’s left is the signal.

And the signal says: small, old, and local wins in New York City.

Methodology Note

This analysis used data from NYC’s Department of Finance covering July 2024 through June 2025. Statistical tests included Mann-Whitney U tests for group comparisons, polynomial regression for sweet spot identification, coefficient of variation for volatility measurement, and Isolation Forest for anomaly detection.

The 71% data loss from filtering zero-dollar sales and missing values is brutal but necessary. Dirty data creates false conclusions. Clean data reveals the truth.

All code and detailed outputs are available in the project repository.

Thanks for reading! Let me know if you’d like me to analyze different topics by commenting below.