PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/Databricks

Relate coefficients under linear feature transformation

Last updated: Mar 29, 2026

Quick Overview

The question evaluates understanding of linear regression and linear-algebraic feature transformations, focusing on how coefficient vectors relate under reparameterization and how interpretability of parameters changes; Category/domain: Statistics & Math, position type: Data Scientist.

  • hard
  • Databricks
  • Statistics & Math
  • Data Scientist

Relate coefficients under linear feature transformation

Company: Databricks

Role: Data Scientist

Category: Statistics & Math

Difficulty: hard

Interview Round: Technical Screen

Suppose you are fitting a linear regression model and you consider two different feature parameterizations. Original features: `x1`, `x2`. Transformed features: - `z1 = x1 + x2` - `z2 = x1 - x2` Model A (original features): - `y = β0 + β1 x1 + β2 x2 + ε` Model B (transformed features): - `y = γ0 + γ1 z1 + γ2 z2 + ε` Questions: 1. What is the relationship between `(β1, β2)` and `(γ1, γ2)`? 2. Are Model A and Model B equivalent (i.e., do they have the same expressive power / can they produce identical fitted values)? Under what assumptions could they behave differently in practice?

Quick Answer: The question evaluates understanding of linear regression and linear-algebraic feature transformations, focusing on how coefficient vectors relate under reparameterization and how interpretability of parameters changes; Category/domain: Statistics & Math, position type: Data Scientist.

Related Interview Questions

  • Explain Linear Regression Assumptions - Databricks (hard)
  • Test coin fairness from 560 tails in 1000 flips - Databricks (hard)
  • Relate coefficients under linear feature transformation - Databricks (easy)
  • Test if coin is fair from 560 tails - Databricks (easy)
  • Diagnose and fix multicollinearity in income regression - Databricks (hard)
Databricks logo
Databricks
Oct 14, 2025, 12:00 AM
Data Scientist
Technical Screen
Statistics & Math
3
0

Suppose you are fitting a linear regression model and you consider two different feature parameterizations.

Original features: x1, x2. Transformed features:

  • z1 = x1 + x2
  • z2 = x1 - x2

Model A (original features):

  • y = β0 + β1 x1 + β2 x2 + ε

Model B (transformed features):

  • y = γ0 + γ1 z1 + γ2 z2 + ε

Questions:

  1. What is the relationship between (β1, β2) and (γ1, γ2) ?
  2. Are Model A and Model B equivalent (i.e., do they have the same expressive power / can they produce identical fitted values)? Under what assumptions could they behave differently in practice?

Solution

Show

Submit Your Answer

Sign in to leave a comment

Loading comments...

Browse More Questions

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

Master your tech interviews with 8,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.