<?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 Jared M. Maruskin, PhD on Medium]]></title>
        <description><![CDATA[Stories by Jared M. Maruskin, PhD on Medium]]></description>
        <link>https://medium.com/@dataneversleeps?source=rss-37ef2450ad04------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hJBAuIJm60TaVh0-JbXvlA.jpeg</url>
            <title>Stories by Jared M. Maruskin, PhD on Medium</title>
            <link>https://medium.com/@dataneversleeps?source=rss-37ef2450ad04------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 17:12:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dataneversleeps/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[A Tableau Calculus for the Analysis of Experiments]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/data-science/a-tableau-calculus-for-the-analysis-of-experiments-53655dd04eb8?source=rss-37ef2450ad04------2"><img src="https://cdn-images-1.medium.com/max/2600/0*VYRof66g1Y_pgM3p" width="3359"></a></p><p class="medium-feed-snippet">Unravelling the Fundamental Data Structure of Experimental Analysis</p><p class="medium-feed-link"><a href="https://medium.com/data-science/a-tableau-calculus-for-the-analysis-of-experiments-53655dd04eb8?source=rss-37ef2450ad04------2">Continue reading on TDS Archive »</a></p></div>]]></description>
            <link>https://medium.com/data-science/a-tableau-calculus-for-the-analysis-of-experiments-53655dd04eb8?source=rss-37ef2450ad04------2</link>
            <guid isPermaLink="false">https://medium.com/p/53655dd04eb8</guid>
            <category><![CDATA[experimentation]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[clustering]]></category>
            <category><![CDATA[deep-dives]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Jared M. Maruskin, PhD]]></dc:creator>
            <pubDate>Tue, 03 Oct 2023 00:59:38 GMT</pubDate>
            <atom:updated>2023-10-03T00:59:38.336Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Estimating Total Experimentation Impact]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/data-science/estimating-total-experimentation-impact-ab6cd56bffb?source=rss-37ef2450ad04------2"><img src="https://cdn-images-1.medium.com/max/2600/0*PsTSBWu7_-3yjc77" width="5742"></a></p><p class="medium-feed-snippet">How to control for false-discovery and selection biases when measuring your organization&#x2019;s total impact</p><p class="medium-feed-link"><a href="https://medium.com/data-science/estimating-total-experimentation-impact-ab6cd56bffb?source=rss-37ef2450ad04------2">Continue reading on TDS Archive »</a></p></div>]]></description>
            <link>https://medium.com/data-science/estimating-total-experimentation-impact-ab6cd56bffb?source=rss-37ef2450ad04------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab6cd56bffb</guid>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[experimentation-platform]]></category>
            <category><![CDATA[editors-pick]]></category>
            <category><![CDATA[experimentation]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Jared M. Maruskin, PhD]]></dc:creator>
            <pubDate>Wed, 20 Sep 2023 23:56:13 GMT</pubDate>
            <atom:updated>2023-09-22T03:40:24.317Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Proving No Effect]]></title>
            <link>https://dataneversleeps.medium.com/proving-no-effect-88d98dc51b78?source=rss-37ef2450ad04------2</link>
            <guid isPermaLink="false">https://medium.com/p/88d98dc51b78</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[hypothesis-testing]]></category>
            <category><![CDATA[statistical-power]]></category>
            <category><![CDATA[statistics]]></category>
            <dc:creator><![CDATA[Jared M. Maruskin, PhD]]></dc:creator>
            <pubDate>Tue, 15 Aug 2023 18:37:35 GMT</pubDate>
            <atom:updated>2023-08-18T18:26:38.774Z</atom:updated>
            <content:encoded><![CDATA[<h4>Duality of Power and Significance</h4><h4>Abstract</h4><p>The power of a hypothesis test is defined as the probability of rejecting the null hypothesis if there is indeed an effect with a certain minimum size <em>δ</em>. In this post, we discuss a complementary interpretation: if the test fails to reject the null hypothesis, power represents the confidence level with which we may reject the alternative hypothesis that there is an effect at least as large as <em>δ</em>. Conducting a high-powered test therefore allows us to “prove” the <em>fuzzy</em> null hypothesis that there is no effect up to size <em>δ</em>, with an equally high level of confidence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Lwl-dKBYLPNyKSxN" /><figcaption>Photo by <a href="https://unsplash.com/@britozour?utm_source=medium&amp;utm_medium=referral">Briana Tozour</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Introduction</h3><p>Accepting the null hypothesis does not allow one to infer that it is true; this is why some authors have favored the language <em>failing to reject</em> over the more affirmative-sounding <em>accept</em>. After all, one cannot reject the null hypothesis of the fairness of a coin with a single flip. So even if our single-flip experiment “accepts” its null, it clearly lends no validity to it.</p><p>But what if your goal is to actually show that there is no effect? There are numerous reasons why such a situation could arise:</p><ul><li>to satisfy yourself that your magician friend’s coin is fair;</li><li>to show that a product launch had no effect on a critical guardrail metric;</li><li>to show that an ads ranking release designed for privacy opt-in users has no unintentional effect on privacy opt-out users;</li><li>to show that there is no network effect; e.g., see <a href="https://www.kdd.org/kdd2017/papers/view/detecting-network-effects-randomizing-over-randomized-experiments">Saveski et al (2017)</a> [1].</li></ul><p>To goal of this article is to show how one can adjust power and significance to construct a test that proves the null hypothesis with a given confidence for a given precision.</p><h3>The null and alternative hypotheses</h3><p>To begin, let’s consider a standard null hypothesis <em>H₀: θ₀ ∈ Θ₀</em>. The alternative hypothesis is that <em>θ ∈ Θₐ = Θ₀ᶜ</em>.</p><p>When we talk about the power of our test, it is typically in the context of a <em>minimum detectable effect</em> (MDE) δ. So, in the context of power, we have to add a degree of <em>fuzziness </em>to our null hypothesis, which we also call its <em>precision</em>. In particular, define the δ-ball about our null-hypothesis space</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fmath.embed.fun%2Fembed%2F9P74n5EbQBex9hodxZkTD3&amp;display_name=Embed+Fun&amp;url=https%3A%2F%2Fmath.embed.fun%2Fembed%2F9P74n5EbQBex9hodxZkTD3&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=embed" width="200" height="96" frameborder="0" scrolling="no"><a href="https://medium.com/media/edffa6b4cee0145ff4e730754325407a/href">https://medium.com/media/edffa6b4cee0145ff4e730754325407a/href</a></iframe><p>for some distance metric <em>d</em>. So when we talk about the power for a MDE, we are really talking about the probability of catching θ in:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fmath.embed.fun%2Fembed%2FkidWcPcSmBnNNwXSEgW5fe&amp;display_name=Embed+Fun&amp;url=https%3A%2F%2Fmath.embed.fun%2FkidWcPcSmBnNNwXSEgW5fe&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=embed" width="299" height="96" frameborder="0" scrolling="no"><a href="https://medium.com/media/f704fc1d8bf9451dba268f9fb77a2646/href">https://medium.com/media/f704fc1d8bf9451dba268f9fb77a2646/href</a></iframe><h3>Constructing the dual hypothesis</h3><p>Given a standard hypothesis <em>H = (H₀, Hₐ) </em>, for a given MDE <em>δ</em>, we can thus construct a corresponding <em>dual hypothesis</em> <em>J = (J₀, Jₐ)</em>, as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WgSY6VMMtQ7KjiJ7ulgXcA.png" /><figcaption>A standard hypothesis H and its dual J for a given effect size.</figcaption></figure><p>We can use the same test statistic and rejection criterion for both hypotheses, except in complement: we reject <em>H₀</em> (an event we denote by <em>R</em>) exactly when we accept <em>J₀</em>, and vice versa. Now, the significance and power of the dual test are given by</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fmath.embed.fun%2Fembed%2FiMzLpnTDS38GGMxJ2WRvti&amp;display_name=Embed+Fun&amp;url=https%3A%2F%2Fmath.embed.fun%2Fembed%2FiMzLpnTDS38GGMxJ2WRvti&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=embed" width="200" height="160" frameborder="0" scrolling="no"><a href="https://medium.com/media/8796b87d6335824e0890cc2098c2c5c9/href">https://medium.com/media/8796b87d6335824e0890cc2098c2c5c9/href</a></iframe><p>So if we are setting out to show that there is no effect, for a given precision, with 95% confidence, we should therefore devise a standard experiment with a power level of 95% for that given effect. Then failing to reject the null hypothesis would actually warrant the accolade of <em>accepting it, </em>though, to be clear, we should probably say that we are rejecting the fuzzy alternative hypothesis.</p><h4>Example</h4><p>Consider a <em>Z-</em>test for a population mean, with null hypothesis <em>H₀: μ = 0</em> and test statistic</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fmath.embed.fun%2Fembed%2F4w6bQjLQfDVsQPNQfSgmzc&amp;display_name=Embed+Fun&amp;url=https%3A%2F%2Fmath.embed.fun%2Fembed%2F4w6bQjLQfDVsQPNQfSgmzc&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=embed" width="200" height="96" frameborder="0" scrolling="no"><a href="https://medium.com/media/265f15a0f10cc1ef3f01844b89f60c34/href">https://medium.com/media/265f15a0f10cc1ef3f01844b89f60c34/href</a></iframe><p>for population variance <em>σ²</em>, which we may set to <em>σ² = 1</em>.</p><p>In order to construct a size <em>α</em> test, we reject the null hypothesis whenever <em>|Z| ≥ Ψ⁻¹(α/2)</em>, where <em>Ψ</em> is the survival function of the standard normal distribution. To achieve a power level <em>β</em> for a minimum detectable effect <em>δ</em>, we require a sample size</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fmath.embed.fun%2Fembed%2FuxW6CdkPo8ShQvm6cJiUaB&amp;display_name=Embed+Fun&amp;url=https%3A%2F%2Fmath.embed.fun%2Fembed%2FuxW6CdkPo8ShQvm6cJiUaB&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=embed" width="251" height="147" frameborder="0" scrolling="no"><a href="https://medium.com/media/3b09e335e2ffc92fcc8be5197484ee04/href">https://medium.com/media/3b09e335e2ffc92fcc8be5197484ee04/href</a></iframe><p>Let us consider three cases:</p><p><em>α=0.05, β=0.80: Z_crit = 1.96, n=785</em></p><p><em>α=0.05, β=0.95: Z_crit = 1.96, n=1300</em></p><p><em>α=0.20, β=0.95: Z_crit = 1.28, n=856</em></p><p>The power function is shown in the figure below for each case (corresponding to the different values of α, which determines <em>Z_crit</em>, and sample size <em>n)</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yt4brEU9NnbCDn3DbSJ-bQ.png" /><figcaption>Power function for different levels of significance and sample size.</figcaption></figure><p>Notice that the <em>y</em>-intercept corresponds to the significance level <em>α</em>, and the intercept with the vertical line <em>δ=0.1</em> corresponds to the power level <em>β</em>. The dual null hypothesis <em>J₀: δ &gt; 0.1 </em>has a complementary power function (<em>1 — β(δ)</em>), such that the significance is the space between <em>β(δ)</em> and the line <em>β = 1 </em>and its power (for minimum effect <em>δ</em>) is the space between <em>β(0)</em> and the line <em>β=1.</em></p><p>In particular, a standard test with <em>α = 0.2 </em>and <em>β = 0.95 </em>at MDE <em>δ</em> has a dual test with a power of 80% and significance of 5%: If there is an effect (greater than <em>δ = 0.1</em>; i.e., if the dual null hypothesis is true), we will incorrectly accept the (standard) null hypothesis 5% of the time (the dual test has a 5% significance). If there is indeed no effect, we will correctly accept the null hypothesis 80% of the time (the dual test has an 80% power).</p><h3>Conclusion</h3><p>There is a duality between proving an effect and proving no effect, such that a standard test with significance level <em>α</em> and power level <em>β</em> corresponds to a dual test with significance <em>1 — β</em> and power <em>1 — α</em>. The power level is typically described as the probability of observing an effect if it is there. But this is equivalent to the probability that the null hypothesis is true, within a precision of <em>δ</em>, if an effect is not observed; i.e., it represents our <em>confidence level </em>in the (fuzzy) null hypothesis if no effect is observed. If we wish to prove that there is no effect, we should therefore construct a test that has enough power to reject the fuzzy alternative hypothesis with the desired level of confidence.</p><h4>References</h4><p>[1] M. Saveski, J. Pouget-Abadie, G. Saint-Jacques, W. Duan, S. Ghosh, Y. Xu, E.M. Airoldi, <a href="https://www.kdd.org/kdd2017/papers/view/detecting-network-effects-randomizing-over-randomized-experiments">Detecting Network Effects: Randomizing Over Randomized Experiments</a> (2017), KDD Research Paper, Halifax, NS, Canada.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88d98dc51b78" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>