How does random oversampling affect the variance of a model's parameter estimates?

Quick Overview

Asks how duplicating minority-class rows changes the uncertainty of a model's fitted parameters. Tests the link between duplication and weighting, the difference between reported standard errors and true sampling variance, and how to get honest inference on imbalanced data.

How does random oversampling affect the variance of a model's parameter estimates?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Other

How does random oversampling affect the variance of a model's parameter estimates? ```hint Duplicates as weights Copying every minority row the same number of times is equivalent to a change you can write directly into the loss. Work out what that change does to the Fisher information the software uses for standard errors. ``` ```hint Two kinds of variance Separate the standard error the software reports from the actual spread of the estimate across fresh datasets. Ask which of the two depends on the number of unique minority rows. ``` ### What a Strong Answer Covers - The relationship between duplicating rows and weighting them, and what it does to reported standard errors - How the true sampling variance of the estimates compares with the reported standard errors, and the effect of random duplication - The consequences for confidence intervals, p-values and, for flexible models, the decision boundary - How to get honest uncertainty estimates and evaluation on imbalanced data ### Follow-up Questions - How does oversampling change the intercept of a logistic regression, and how would you correct the predicted probabilities? - You still want to rebalance. How would you get a valid confidence interval for a coefficient? - Does SMOTE behave the same way as random duplication with respect to variance? - When does rebalancing help a model at all?

Overview: Asks how duplicating minority-class rows changes the uncertainty of a model's fitted parameters. Tests the link between duplication and weighting, the difference between reported standard errors and true sampling variance, and how to get honest inference on imbalanced data.

General logo
General
Nov 25, 2026
hardMachine Learning EngineerOtherMachine Learning
0
0

How does random oversampling affect the variance of a model's parameter estimates?

What a Strong Answer Covers Guidance

  • The relationship between duplicating rows and weighting them, and what it does to reported standard errors
  • How the true sampling variance of the estimates compares with the reported standard errors, and the effect of random duplication
  • The consequences for confidence intervals, p-values and, for flexible models, the decision boundary
  • How to get honest uncertainty estimates and evaluation on imbalanced data

Follow-up Questions Guidance

  • How does oversampling change the intercept of a logistic regression, and how would you correct the predicted probabilities?
  • You still want to rebalance. How would you get a valid confidence interval for a coefficient?
  • Does SMOTE behave the same way as random duplication with respect to variance?
  • When does rebalancing help a model at all?