Fija una unidad, un reparto y un resultado antes de iniciar. Conserva los conteos por grupo, revisa la integridad de la medición y declara cuándo termina la observación.
Elige una decisión pequeña
Imagina una página de cursos con una invitación a consultar horarios. El equipo quiere saber si una frase más concreta ayuda a llegar a la consulta. Escribe las dos versiones y conserva el resto de la página igual dentro del ensayo. Define qué decisión tomarías con un resultado claro y qué harías con evidencia todavía insuficiente.
La guía del gobierno británico presenta A/B como una comparación de diseños con asignación aleatoria. Elegir una diferencia principal facilita relacionar el resultado con el cambio que querías estudiar.
Decide qué recibe una versión
Puedes asignar por visitante elegible cuando existe una forma adecuada de mantener su grupo durante el ensayo. Si alguien vuelve, conserva su variante bajo la regla elegida. Asignar cada visita de nuevo respondería una pregunta diferente y podría exponer a la misma persona a las dos versiones.
Anota la población elegible y el momento de asignación. Planea cómo registrar unidades repetidas, entradas que faltan y casos en los que no se sirvió la versión asignada. Pide solo la información necesaria para hacer esa comprobación.
Define cuándo cuenta un resultado
En el caso ficticio, el resultado es una consulta válida de horarios dentro de una ventana definida. Decide qué acción demuestra esa consulta y cómo contar una sola vez a cada unidad que la completó. El denominador del ejemplo incluye a los visitantes elegibles asignados.
Si una versión registra el evento al abrir la página y la otra al terminar la acción, sus tasas tienen significados diferentes. Recorre ambos caminos con datos de prueba antes de admitir tráfico al ensayo.
Lee los conteos junto con las tasas
La tabla es un ejemplo aritmético inventado. Las tasas se obtienen dividiendo el resultado entre las unidades asignadas de cada grupo.
| Versión | Asignados | Resultados | Tasa |
|---|---|---|---|
| A | 1,000 | 40 | 4 % |
| B | 1,000 | 50 | 5 % |
La diferencia observada en estos números es un punto porcentual. Para decidir en una prueba real hacen falta una regla de análisis, una duración prevista y una evaluación de la incertidumbre adecuadas al diseño.
Investiga un reparto inesperado
Compara los conteos observados con el reparto previsto. Microsoft Research documenta el desajuste de proporciones como señal para investigar problemas en un experimento. Revisa registro, elegibilidad y entrega de variantes cuando el reparto sea incompatible con lo esperado bajo el diseño.
Deja visible qué filas se perdieron y en qué etapa. Un desbalance puede originarse al medir o entregar las versiones. Conserva la versión de los datos y el diagnóstico para que otra persona pueda reconstruir la revisión.
Escribe la decisión junto al diseño
Guarda pregunta, textos, unidad, proporción prevista, evento, fecha de cierre y criterio de análisis. En el cierre indica el alcance de la conclusión y las dudas que siguen abiertas. Definir la regla con anticipación reduce la tentación de detener el ensayo al ver el primer número atractivo.
La guía de encuestas revisa la comprensión de una pregunta. Este ejercicio prepara la comparación de conductas tras asignar variantes a grupos de forma controlada.
An A/B test starts with knowing who enters each group
Changing a phrase on Monday and comparing it with Friday’s version mixes wording with everything that changed during the week. A well-defined A/B test starts with inspectable allocation and records.
Set the unit, allocation and outcome before starting. Retain counts by group, check measurement integrity and declare when observation ends.
Choose a narrow decision
Imagine a course page inviting visitors to check schedules. The team wants to know whether more specific wording helps people reach that action. Write two versions and keep the rest of the page fixed within the test. Define what decision clear evidence could support and what to do if evidence remains insufficient.
UK government guidance presents A/B as a design comparison with randomized allocation. A primary difference helps connect the outcome to the change you set out to study.
Decide what receives a version
Assignment can be by eligible visitor when there is a suitable way to retain their group. If someone returns, keep their variant under the chosen rule. Reassigning each visit would answer a different question and could expose a person to both versions.
Record the eligible population and assignment moment. Plan how to record repeated units, missing entries and cases where the assigned version was not served. Request only the information needed for that check.
Define when an outcome counts
In the fictional case, the outcome is a valid schedule inquiry within a defined window. Decide which action establishes it and how to count each successful unit once. The example denominator includes assigned eligible visitors.
If one version records the event on opening the page and the other after completing the action, their rates mean different things. Walk through both paths with test data before admitting traffic.
Read counts alongside rates
The table is an invented arithmetic example. Each rate divides outcomes by assigned units in its group.
| Version | Assigned | Outcomes | Rate |
|---|---|---|---|
| A | 1,000 | 40 | 4% |
| B | 1,000 | 50 | 5% |
The observed difference in these figures is one percentage point. A real decision needs an analysis rule, a planned duration and an assessment of uncertainty appropriate to the design.
Investigate unexpected allocation
Compare observed counts with planned allocation. Microsoft Research documents sample ratio mismatch as a signal to investigate experiment problems. Inspect logging, eligibility and variant delivery when allocation is inconsistent with what the design predicts.
Keep missing rows and their stage visible. An imbalance may originate in measurement or delivery. Retain the data version and diagnosis so someone else can reconstruct the review.
Write the decision beside the design
Keep question, wording, unit, planned proportions, event, end date and analysis rule. At closure state the scope of the conclusion and unresolved questions. Setting the rule early reduces the temptation to stop at the first attractive number.
The survey guide reviews how people understand a question. This exercise prepares a comparison of behavior after controlled assignment to versions.
A/B 测试从明确谁进入各组开始
周一换一句话,再与周五的版本比较,会把文案与一周中的其他变化混在一起。定义清楚的 A/B 测试从可核查的分组和记录开始。
启动前确定单位、分配与结果。保留各组数量,检查测量是否完整,并声明观察何时结束。
选择一个具体决定
设想课程页邀请人们查询时间。团队想知道更具体的措辞能否帮助完成查询。写出两个版本,试验内保持页面其他部分一致。说明证据明确时要作什么决定,以及证据不足时如何处理。
英国政府指南把 A/B 描述为随机分配下的设计比较。明确一个主要差异,有助于把结果与想研究的改动联系起来。
决定由什么单位接收版本
如果有合适方式保持分组,可以按符合条件的访客分配。有人再次访问时,按既定规则保留其版本。每次访问重新分配会回答不同的问题,并可能让同一个人看到两个版本。
写下符合条件的人群与分配时点。规划如何记录重复单位、缺失记录及未提供已分配版本的情况。只索取完成这项核对所需的信息。
定义何时计入结果
虚构案例的结果是在指定窗口内完成有效的时间查询。确定什么动作可以确认查询,以及如何让每个成功单位只计一次。示例分母包括已分配且符合条件的访客。
一个版本打开页面即记录事件,另一个完成动作才记录,两个比率就代表不同的事情。接入流量前,用测试数据走完两个路径。
把计数与比率放在一起
表格是虚构算术示例。每组的比率等于结果数除以该组已分配单位数。
| 版本 | 已分配 | 结果数 | 比率 |
|---|---|---|---|
| A | 1,000 | 40 | 4% |
| B | 1,000 | 50 | 5% |
这些数字的观察差值为一个百分点。真实决策需要与设计匹配的分析规则、预定时长与不确定性评估。
调查异常分配
将观察计数与计划分配比较。Microsoft Research 将样本比例失配视为调查实验问题的信号。若分配与设计预期不相容,检查记录、资格规则与版本实际提供情况。
保留缺失记录及其所在阶段。失衡可能发生在测量或版本提供过程中。保存数据版本和诊断,使另一人可以重建复核。
把决定与设计一起记录
保存问题、文案、单位、计划比例、事件、结束日期与分析规则。结束时写出结论适用范围与待解问题。提前确定规则可以减少看到第一个好数字便停止的冲动。
问卷指南检查人们如何理解问题。本练习为受控分组后的行为比较做准备。
Fuentes y método
- UK Government · A/B testing comparative studies ↗
- Microsoft Research · Diagnosing sample ratio mismatch ↗
Fuentes consultadas el 3 de noviembre de 2026. Los escenarios y cifras ilustrativos son ficticios. Ejercicios y fichas originales, sin resultados de clientes ni observaciones de campo atribuidos. Editorial standards · Disclosures.