PracHub
QuestionsLearningGuidesInterview Prep
|Home/Statistics & Math/Upstart

Estimate one-child household probability

Last updated: Mar 29, 2026

Quick Overview

Solve a child-sampled probability puzzle by correcting size-biased sampling. The answer converts school survey child proportions into household proportions and shows why the probability a random household has one child is 5/7, not 50%.

  • medium
  • Upstart
  • Statistics & Math
  • Data Scientist

Estimate one-child household probability

Company: Upstart

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Technical Screen

You survey 100 children at a school and ask how many children are in their family. The responses are: - 50 children say their family has 1 child. - 20 children say their family has 2 children. - 30 children say their family has 3 children. Now you go to a random house in the same town and ask how many children live there. Assuming the school sample is representative and family sizes larger than 3 do not occur, estimate the probability that the randomly chosen house has exactly 1 child. ### Constraints & Assumptions - The school survey samples children, not households. - Larger families are more likely to appear in the school sample because they contribute more children. - Assume 1-, 2-, and 3-child households are the only possibilities. - Explain the sampling bias and do not simply use 50%. ### Clarifying Questions to Ask - Are we sampling a random child or a random household in the final question? - Are all children in the town equally likely to attend the sampled school? - Are households with more than 3 children impossible or just unobserved? - Are we ignoring households with zero children? ### Part 1 - Identify The Sampling Bias Why is the school survey not a direct estimate of household probabilities? #### What This Part Should Cover - Child-sampled proportions versus household-sampled proportions. - Size-biased sampling: a 3-child family contributes three children to the school sample. ### Part 2 - Convert Child Proportions To Household Proportions How do you estimate the household distribution? #### What This Part Should Cover - Let `r_k` be the probability a random child comes from a `k`-child household. - Let `q_k` be the probability a random household has `k` children. - Use `q_k` proportional to `r_k / k`, then normalize. ### Part 3 - Compute The Final Probability What is the probability that a random house has exactly 1 child? #### What This Part Should Cover - Computation using either proportions or implied family counts. - Final answer of `5/7`, approximately `71.4%`. ### What a Strong Answer Covers - Recognizes size-biased sampling immediately. - Correctly converts from child-level to household-level probabilities. - Explains why the intuitive 50% answer is wrong. - States assumptions about zero-child and larger-than-3-child households. ### Follow-up Questions - How would the answer change if households with zero children were included? - What if family sizes larger than 3 exist but were not observed? - What is the general formula for any maximum family size? - How would uncertainty from only 100 surveyed children affect the estimate?

Quick Answer: Solve a child-sampled probability puzzle by correcting size-biased sampling. The answer converts school survey child proportions into household proportions and shows why the probability a random household has one child is 5/7, not 50%.

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)
  • Combine noisy thermometers; compute random-walk correlations - Upstart (easy)
  • Analyze HT vs HH stopping-time probabilities - Upstart (medium)
|Home/Statistics & Math/Upstart

Estimate one-child household probability

Upstart logo
Upstart
Dec 11, 2024, 12:00 AM
mediumData ScientistTechnical ScreenStatistics & Math
6
0

You survey 100 children at a school and ask how many children are in their family. The responses are:

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

Now you go to a random house in the same town and ask how many children live there. Assuming the school sample is representative and family sizes larger than 3 do not occur, estimate the probability that the randomly chosen house has exactly 1 child.

Constraints & Assumptions

  • The school survey samples children, not households.
  • Larger families are more likely to appear in the school sample because they contribute more children.
  • Assume 1-, 2-, and 3-child households are the only possibilities.
  • Explain the sampling bias and do not simply use 50%.

Clarifying Questions to Ask Guidance

  • Are we sampling a random child or a random household in the final question?
  • Are all children in the town equally likely to attend the sampled school?
  • Are households with more than 3 children impossible or just unobserved?
  • Are we ignoring households with zero children?

Part 1 - Identify The Sampling Bias

Why is the school survey not a direct estimate of household probabilities?

What This Part Should Cover Guidance

  • Child-sampled proportions versus household-sampled proportions.
  • Size-biased sampling: a 3-child family contributes three children to the school sample.

Part 2 - Convert Child Proportions To Household Proportions

How do you estimate the household distribution?

What This Part Should Cover Guidance

  • Let r_k be the probability a random child comes from a k -child household.
  • Let q_k be the probability a random household has k children.
  • Use q_k proportional to r_k / k , then normalize.

Part 3 - Compute The Final Probability

What is the probability that a random house has exactly 1 child?

What This Part Should Cover Guidance

  • Computation using either proportions or implied family counts.
  • Final answer of 5/7 , approximately 71.4% .

What a Strong Answer Covers Guidance

  • Recognizes size-biased sampling immediately.
  • Correctly converts from child-level to household-level probabilities.
  • Explains why the intuitive 50% answer is wrong.
  • States assumptions about zero-child and larger-than-3-child households.

Follow-up Questions Guidance

  • How would the answer change if households with zero children were included?
  • What if family sizes larger than 3 exist but were not observed?
  • What is the general formula for any maximum family size?
  • How would uncertainty from only 100 surveyed children affect the estimate?
Loading comments...

Browse More Questions

More Statistics & Math•More Upstart•More Data Scientist•Upstart Data Scientist•Upstart Statistics & Math•Data Scientist Statistics & Math

Write your answer

Your first approved answer each day earns 20 XP.

Sign in to write your answer.
PracHub

Master your tech interviews with 8,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding 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.