A short statistical reasoning test
20 points
2 hours ago
| 1 comment
| emiruz.com
| HN
jldugger
24 minutes ago
[-]
( replying to a now deleted post)

>> the uncertainty in the number of trials > Has no meaning to me.

What the author is trying to get at in the admittedly poorly worded question is that the trials are noisy measures of an underlying effect. Your job is to sort by effect size, while accounting for the random chance that a low sample size trial just got unlucky.

You might argue that the question is much harder than the author assumes, since your best guess at the actual effect size seems like it should still just be the success rate, even if the low sample size trials have wider error bars. You'd need to come up with some sort of heuristic that says why 7/9 deserves a lower rank than 50/70 using binomial confidence intervals.

Probably that heuristic is intended to be a bayesian approach? Like, if you add just two successes and two failures to each scenario as a prior, thats enough to put the 50/70 option ahead.

reply
kruffalon
3 minutes ago
[-]
I wrote the deleted comment you are replying to.

The essence of my comment was that this text/test is not for me (one person of the general public) but more like a few leetcode-style questions for statisticians.

reply
usgroup
11 minutes ago
[-]
From the question:

“However, it is very important that the uncertainty in the number of trials is taken into account because over-estimating a fraction is a costly mistake.“

Seems fairly clear to me that you’re supposed to use a lower bound estimate to take into account variance on the fraction due to the number of trials in a way to bounds the chance of over estimation.

Further, there is no need for a heuristic when there a several statistical models for this exact problem with clear properties. Some are given in the answer.

reply
jldugger
18 minutes ago
[-]
And I guess since they answer the questions at the bottom, it seems their intent is indeed the simplistic approach

> The lower bound of which can be used to order the fractions, and so control the risk of over-estimation.

It not clear to me from the question whether the cost of a mistake is in the over-estimating the underlying effect or in misranking the effects, and that seems like it would drive your heuristic selection.

reply