Smoothing the Reaction Mix of a Post With Only Seven Reactions

Last updated: November 29, 2026

Quick Overview

A new Facebook post has 7 reactions: 2 Like, 2 Sad, and 3 Angry. Using a Dirichlet prior built from the platform-wide reaction mix, estimate the post's true reaction shares and the probability its next reaction is Angry.

Meta
Statistics & Math
Data Scientist
Meta
November 29, 2026
Data Scientist
Onsite
Statistics & Math
Medium

0

0

0 solved


A new Facebook post has 7 reactions: 2 Like, 2 Sad, and 3 Angry. Using a Dirichlet prior built from the platform-wide reaction mix, estimate the post's true reaction shares and the probability its next reaction is Angry.

Feed ranking and integrity models at Meta use reaction mixes as signals, for example a high Angry share can indicate divisive content, but early counts are tiny. The interviewer tests whether you can generalize Beta-Binomial to Dirichlet-Multinomial and reason about choosing the prior's strength.

What the Interviewer Expects
  • Writes the Dirichlet prior as pseudo-counts proportional to the platform mix
  • Updates by adding observed counts
  • Computes posterior mean shares including Angry
  • Explains the predictive probability of the next reaction
  • Discusses how to set the concentration parameter
Key Topics to Cover
Dirichlet-Multinomial
Pseudo-counts
Posterior predictive
Prior concentration
Reaction signals
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
  • How would you estimate the concentration from historical posts?
  • Should the prior depend on the post's topic or author?
  • How would you produce an uncertainty interval for the Angry share?
  • When would you rather use a hierarchical model across Pages?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Statistics Questions
Sample Answer
Clarify

Six reaction types. Suppose platform-wide shares are Like 70%, Love 15%, Haha 8%, Wow 3%, Sad 2%, Angry 2%. Observed counts: Like 2, Sad 2, Angry 3, others 0, total n=7n=7. I will choose a prior concen...

Approach

Prior θ∼Dir(A0m)\boldsymbol\theta\sim\text{Dir}(A_0\mathbf{m}), so α=(14,3,1.6,0.6,0.4,0.4)\boldsymbol\alpha=(14, 3, 1.6, 0.6, 0.4, 0.4). Dirichlet is conjugate to the multinomial: posterior $\text{Dir}(\boldsymbol\alpha+\mathbf{x...


Submit Your Answer
Markdown supported