रिसोर्स · 26
एक A/B एक्सपेरिमेंट चलाएं जो एक सही डिसीजन को सपोर्ट करता हो।
वेरिएंट की तुलना करने से पहले हाइपोथीसिस, असाइनमेंट, प्राइमरी मेट्रिक और गार्डरेल बताएं।
अपडेटेड · 9 min
यह गाइड क्या पाने में मदद करती है
- प्रोटोकॉल को पहले से रजिस्टर करें
- असाइनमेंट चेक करें
- गार्डरेल देखें
- अनिश्चितता के साथ फैसला करें
जल्दी से चेक करें
- कौन सी सटीक हाइपोथिसिस को गलत साबित किया जा सकता है?
- कौन सी यूनिट को वैरिएंट मिलता है?
- क्या देखा गया एलोकेशन प्लान से मेल खाता है?
- किस नुकसान के लिए रुकना ज़रूरी है?
- क्या नतीजे देखने से पहले ड्यूरेशन और सेगमेंट सेट किए गए थे?
स्टेप-बाय-स्टेप तरीका
- 1
प्रस्तावित बदलाव बताएं
एक प्राइमरी मेट्रिक पर उम्मीद के मुताबिक मैकेनिज्म, टारगेट पॉपुलेशन और असर लिखें। संभावित एक्सेसिबिलिटी और सर्विस रिस्क बताएं।
डिलीवरेबल: डेटेड हाइपोथिसिस और सक्सेस क्राइटेरिया।
- 2
असाइनमेंट को डिफाइन करें
रैंडमाइजेशन यूनिट चुनें और विज़िट के दौरान असाइनमेंट को स्टेबल रखें। लॉन्च से पहले बॉट्स को बाहर करें और आउट-ऑफ-स्कोप सेगमेंट बताएं।
डिलीवरेबल: असाइनमेंट प्रोटोकॉल और एक्सक्लूजन।
- 3
इंस्ट्रूमेंट और टेस्ट
दोनों वेरिएंट के लिए एक्सपोज़र, कन्वर्ज़न और गार्डरेल इवेंट वेरिफ़ाई करें। मोबाइल, सहमति से मना करने और एरर स्टेट्स को टेस्ट करें।
डिलीवरेबल: दोनों जर्नी का QA रिकॉर्ड।
- 4
सैंपल रेश्यो चेक करें
ट्रीटमेंट इफ़ेक्ट पढ़ने से पहले ऑब्ज़र्व्ड और एक्सपेक्टेड एलोकेशन की तुलना करें। मिसमैच असाइनमेंट, मेज़रमेंट या टारगेटिंग डिफेक्ट्स को सामने ला सकता है।
डिलीवरेबल: रेश्यो चेक और डिस्क्रिपेंसी डायग्नोसिस।
- 5
प्लान किए गए समय पर एनालाइज़ करें
चुनी गई विंडो का सम्मान करें और अनसर्टेनिटी, प्राइमरी मेट्रिक, नुकसान और प्लान किए गए सेगमेंट एनालिसिस की रिपोर्ट करें। फैक्ट के बाद सिर्फ़ फेवरेबल नंबर को सिलेक्ट किए बिना सरप्राइज़ को इंस्पेक्ट करें।
डिलीवरेबल: लिमिटेशन और अनसर्टेनिटी के साथ एनालिसिस।
- 6
डिसाइड करें और फ़ॉलो अप करें
रोलआउट, एबंडनमेंट या किसी दूसरे टेस्ट के लिए एक ओनर असाइन करें। रोलआउट के बाद, चेक करें कि इफ़ेक्ट और गार्डरेल कंसिस्टेंट हैं।
डिलीवरेबल: आर्काइव्ड डिसीजन और रोलआउट के बाद चेक।
मैनेजमेंट इंडिकेटर
| इंडिकेटर | यह क्या मापता है | पहला एक्शन |
|---|---|---|
| असाइनमेंट | एक्सपेक्टेड बनाम ऑब्जर्व्ड सैंपल रेश्यो | एनालिसिस से पहले डायग्नोस करें |
| एक्सपोज़र | एलिजिबल यूज़र्स असल में एक्सपोज़ हुए | रिपेयर टारगेटिंग |
| इफ़ेक्ट | प्राइमरी-मेट्रिक चेंज और अनसर्टेनिटी | प्लान्ड डिसीजन रूल अप्लाई करें |
| गार्डरेल्स | एरर्स, लेटेंसी और हर वैरिएंट में एबंडनमेंट | हार्मफुल ट्रीटमेंट पॉज़ करें |
आम गलतियाँ
- जब कोई नंबर पहली बार फेवरेबल लगे तो उसे रोकना
- प्राइमरी वाले के बिना कई मेट्रिक्स कलेक्ट करना
- सैंपल रेश्यो मिसमैच को इग्नोर करना
- एक छोटे सेगमेंट को जनरल प्रूफ के तौर पर ट्रीट करना
अक्सर पूछे जाने वाले सवाल
क्या सैंपल रेश्यो एक छोटी फॉर्मैलिटी है?
नहीं। एक अनएक्सप्लेंड मिसमैच कम्पेरिजन को अनरिलायबल बना सकता है।
क्या कन्वर्ज़न रोज़ चेक किया जाना चाहिए?
ऑपरेशनल मॉनिटरिंग मदद करती है, लेकिन नतीजों के जवाब में ड्यूरेशन या डिसीजन रूल बदलने से प्लान किए गए मतलब को नुकसान पहुँचता है।
अगर नतीजा पक्का न हो तो क्या होगा?
पक्का न होने और संभावित इफ़ेक्ट साइज़ की रिपोर्ट करें, फिर तय करें कि दूसरे एक्सपेरिमेंट की असली वैल्यू है या नहीं।
A/B आवंटन: डेटा और SRM
इस संस्करण में विस्तृत संदर्भ टिप्पणियाँ अंग्रेज़ी में उपलब्ध हैं।
A conversion difference becomes difficult to interpret when compared groups no longer match the assignment plan. Sample Ratio Mismatch (SRM) is a data quality signal: investigate allocation before evaluating the product change. This dossier connects calculation, instrumentation and decisions without treating a p-value as overall validation of an experiment.
In 2020 Microsoft Research describes four stages where SRM can arise and an ExP reference threshold p < 0.0005 using a chi-squared test. The educational CIE reader below uses a two-sided exact binomial test for two 50/50 groups. It does not reproduce ExP’s algorithm; the historical threshold is illustrative, not a universal standard.
Microsoft Research · Diagnosing Sample Ratio Mismatch · Published 2020-09-14 · consulted 2026-10-23
Four places to investigate a counting discrepancy
| Stage documented by ExP | CIE review question | Original practical investigation |
|---|---|---|
| Assignment | Check the unit and rule that assign each participant. | Replay the same identity across visits; compare configuration versions and change times. A reassigned unit no longer represents two independent observations. |
| Execution | Compare what each variant actually allows to execute. | Reproduce redirects, incomplete loading, errors and cancellation. Record when exposure is logged and whether the variant changes that moment. |
| Log processing | Reconcile inputs, exclusions and joins. | Count units before and after each transformation. Check missing keys, duplicates, bot filters and telemetry loss by group. |
| Analysis | Examine the population retained for comparison. | Compare the assigned population with the analysed subset. A filter triggered by an action available only in B selects a population affected by treatment. |
Define what the two counts represent
| Reader assumption | Consequence for interpretation |
|---|---|
| Two mutually exclusive variants | Count each unit once, in A or B. Repeated page views or events are not distinct participants. |
| Fixed 50/50 allocation | Every unit has the same probability of assignment to A and B. A 90/10 allocation, changing ratio or enforced quota needs a different model. |
| Independent trials | Units linked through an organisation, household or reassignment can violate the binomial model. Choose the unit in the protocol. |
| Fixed window and filters | Compare the same interval and deduplication and eligibility rules. Do not adapt exclusions to obtain a desired result. |
| Bounded aggregate counts | Accept 0 to 5,000 units per arm, at most 10,000 overall. This is an interface limit, not a minimum statistical power requirement. |
| Quality check only | The reader computes neither effect, conversion, power nor required sample size. A result without an SRM signal does not establish causality. |
NIST/SEMATECH · Binomial distribution · e-Handbook §1.3.6.6.18 · consulted 2026-10-23
50/50 आवंटन पाठक
Enter the two observed counts or load a fictional example. This checks allocation, not conversion counts. Calculation stays in the browser, without transmission, storage, import or export.
Under H₀, X follows Binomial(N, 0.5), with N = A + B and k = min(A, B). The reader computes p = min(1, 2 × Σᵢ₌₀ᵏ C(N,i) / 2ᴺ). This doubles the smaller tail, valid here by 50/50 symmetry. Sums are evaluated in logarithms to retain very small probabilities; displayed values are rounded.
A p-value describes how this allocation compares with the assumed model; it is not the probability that the experiment is valid or that a bug exists. A small value does not locate the cause. A large value does not establish error-free data. Repeated checks and multiple segments change false-alert control: define a suitable monitoring rule before operational use.
Two integers from 0 to 5,000; intended allocation must be 50/50.
परिणाम
Eight educational examples readable without JavaScript
R01 · Two balanced groups
| Count A | Count B | Expected reading |
|---|---|---|
| 50 | 50 | p = 1 under the model. This checks neither instrumentation, conversion nor causality. |
R02 · 60/40 across ten units
| Count A | Count B | Expected reading |
|---|---|---|
| 6 | 4 | p = 0.75390625. A visibly different ratio alone does not establish a signal at this small sample size. |
R03 · Same ratio, hundredfold sample
| Count A | Count B | Expected reading |
|---|---|---|
| 600 | 400 | The ratio remains 60/40, but the p-value becomes very small. Sample size changes statistical interpretation. |
R04 · One empty arm, ten units
| Count A | Count B | Expected reading |
|---|---|---|
| 0 | 10 | p = 0.001953125 remains above the illustrative 0.0005 threshold. No alert at this threshold does not certify both arms are working. |
R05 · One empty arm, twenty units
| Count A | Count B | Expected reading |
|---|---|---|
| 0 | 20 | p = 0.0000019073486328125: a signal under the reference threshold. Investigate before interpreting an effect. |
R06 · No observed units
| Count A | Count B | Expected reading |
|---|---|---|
| 0 | 0 | No p-value: no observations. Show unavailable data rather than a reassuring result. |
R07 · Extremely small probability
| Count A | Count B | Expected reading |
|---|---|---|
| 5000 | 1 | Displaying log₁₀(p) avoids presenting numerical rounding to zero as a mathematical impossibility. |
R08 · Leading space is not repaired
| Count A | Count B | Expected reading |
|---|---|---|
| 50 | 50 | Input rejected. The reader accepts only ASCII integers from 0 to 5,000, without spaces, signs, separators or redundant leading zeros. |
Before resuming effect analysis
| Suggested check | Record or result to retain |
|---|---|
| Timeline | Discrepancy onset, assignment versions, deployments and collection changes. |
| Stage counts | Assigned, exposed and analysed counts; differences explained using the same unit. |
| Identities | Evidence of unit stability and explicit treatment of duplicates, session changes and sign-ins. |
| Telemetry | Comparable events, delivery errors and losses by variant, device and version. |
| Filtering | Eligibility and exclusion rules, with their position before or after treatment. |
| Decision | Supported cause, fix, still-usable period or new experiment, owner and review date. |
Avoid artificially balancing groups by deleting observations to remove an alert. Reconstruct the data path first. An effect metric, guardrails and uncertainty remain necessary after repairing counts. In the final brief, separate the statistical signal, demonstrated cause and product decision.
Sources, editions and credits
Sources: Microsoft Research, article dated 14 September 2020; NIST/SEMATECH, binomial distribution §1.3.6.6.18. Questions, recipes and eight cases are CIE educational material, not results from real experiments. No institutional chart, logo or visual is reproduced.
Microsoft Research · Diagnosing Sample Ratio Mismatch · Published 2020-09-14 · consulted 2026-10-23
SHA-256 : d28a6a66b3f1d014f3aafce6c0239b6a6477049b2d4582f06f4d6aaae651ee75
NIST/SEMATECH · Binomial distribution · e-Handbook §1.3.6.6.18 · consulted 2026-10-23
SHA-256 : d899609cde11a15ebd745f6313931da10e9511a0dff64f39b027e5b9ad103ad8
ऑफ़िशियल रेफ़रेंस
रेफ़रेंस इस तरीके को सपोर्ट करते हैं। अपने कॉन्टेक्स्ट के हिसाब से चेक को एडजस्ट करें; वे सर्टिफ़िकेशन नहीं हैं। ओरिजिनल रेफ़रेंस टाइटल और सोर्स डॉक्यूमेंट दूसरी भाषा में हो सकते हैं।
संदर्भ जाँच की तारीख .
