<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Kathy Yang on Medium]]></title>
        <description><![CDATA[Stories by Kathy Yang on Medium]]></description>
        <link>https://medium.com/@kathy.a.yang?source=rss-154c4fc82a32------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*EP1T-y-9yw2xcVAQ.</url>
            <title>Stories by Kathy Yang on Medium</title>
            <link>https://medium.com/@kathy.a.yang?source=rss-154c4fc82a32------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 14 Nov 2026 12:58:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kathy.a.yang/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Milestones on our Journey to Standardize Experimentation at The New York Times]]></title>
            <link>https://open.nytimes.com/milestones-on-our-journey-to-standardize-experimentation-at-the-new-york-times-2c6d32db0281?source=rss-154c4fc82a32------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c6d32db0281</guid>
            <category><![CDATA[a-b-testing]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[organizational-culture]]></category>
            <category><![CDATA[experimentation]]></category>
            <dc:creator><![CDATA[Kathy Yang]]></dc:creator>
            <pubDate>Tue, 26 Mar 2024 14:17:56 GMT</pubDate>
            <atom:updated>2024-08-16T19:50:32.929Z</atom:updated>
            <content:encoded><![CDATA[<h3>Milestones on Our Journey to Standardize Experimentation at The New York Times</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*epNuh3t89yFj5IF7DeDrFA.gif" /><figcaption>Illustration by <a href="https://henricampea.com/work">Henri Campeã</a></figcaption></figure><p><strong>By Kathy Yang</strong></p><p>Experimentation is an important part of product development at The New York Times — it helps us measure the impact of our changes, ship features safely, and gain insight into user behavior. Experiments are conducted by many different teams working across a diverse portfolio of products and projects, from Wordle to The Times’s Audio app to backend migrations. In the early days, this meant that teams would often develop their own approach to experimentation to address their specific requirements.</p><p>Over the past year, we have been on a journey toward standardization. There are many benefits to centralizing experimentation — having a single source of truth, observability into how all experiments impact important metrics, and easier comprehension of results from other teams (not to mention the time saved for individuals who would otherwise maintain their own pipelines!). On the flip side, teams had originally developed their own methodologies and processes for a reason — they were tailored for their unique needs.</p><p>At The New York Times, most product experiments use our internal experimentation platform, ABRA, which is short for A/B Reporting and Allocation architecture. Here’s a look at an <a href="https://open.nytimes.com/abra-an-enterprise-framework-for-experimentation-at-the-times-57f8931449cd">early version</a>. A lot has changed since those days, and we want to share some of the things we’ve learned on our standardization journey. While we use other types of experimentation, such as <a href="https://open.nytimes.com/how-the-new-york-times-is-experimenting-with-recommendation-algorithms-562f78624d26">contextual multi-armed bandits</a>, this article is focused specifically around the ways we’ve improved our A/B testing processes.</p><h3>Experimentation requires good data and equally good metric governance.</h3><p>As we all know, experiment results are only as trustworthy as the underlying metrics. A/B testing depends on the availability of high-quality metrics to analyze, and you cannot underestimate the importance of having a proper structure in place to manage these metrics.</p><p>We should anticipate that metric definitions are ever-evolving as our understanding of user behavior and business needs change. Thus, metric data and definitions should live <em>outside</em> of the experimentation platform. In ABRA, we have a clear delineation of responsibility for the data sources that feed ABRA’s Stats Engine (more on this in the next section): The platform team manages the exposure and assignment data and experiment configuration information, and analysts on other teams manage their metric data and definitions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/0*hsVDWBEpbYpQMFss" /><figcaption>High-level schematic of how data source maintenance responsibilities are split between the experimentation platform and the product teams that use it</figcaption></figure><p>We set things up this way because it is crucial that the people who use these metrics on a day-to-day basis — for reporting, experimentation, modeling and other analytics — are the same ones who are responsible for creating, updating and deprecating them. Whether you are building or buying your Stats Engine, the individuals who use the experimentation metrics should be involved in their governance to help ensure they stay accurate and useful.</p><p>ABRA uses both enterprise metrics (think subscriber and revenue metrics), which are provided top-down from our central Enterprise Analytics team, as well as team metrics, which are provided by analysts on individual product teams. This dual-tiered structure ensures that enterprise metrics are defined consistently across all teams, while giving individual teams the freedom to add metrics specific to their domain.</p><h3>When it comes to statistical tests, start with the basics.</h3><p>While there are many more advanced techniques to explore, we found that we already began to feel the benefits of standardization once we had the basics down. This included conducting daily <a href="https://en.wikipedia.org/wiki/Welch%27s_t-test">t-tests</a> to estimate the difference in means between variants, and generating the point estimate, confidence interval, p-value, and the minimum detectable effect (<a href="https://blog.twitter.com/engineering/en_us/a/2016/power-minimal-detectable-effect-and-bucket-size-estimation-in-ab-tests">MDE</a>). At this point, teams that have their metrics hooked up to the platform have somewhere they can go to get automated results for their experiments, saving them from building their own.</p><p>Providing standardized reporting can be a catalyst for adopting best practices, but there is a significant cultural aspect to standardization as well. Consistent training, collaboration, and ongoing discussions with teams are essential to changing the way both technical and non-technical people think about experimentation. For example, if a team wasn’t consistently calculating confidence intervals or MDE before, the new results make it possible to quantify uncertainty in a way that was previously much more difficult. This needs to be paired with educating individuals on how to interpret these values, training analysts to conduct <a href="https://en.wikipedia.org/wiki/Power_of_a_test">power analyses</a> ahead of time, and changing stakeholders’ expectations to anticipate (and even insist on) seeing these values when presented with experiment results.</p><p>A lot has been written about ensuring data quality, including checking for <a href="https://en.wikipedia.org/wiki/Sample_ratio_mismatch">sample ratio mismatch</a> and capping <a href="https://exp-platform.com/Documents/2014%20experimentersRulesOfThumb.pdf">skewed metrics</a>. I want to expand on a couple more calculations that are particularly relevant at The Times:</p><p><strong>Scaled impact</strong></p><p>An increase of +1 page view per week per user can mean different things, depending on the population we’re experimenting on (e.g., all readers vs. international readers). Scaled impact is a useful way to present results when you want to compare experiments on different populations. It represents the estimated global increase we would have seen during the experiment if the treatment variant had been given to 100% of users, compared to if the control variant had been given to 100% of users.</p><p>To calculate scaled impact, you first start with the absolute difference in means between the treatment and control variants:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/110/0*CI1p9sDw1fliBNKW" /></figure><p>You then scale this up by the estimated number of users who were eligible for the experiment. This can be done by multiplying by the number of users exposed to the experiment <em>n</em>, and then dividing by the percent of users allocated to the experiment <em>a</em> (e.g., if you ran an experiment with a 20% control variant and a 20% treatment variant, <em>a</em> would be 40%):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/168/0*oijHYPMjQhfUkjTi" /></figure><p><strong>Calculating impact on log-in rate</strong></p><p>When a user is logged in, their activity is associated with their user ID. However, they can also have activity that is not tied to a user ID. For example, visiting the home page and playing Wordle can both be done without logging in or creating an account.</p><p>For these behaviors that can be done either while logged-out or logged-in, just looking at the impact on the metric itself may not tell the whole story. If a treatment variant increases (or decreases) users’ likelihood of logging in, they can end up with more (or less) of their activity associated with their user ID, even if their total activity didn’t change. When we see a statistically significant change in the log-in rate metric, this tells us that the results for these metrics may not be reliable, and we should not interpret them.</p><h3>Provide paved paths for off-platform analyses.</h3><p>Even with a robust experimentation platform, there will always be situations that require ad hoc analyses. In these cases, providing lightweight tooling or methodology guidelines can help teams move forward with a common approach. Here are some of the practices we use at The New York Times outside of ABRA:</p><p><strong>Analyzing ad hoc metrics</strong></p><p>Sometimes, the metrics that analysts need to examine are not in ABRA when they run the experiment. To make it easier to calculate the impact on these metrics after the fact, we have a Python notebook tool that approximates the calculations in ABRA’s Stats Engine. While Analysts need to provide their metrics manually, they can be confident that they’re using the agreed upon analysis methodology.</p><p><strong>Quantile metrics</strong></p><p>In addition to means, teams are often interested in quantile aggregations to measure <a href="https://developers.google.com/search/docs/appearance/core-web-vitals">Core Web Vitals</a> (e.g., 90th percentile First Input Delay). To support quantile metrics, we have a separate pipeline that uses a <a href="https://en.wikipedia.org/wiki/Bootstrapping_(statistics)">bootstrapping</a> technique to construct confidence intervals, which teams can use to check their experiments’ impact on Core Web Vitals. (Shoutout to The Times’s Ads Analytics team for building and scaling this resource!)</p><p><strong>Non-inferiority testing</strong></p><p>Not every experiment aims to improve metrics; sometimes, we just want to know that they aren’t degraded. In such cases, conducting a <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3019319/">non-inferiority test</a>, which tests whether the treatment is not worse than the control by at least some margin, can be more appropriate. Although ABRA was originally built for superiority testing, we have guidelines for adapting workflows to accommodate the non-inferiority approach. For example, even though the calculated p-value may not be relevant in this context, analysts can still rely on the confidence interval and assess whether the lower bound is greater than non-inferiority margin.</p><p>Eventually, some of these ad hoc tools might find their way onto the platform’s roadmap. Others might not. The key is to stay close to the practitioners on the ground, so that you develop a deep understanding of the common problems they face. Whether you are building or buying an experimentation platform, this will help you provide your analysts with the tooling and guidelines they need.</p><p>Experimentation is a core part of how we drive innovation here at the Times. There is still a lot of exploration to be done to standardize experimentation on all fronts, but we have learned some useful tips along the way. We’ve found establishing proper metric governance, prioritizing a short list of methodology essentials, and addressing some analysis needs off-platform to be important ingredients to success. We hope this sparks some ideas for your own experimentation journey!</p><p><em>Thank you to The Times’s Visualization and Experimentation team for their work on ABRA, the Ads Analytics team for pioneering early standardization work, the Analysts on the Experimentation work stream for helping develop analysis guidelines, and Kentaro Kaji and Mariam Melikadze for reviewing this post.</em></p><p><em>Kathy Yang is the director of Experimentation in the Data and Insights Group at The New York Times, where she works on developing experimentation methodologies, tooling and culture. Outside of work, Kathy enjoys yoga, traveling and reading.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c6d32db0281" width="1" height="1" alt=""><hr><p><a href="https://open.nytimes.com/milestones-on-our-journey-to-standardize-experimentation-at-the-new-york-times-2c6d32db0281">Milestones on our Journey to Standardize Experimentation at The New York Times</a> was originally published in <a href="https://open.nytimes.com/">NYT Open</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>