Domanda di colloquio di Amazon

How to test a fair coin?

Risposte di colloquio

Anonimo

21 dic 2018

You should perform a hypothesis testing, in this case the null hypothesis is p(head) = p(tail) which is 0.5 each. Then you run experiment to collect results, calculate the p value if null hypothesis is true. If p value is smaller than 5 (in most cases), you can't reject hypothesis. If p value is bigger than 5, then the null hypothesis is False, then it's a unfair coin

1

Anonimo

21 lug 2017

throw the coin for say 100 times. it should land 50/50 overall

Anonimo

21 dic 2018

Correct the answer i gave above, if p value is smaller than 5 then you can reject the null hypothesis and vice versa