PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/Upstart

Correct length-biased sampling from family-size survey

Last updated: Mar 29, 2026

Quick Overview

This question evaluates understanding of length-biased sampling and inference under sampling bias, specifically how sampling by individuals (children) differs from sampling by households when estimating family-size probabilities.

  • easy
  • Upstart
  • Statistics & Math
  • Data Scientist

Correct length-biased sampling from family-size survey

Company: Upstart

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Technical Screen

In a town, you visit a school and ask **100 kids**: “How many children are in your family?” You observe: - 50 kids say their family has 1 child - 20 kids say their family has 2 children - 30 kids say their family has 3 children Now you go to a **random house** in the town, knock on the door, and ask: “How many children live here?” Assume every family has at least one child, and (for this question) family sizes are only 1, 2, or 3. **Question:** What is your best estimate of the probability that a randomly chosen house has **exactly 1 child**? Clarify any assumptions you need about how the 100 kids were sampled (e.g., uniformly at random from all children in town).

Quick Answer: This question evaluates understanding of length-biased sampling and inference under sampling bias, specifically how sampling by individuals (children) differs from sampling by households when estimating family-size probabilities.

Related Interview Questions

  • Compute decay, OLS, and classic probability results - Upstart (easy)
  • Solve core probability/statistics mini-problems - Upstart (medium)
  • Combine noisy thermometers; compute random-walk correlations - Upstart (easy)
  • Analyze HT vs HH stopping-time probabilities - Upstart (medium)
  • Solve drunk-passenger probability and simulate outcome - Upstart (medium)
Upstart logo
Upstart
Feb 19, 2026, 6:13 AM
Data Scientist
Technical Screen
Statistics & Math
10
0

In a town, you visit a school and ask 100 kids: “How many children are in your family?” You observe:

  • 50 kids say their family has 1 child
  • 20 kids say their family has 2 children
  • 30 kids say their family has 3 children

Now you go to a random house in the town, knock on the door, and ask: “How many children live here?” Assume every family has at least one child, and (for this question) family sizes are only 1, 2, or 3.

Question: What is your best estimate of the probability that a randomly chosen house has exactly 1 child?

Clarify any assumptions you need about how the 100 kids were sampled (e.g., uniformly at random from all children in town).

Solution

Show

Submit Your Answer to Earn 20XP

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 8,000+ 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.