The basic of A\B testing

A/B testing really is just a rebranded version of experimental design and statistical inference. Here are three topics that may come up in interview questions about A/B testing.Significance

Can you explain to me what significance means? What a confidence interval means?

When you are running an experiment, you are trying to disprove the null hypothesis that there is no difference between the two groups.If the statistical test returns significant, then you conclude that the effect is unlikely to arise from random chance alone. If you reject something with 95% confidence, then in the case that there is no true effect, then a result like ours (or a result more extreme than ours) will happen in less than 5% of all possible samples.

Significance has a precise meaning in statistics and many people without a formal statistical background misunderstand the concept.To better understand it I would highly recommend reviewing materials on Statistical Inference, for example these MOOC courses: UC BerkeleyX: Stat2.3x: Introduction to Statistics: Inference and CourseraCheck out What is an intuitive explanation of the t-test in hypothesis testing?for a little bit more on significance testing.

Randomization

Why is randomization important in experimental design? How would you answer the question, does attending local meetups cause Etsy sellers to gather more sales?

You can claim that Etsy sellers who attend local meetups tend to be more successful, but can you claim that their success is caused by their attendance? If a seller started to attend local meetups, will she start seeing more sales?In this case, we cannot draw a causal conclusion because of the confounding factors at play. Etsy sellers who attend local meetups are much more likely to be those who sell as a full-time profession. In this case, the confounding variable is *level of commitment as a seller. *This variable drives both attendance at local meetups and amount of sales, so we cannot conclude anything about the causal relationship between meetup attendance and amount of sales.


Randomization is at the core of experimentation because it balances out these confounding variables.By assigning 50% of users to a control group and 50% of users to a treatment group, you can ensure that the rough level of seller commitment is on average balanced between the two groups, as is every single other possible confounding variable, measured or not.There's a slight difficultly here now, since we can't just force 50% of users to go to a local meetup and 50% to not.What we can do however is to have the treatment be an encouragement to attend a local meetup, either directly from Etsy HQ or from the local seller groups themselves.Now you can measure the causal effect of this encouragement, e.g. *Does encouraging sellers to attend local meetups increase the total number of sales?

Multiple Comparisons
What things might we need to be worried about if we have an experiment with 20 different metrics? What if we run 20 experiments simultaneously?Let's say that you're Amazon and you're testing 20 different metrics on your item page - conversion rate, add to cart rate, looking at third-party sellers rate.
The more metrics you are measuring, the more likely you are to get at least one false positive.*Ways to attempt to correct for this include changing your confidence level (e.g. Bonferroni Correction) or doing family-wide tests before you dive in to the individual metrics (e.g. Fisher's Protected LSD). However, these are not used often in practice, and most people decide to just *proceed with caution *and be wary of spurious results.xkcd: Significant has a humorous take on this.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 13,526评论 5 6
  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 9,807评论 0 23
  • 一 七月天,流火天。 一大早王琳就觉得身上黏糊糊的,冲了个凉也只是解决了一时之苦,一会儿,就又...
    季眉阅读 133评论 0 0
  • 今天早上给死党打电话,知道跟亲教在谈恋爱,我当然也不放过叶小妹教练跟我谈谈恋爱,也为我昨天的混球情绪向叶教练致歉。...
    快乐晴儿阅读 247评论 0 0
  • 一个丰盛的错误 像结霜的肉 被切成厚实的方块 败北的味道 被交口称赞 一个无人理解的词汇 在无人观赏的展会上 被创造出来
    可以_AmorphousYet阅读 179评论 0 0