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,552評論 5 6
  • **2014真題Directions:Read the following text. Choose the be...
    又是夜半驚坐起閱讀 9,939評論 0 23
  • 一 七月天,流火天。 一大早王琳就覺得身上黏糊糊的,沖了個涼也只是解決了一時之苦,一會兒,就又...
    季眉閱讀 134評論 0 0
  • 今天早上給死黨打電話,知道跟親教在談戀愛,我當然也不放過葉小妹教練跟我談談戀愛,也為我昨天的混球情緒向葉教練致歉。...
    快樂晴兒閱讀 276評論 0 0
  • 一個豐盛的錯誤 像結霜的肉 被切成厚實的方塊 敗北的味道 被交口稱贊 一個無人理解的詞匯 在無人觀賞的展會上 被創造出來
    可以_AmorphousYet閱讀 181評論 0 0