PracHub
QuestionsPremiumLearningGuidesCheatsheetNEW
|Home/Statistics & Math/Roblox

Apply Bayes' rule to compute posterior

Last updated: Mar 29, 2026

Quick Overview

Evaluates understanding of Bayes’ rule and basic probability concepts—specifically computing a posterior probability P(A|B) and the marginal likelihood P(B) from a prior and likelihoods—in the Statistics & Math domain at a foundational-to-intermediate abstraction level.

  • hard
  • Roblox
  • Statistics & Math
  • Data Scientist

Apply Bayes' rule to compute posterior

Company: Roblox

Role: Data Scientist

Category: Statistics & Math

Difficulty: hard

Interview Round: Take-home Project

A binary event \(A\) (e.g., “user is a payer” or “patient has a disease”) has prior probability \(P(A)\). You observe evidence \(B\) (e.g., a model predicts positive, or a test result is positive) with known likelihoods: - \(P(B\mid A)\) - \(P(B\mid \neg A)\) Task: 1) Use **Bayes’ rule** to compute the posterior probability \(P(A\mid B)\). 2) Show how to compute \(P(B)\) from the given quantities. Optionally, illustrate with a numeric example to verify the formula.

Quick Answer: Evaluates understanding of Bayes’ rule and basic probability concepts—specifically computing a posterior probability P(A|B) and the marginal likelihood P(B) from a prior and likelihoods—in the Statistics & Math domain at a foundational-to-intermediate abstraction level.

Related Interview Questions

  • Compute sample size and Bayes posterior - Roblox (hard)
  • Derive variance and CTR confidence intervals - Roblox (medium)
  • Implement robust one/two-sided p-value function - Roblox (hard)
  • Compute GSP vs VCG payments with reserves - Roblox (medium)
  • Compute A/B test sample size and Bayes posterior - Roblox (easy)
Roblox logo
Roblox
Nov 24, 2025, 12:00 AM
Data Scientist
Take-home Project
Statistics & Math
2
0

A binary event AAA (e.g., “user is a payer” or “patient has a disease”) has prior probability P(A)P(A)P(A).

You observe evidence BBB (e.g., a model predicts positive, or a test result is positive) with known likelihoods:

  • P(B∣A)P(B\mid A)P(B∣A)
  • P(B∣¬A)P(B\mid \neg A)P(B∣¬A)

Task:

  1. Use Bayes’ rule to compute the posterior probability P(A∣B)P(A\mid B)P(A∣B) .
  2. Show how to compute P(B)P(B)P(B) from the given quantities.

Optionally, illustrate with a numeric example to verify the formula.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

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