PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCareers
|Home/Statistics & Math/Upstart

Combine noisy thermometers; compute random-walk correlations

Last updated: Apr 20, 2026

Quick Overview

This question evaluates estimation and probabilistic reasoning skills, specifically the construction of unbiased estimators and variance-minimizing linear combinations for combining noisy measurements, together with computation and asymptotic characterization of correlations in a 2D simple random walk.

  • easy
  • Upstart
  • Statistics & Math
  • Data Scientist

Combine noisy thermometers; compute random-walk correlations

Company: Upstart

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Onsite

## Problem 1: Estimating a true temperature from noisy thermometers Assume the true (fixed) temperature is an unknown constant \(\theta\). ### 1a) One thermometer You take \(n\) independent measurements from thermometer A: \[X_1,\dots,X_n\] with - \(\mathbb E[X_i]=\theta\) (unbiased for the true temperature), - \(\mathrm{Var}(X_i)=\sigma_1^2\), - measurements are i.i.d. **Task:** Propose an estimator \(\hat\theta\) of \(\theta\). What is its variance? ### 1b) Two thermometers You also take \(m\) independent measurements from thermometer B: \[Y_1,\dots,Y_m\] with - \(\mathbb E[Y_j]=\theta\), - \(\mathrm{Var}(Y_j)=\sigma_2^2\), - all \(X\)’s are independent of all \(Y\)’s. **Task:** Construct a combined estimator \(\hat\theta\) using both thermometers that minimizes variance among **linear unbiased** estimators. Give the optimal weights and the resulting variance. > If you need an additional assumption, you may assume \(\sigma_1^2\) and \(\sigma_2^2\) are known. --- ## Problem 2: Correlations in a 2D random walk Define a 2D simple random walk starting at \((0,0)\). At each step you move **one unit** in exactly one of the four directions \(\{\text{up,down,left,right}\}\), each with probability \(1/4\). Let \((X_n,Y_n)\) be the coordinates after \(n\) steps. ### 2a) Compute \(\mathrm{Corr}(X_n, Y_n)\). ### 2b) Compute or characterize \(\mathrm{Corr}(|X_n|, |Y_n|)\). If a simple closed form is hard, give a correct expression and determine at least the **sign** and **asymptotic behavior** as \(n\to\infty\).

Quick Answer: This question evaluates estimation and probabilistic reasoning skills, specifically the construction of unbiased estimators and variance-minimizing linear combinations for combining noisy measurements, together with computation and asymptotic characterization of correlations in a 2D simple random walk.

Related Interview Questions

  • Correct length-biased sampling from family-size survey - Upstart (easy)
  • Compute decay, OLS, and classic probability results - Upstart (easy)
  • Solve core probability/statistics mini-problems - Upstart (medium)
  • Analyze HT vs HH stopping-time probabilities - Upstart (medium)
  • Solve drunk-passenger probability and simulate outcome - Upstart (medium)
Upstart logo
Upstart
Oct 25, 2025, 12:00 AM
Data Scientist
Onsite
Statistics & Math
11
0

Problem 1: Estimating a true temperature from noisy thermometers

Assume the true (fixed) temperature is an unknown constant θ\thetaθ.

1a) One thermometer

You take nnn independent measurements from thermometer A:

X1,…,XnX_1,\dots,X_nX1​,…,Xn​

with

  • E[Xi]=θ\mathbb E[X_i]=\thetaE[Xi​]=θ (unbiased for the true temperature),
  • Var(Xi)=σ12\mathrm{Var}(X_i)=\sigma_1^2Var(Xi​)=σ12​ ,
  • measurements are i.i.d.

Task: Propose an estimator θ^\hat\thetaθ^ of θ\thetaθ. What is its variance?

1b) Two thermometers

You also take mmm independent measurements from thermometer B:

Y1,…,YmY_1,\dots,Y_mY1​,…,Ym​

with

  • E[Yj]=θ\mathbb E[Y_j]=\thetaE[Yj​]=θ ,
  • Var(Yj)=σ22\mathrm{Var}(Y_j)=\sigma_2^2Var(Yj​)=σ22​ ,
  • all XXX ’s are independent of all YYY ’s.

Task: Construct a combined estimator θ^\hat\thetaθ^ using both thermometers that minimizes variance among linear unbiased estimators. Give the optimal weights and the resulting variance.

If you need an additional assumption, you may assume σ12\sigma_1^2σ12​ and σ22\sigma_2^2σ22​ are known.

Problem 2: Correlations in a 2D random walk

Define a 2D simple random walk starting at (0,0)(0,0)(0,0). At each step you move one unit in exactly one of the four directions {up,down,left,right}\{\text{up,down,left,right}\}{up,down,left,right}, each with probability 1/41/41/4. Let (Xn,Yn)(X_n,Y_n)(Xn​,Yn​) be the coordinates after nnn steps.

2a)

Compute Corr(Xn,Yn)\mathrm{Corr}(X_n, Y_n)Corr(Xn​,Yn​).

2b)

Compute or characterize Corr(∣Xn∣,∣Yn∣)\mathrm{Corr}(|X_n|, |Y_n|)Corr(∣Xn​∣,∣Yn​∣). If a simple closed form is hard, give a correct expression and determine at least the sign and asymptotic behavior as n→∞n\to\inftyn→∞.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Upstart•More Data Scientist•Upstart Data Scientist•Upstart 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
  • Careers
  • 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.