<?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 Ethan Nusbaum on Medium]]></title>
        <description><![CDATA[Stories by Ethan Nusbaum on Medium]]></description>
        <link>https://medium.com/@ethan.nusbaum?source=rss-a1610584aacb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8A-450nW711KHb6AS3DmHQ.jpeg</url>
            <title>Stories by Ethan Nusbaum on Medium</title>
            <link>https://medium.com/@ethan.nusbaum?source=rss-a1610584aacb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 14 Nov 2026 21:50:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ethan.nusbaum/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/B Testing, A Practitioner’s Guide]]></title>
            <link>https://medium.com/@ethan.nusbaum/a-b-testing-a-practitioners-guide-3708ae59fd67?source=rss-a1610584aacb------2</link>
            <guid isPermaLink="false">https://medium.com/p/3708ae59fd67</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[r]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[ab-testing]]></category>
            <category><![CDATA[product-management]]></category>
            <dc:creator><![CDATA[Ethan Nusbaum]]></dc:creator>
            <pubDate>Wed, 23 May 2018 16:50:54 GMT</pubDate>
            <atom:updated>2018-05-23T16:50:54.965Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*X7C50BpA6TsQXolAMA8Hcw.png" /></figure><p>A/B Testing has been established as one of the best, if not the only, way to make unbiased product decisions and is an important tool to understand if you will be assuming a product management role. But how does this technique work and why is it so important?</p><h3>Correlation vs. Causation</h3><p>The first topic we need to tackle is correlation vs. causation. One of the most comical examples of this is pirates and global warming.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*PWfDk-bzLGi3UsXjMgEofQ.jpeg" /><figcaption><a href="http://bama.ua.edu/">http://bama.ua.edu/</a></figcaption></figure><p>We can clearly see that as the number of pirates has decreased global temperatures have increased, but has global temperature increased because of a lack of pirates? Obviously not! Simply put, correlation is a measure of how related two variables are. The number of pirates in the world and global temperature are obviously correlated, but one does not have any influence on the other.</p><p>For a more real-world example, let’s assume that you redesign an advertisement for your website and notice a 5% increase in your conversion rate from this new ad. Just because your ad changed and your conversion rate went up 5% does not mean that your new ad caused this increase! In order to prove causation we need 3 things:</p><ol><li><strong>Correlation</strong></li><li><strong>Temporal Antecedence</strong></li><li><strong>No Extraneous Variables</strong></li></ol><p>In the above example we definitely have correlation, we have temporal antecedence (the ad redesign came before the 5% conversion rate increase), but we are unsure if there are any extraneous variables. Without controlling for all other factors we cannot be sure that our redesign is the only thing that contributed to the conversion rate increase. So how do we fix this? That’s where A/B testing comes in. The idea is to choose a subset of our total user base that is statistically similar to our total population of users and expose them to our new redesign (our treatment group), while the rest of our user base keeps seeing our original ad design (our control group). By doing this, the idea is that any extraneous variables will be constant across our control and treatment groups and are therefore eliminated in our analysis.</p><h3><strong>Sample Size Selection</strong></h3><p>The next logical question to ask ourselves is how many people do we need to test this on? Without going too deep into the weeds we will use the central limit theorem to make the assumption that if we take numerous samples from our population we have a normal distribution of means of those samples. This allows us to simplify the sample size calculation based on two factors, the power we wish to use and the significance level we want for our test.</p><p>Power can be thought of as correctly concluding that our treatment has an effect when it actually has an effect whereas significance level is the probability of concluding our treatment has an effect when it actually does not have an effect. Obviously we want a low significance level and a high power, but there is a trade-off between these two variables. Often people use a significance level of 5% and a power of 80%, but these numbers can and should be revised based on your needs. Once we have determined these values we must finally determine what the minimum detectable difference is between our test and control groups that we want to accept. In other words, what is the smallest amount of change, in our conversion rate for this example, that we will say is significant. After we have all of this we can plug into a fairly simple formula:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/1*v2CvpoXdZzdbLYsD9tnOsA.jpeg" /></figure><p>In this formula σ is the standard deviation of our sample, 1-β is the power, and α is the significance level. For a much more detailed description of power, significance, and the interplay between the two see this <a href="https://vwo.com/blog/how-to-calculate-ab-test-sample-size/">great post</a>.<em> </em>The Z values can be obtained from a standard normal table or your favorite program. If we use a power of 80% and a significance of 5% they end up being about 0.845 and 1.96, respectively.</p><h3><strong>Run and Interpret Results in R</strong></h3><p>Okay, so we understand why A/B testing is important, and we now know how to determine how large of a sample size we need to run our test, but <strong>how do we actually run the test?</strong></p><p>For this example we are going to assume we have an e-commerce site and we’re interested in how two different advertisements affect our average conversion rate. Let’s say we have data on 10,000 customers who have seen impressions for our site but only 20% of them actually click on those advertisements. Finally, we assume that we want to detect a minimum of 5% change in conversion rate. Luckily there is a function in R that lets us calculate the needed sample size given these proportions.</p><pre>power.prop.test(p1 = .2, p2 = .25, power = 0.8, alternative = &#39;two.sided&#39;)</pre><pre>## Two-sample comparison of proportions power calculation<br>## n = 1093.739<br>## p1 = 0.2<br>## p2 = 0.25<br>## sig.level = 0.05<br>## power = 0.8<br>## alternative = two.sided<br>## NOTE: n is number in *each* group</pre><p>So we will need 1,094 customers in our control and test groups. Great! Let’s generate some data.</p><p>First, generate two columns of data. The first will denote whether the user is part of the control or treatment group and the second will be the number of impressions this user has seen. For this A/B test we’ll assume that the only data we have is the number of impressions a user sees and whether they click on the ad or not. As long as we ensure that our treatment and control groups have the same average number of impressions we can safely assume that we have eliminated any extraneous variables. In reality you would want to randomize your control and treatment groups across devices, impressions, and other variables you would have access to in order to eliminate any doubts as to the effect of your new advertisement.</p><p>The code, <a href="https://github.com/enusbaum325/ab-medium">available on my GitHub</a>, will generate the data. Here we assume a Poisson distribution for impressions with a mean of 7 across our 10,000 users. We then randomly choose 1094 users for our control set and another 1094 for our treatment set. We perform a t-test to ensure that the control and treatment sets have the same mean number of impressions. This is a proxy for our elimination of extraneous variables.</p><pre>t.test(impressions~treatment, data = AB.test.data)</pre><pre>## Welch Two Sample t-test</pre><pre>## data:  impressions by treatment<br>## t = 0.047934, df = 2185.1, p-value = 0.9618<br>## alternative hypothesis:true difference in means is not equal to 0<br>## 95 percent confidence interval:<br>## -0.2188938  0.2298628<br>## sample estimates:<br>## mean in group 0 mean in group 1<br>## 7.033821        7.028336<br></pre><p>Looking at the density plot and the p-value of out t-test we can safely say that these two groups are similar in terms of impressions and this will be a valid A/B test.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*M9qAiXSO7NNNi92_7bqA6w.png" /></figure><p>The next step is to “run” the experiment. In reality you would observe the usage behavior of these two groups over an extended period of time and analyze the results. In this case we’ll just simulate the results with a conversion column. We simulate a 20% conversion rate for our control group and a 28% conversion rate for our treatment group (a little above our initial 5% minimum effect size). Now we could do a simple t-test to determine that the conversion rate is in fact higher for our treatment group, but often we will have more complex data. In that case we’ll want to understand the impact of the new advertisement. We can do a simple logistic regression and look at the output.</p><pre>model.1 &lt;- glm(conversion ~ as.factor(treatment), family = binomial(link = &quot;logit&quot;), data = AB.test.data)<br>summary(model.1)</pre><p>We’ll look at only the coefficients of our model for a minute:</p><pre>## Coefficients:<br>##                       Estimate  Std. Error z value Pr(&gt;|z|)<br>## (Intercept)           -1.38515    0.07556 -18.332  &lt; 2e-16 ***<br>## as.factor(treatment)1  0.44377    0.10118   4.386 1.15e-05 ***</pre><p>We can see that our treatment variable is significant given the low p-value, and that the coefficient is positive, meaning that users exposed to our new ad were more likely to click on the ad.</p><p>This does not necessarily tell the whole story though. Another thing that is worth exploring is how impactful this new ad is compared to our old ad as a function of number of exposures. We’ll create another model where we look at the interaction of total exposures and our treatment group:</p><pre>model.2 &lt;- glm(conversion ~ impressions + impressions:as.factor(treatment), family = binomial(link = &quot;logit&quot;), data = AB.test.data)<br>summary(model.2)</pre><p>Again, looking at the coefficients of this model:</p><pre>## Coefficients:<br>##                                Estimate Std.Error zvalue Pr(&gt;|z|)<br>## (Intercept)                      -4.29770 0.20000 -21.488 &lt;2e-16 <br>## impressions                       0.37547 0.02436  15.413  &lt;2e-16 <br>## impressions:as.factor(treatment)1 0.06912 0.01331   5.194 2.1e-07 </pre><p>We see that all coefficients are again significant. Our main effect variable tells us that a higher number of impressions contributes to a higher likelihood of conversion, and our new interaction variable tells us that our new ad contributes to a higher likelihood of conversion among those who see more impressions. This is good news! With this model we can simulate the likelihood of customers clicking our ad with a given number of exposures, a much more powerful model than our original.</p><h3><strong>Conclusions</strong></h3><p>A/B Testing helps us to determine if changes we have made are contributing to the changes we may be seeing in our customer’s behaviors. It is an important topic to master as a product manager. We’ve run through a quick and simple example here, but the methodology can be applied to much more complicated A/B tests in the real-world. For the full R-code please visit my <a href="https://github.com/enusbaum325/ab-medium">GitHub</a> page and let me know if you have any questions or comments!</p><p><strong><em>About the author</em></strong></p><p><a href="https://www.linkedin.com/in/ethannusbaum/"><em>Ethan Nusbaum</em></a><em> is a former Product Design Engineer and MBA passionate about utilizing data to make informed product decisions. He is expanding his data and product management knowledge daily and welcomes any advice or feedback.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3708ae59fd67" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is The Blockchain Overhyped?]]></title>
            <link>https://medium.com/@ethan.nusbaum/is-the-blockchain-overhyped-2d33cac41a91?source=rss-a1610584aacb------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d33cac41a91</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Ethan Nusbaum]]></dc:creator>
            <pubDate>Tue, 23 Jan 2018 09:44:30 GMT</pubDate>
            <atom:updated>2018-01-23T09:44:30.047Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*eGcsdGGriL9cLOZhJo7ljw.jpeg" /><figcaption>Source: <a href="http://ericsammons.com/what-is-the-blockchain/">Eric Sammons</a></figcaption></figure><p>On December 21, 2017 the Long Island Iced Tea Corp. rebranded itself as the Long Blockchain Corp. announcing that, while it would still be producing Long Island Iced Tea, it would also shift strategies and begin looking into potential partnerships, investments, and acquisitions in blockchain based companies. <strong>Their stock shot up as much as 500%</strong> in premarket trading.</p><p>On January 9, 2018 Kodak, who emerged from bankruptcy in 2013, <a href="https://www.kodak.com/US/en/corp/Press_center/KODAK_and_WENN_Digital_Partner_to_Launch_Major_Blockchain_Initiative_and_Cryptocurrency/default.htm">announced</a> that it would release KodakCoin, a new cryptocurrency “to empower photographers and agencies to take greater control in image rights management.” <strong>Their stock closed the next day over 200% higher.</strong></p><p>It seems companies may have found a way to bolster their stock prices but are these gains warranted and sustainable? Can a beverage company successfully pivot into blockchain partnerships that will return value to shareholders? Will a camera company that is <a href="https://www.forbes.com/sites/chunkamui/2012/01/18/how-kodak-failed/#2490f0c56f27">known</a> for completely missing the digital transformation be able to successfully capitalize on blockchain technology, or does the term blockchain entice investors who are afraid they might be missing out on the next possible Bitcoin investment?</p><p>If you are thinking about whether you should be implementing blockchain technology into your business, it’s first important to have a decent understanding of what blockchain technology actually is. We can then start to see how this new technology might be used in different industries, and if it will truly change the world as many people claim, or if it merely has specific niche uses as others propose.</p><h3><strong>So What Is Blockchain?</strong></h3><p>There are tons of <a href="http://www.michaelnielsen.org/ddi/how-the-bitcoin-protocol-actually-works/">articles</a> available online that will go through all of the <a href="http://www.doc.ic.ac.uk/~ma7614/topics_website/tech.html">technical details</a> on how different blockchains work and delve into the <a href="https://blockgeeks.com/guides/cryptocurrencies-cryptography/">cryptography</a> being used on these different blockchains. Let’s just start with a very high-level explanation though. One of the simplest explanations I’ve heard for blockchain is to imagine an auditorium filled with people. Every person has a ledger where they record every transaction that takes place for a specified asset. Lets for a second assume that the asset here is Bitcoin. Say I want to transfer 5 Bitcoin to John Smith. I would get up on the stage and announce that Ethan Nusbaum is transferring 5 Bitcoin to John Smith. Everyone in the auditorium would check their individual ledgers to confirm that I have 5 Bitcoin to my name, and once that was agreed upon, everyone would record the transaction, reducing my account by 5 Bitcoin and increasing John Smith’s account by 5 Bitcoin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-h7gy4I0MRneG-iNqjXl8g.jpeg" /><figcaption>Image source: <a href="https://due.com/blog/blockchain-can-lower-holiday-theft-losses-business/">Kayla Sloan</a></figcaption></figure><blockquote>This example beautifully conveys a few of the things about blockchain that people really like. You will often hear people claim that blockchain is <em>decentralized</em>, <em>persistent</em>, <em>auditable</em>, and <em>anonymous</em>, but what does that really mean?</blockquote><p>In our auditorium we have a <em>decentralized</em> database of transactions. All of the ledgers contain a copy of every transaction, so no individual ledger could be stolen and manipulated. In other words, hacking our Bitcoin account records would be nearly impossible. This is often also referred to as a “trustless” system, because we do not need to trust any central authority in this transaction or even the person we are completing the transaction with. The <em>persistence</em> of blockchain technology refers to the fact that past transactions cannot be changed. Blockchain is append only — only new transactions can be added to our ledgers. Also, since every ledger has a copy of every transaction in history, we have a blockchain that is easily auditable. Finally, while in our example I stood on a stage and announced I was transferring Bitcoin to John Smith, in reality all accounts are anonymous, so while we can confirm that one account has enough to transfer to another, we do not actually know who owns which accounts. For a much more in-depth and technical discussion of how all of this works please watch this excellent <a href="https://www.youtube.com/watch?v=_160oMzblY8&amp;feature=youtu.be">video</a>.</p><blockquote>In short, blockchain removes many of the frictions in the transactional space by eliminating the need for a central, trusted authority, and having complete auditability and persistent records. We should be able to start to see how this could be very advantageous in many industries.</blockquote><h3><strong>Where Can Blockchain Be Used?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*U5yNP0OJEAQjMaLXZDXfjA.jpeg" /><figcaption>Source: IBM</figcaption></figure><p>As we’ve seen, people are trying to use blockchain almost everywhere. There are a few sectors however where we have seen more obvious advantages and I believe this technology will be extremely disruptive.</p><p><em>Finance</em></p><p>We don’t need to look far to see blockchain technology already being used by big banks. Many including J.P. Morgan with <a href="https://www.jpmorgan.com/global/Quorum">Quorum</a> and <a href="https://www.ft.com/content/615b3bd8-97a9-11e7-a652-cde3f882dd7b">Barclays and UBS</a> are exploring how to incorporate blockchain technology into their services. Perhaps my favorite application right now though is <a href="https://ripple.com/">Ripple</a>. Anyone that has ever tried to wire money internationally already knows how burdensome and expensive this process is. Wiring money often takes 3–5 business days and there are high fees associated with these transactions. By reducing frictions in this process, Ripple claims they can cut fees by 60% and wire money almost instantaneously (<a href="https://ripple.com/files/ripple_solutions_guide.pdf">source</a>). The implications for people here could be huge, especially for migrant workers trying to send money back to their families but continually paying these high fees. This is truly a democratizing technology.</p><p><em>Identity</em></p><p>Blockchain technology could be used to help keep a verified, persistent proof of your identity. A startup in Austin I recently had the opportunity to speak with, <a href="https://www.seriesx.net/">SeriesX</a>, is working on just this. By having this blockchain based employment and education history, you will be able to apply to jobs quicker and more easily while employers will be able to reduce their hiring costs and have a certified record of candidates past experiences. Possibly an even more revolutionary use of this technology could be in the voting sector. Within the US we seem to face a problem with voter registration every election. Voter suppression is a constant debate as law makers try to juggle voter fraud and voter suppression. With a blockchain verification of identity, however, there would be no way for voter fraud to persist. With the auditability of blockchain we could be sure that only people allowed to vote actually voted and with the distributed ledger platform there would be no way for votes to be miscounted. <a href="https://followmyvote.com/">Follow My Vote</a> is currently working on a solution here and it will be interesting to see what happens. Just this week, the Canadian government <a href="https://globalnews.ca/news/3977745/ethereum-blockchain-canada-nrc/">announced</a> that it would run a trial using blockchain technology to enhance transparency in government funding. More transparency in politics is, in my opinion, always a good idea.</p><p><em>Real Estate</em></p><p>I recently had the opportunity to speak with Abhi Dobhal, VP of Business Development at <a href="https://www.factom.com/">Factom</a>. I was fascinated to hear about some of the projects that Factom had worked on in the past including one with the government of <a href="https://in.reuters.com/article/usa-honduras-technology/honduras-to-build-land-title-registry-using-bitcoin-technology-idINKBN0O01V720150515">Honduras</a>. In Honduras, the records of land titles are not very sophisticatedly maintained and there are often disputes over who owns which parcels of land. The idea was to create a blockchain to maintain these land title records and eliminate any susceptibility to fraud. While the project ultimately fell through, other companies including <a href="https://www.ubitquity.io/web/index.html">Ubitquity</a> are currently working on similar solutions. The idea is that these services once again reduce transaction costs, saving customers money, while also creating trusted and verified records of land titles.</p><p><em>Supply Chain and Logistics</em></p><p>Traceability is a problem that all logistics companies deal with. Season 2 of <em>The Wire</em> shows a Baltimore port where containers often go missing. While this is a TV show and obviously embellished, the logistics industry is plagued with missing packages and bureaucratic paperwork. How do they cut down on “lost” packages, find that missing customs form, or trace back the origin of tainted food? Blockchain technology can help with that. The auditability and persistence of the technology can help find the origin and stopping point of every shipment, and with a decentralized ledger we eliminate the possibility of a central system crash or tampering. This is exactly what <a href="https://www.nytimes.com/2017/03/04/business/dealbook/blockchain-ibm-bitcoin.html">Maersk and IBM</a> are working on.</p><h3><strong>So What’s Next?</strong></h3><p>I hope now you have a better understanding of what Blockchain technology is and some of the potential use cases outside of just cryptocurrencies and finance.</p><blockquote>I truly believe that it is a revolutionary technology that will drastically change multiple industries, but I don’t believe that it is for everyone.</blockquote><p>If decentralization, auditability, and persistence can truly help you decrease your transaction costs and provide a better customer experience, then blockchain technology is definitely something you should explore. If you’re simply trying to capitalize on the buzz around the technology and are struggling to see how this could enhance your product and experience, I strongly believe you should not be trying to shoehorn a blockchain in.</p><p>The next few years in this space will be extremely interesting and I believe we will see a lot of innovation, but also a lot of poor use cases as people try to ride an emerging wave that they don’t quite understand or need. It’s the internet 2.0, strap in and enjoy the ride!</p><p><strong><em>About the author</em></strong></p><p><a href="https://www.linkedin.com/in/ethannusbaum/"><em>Ethan Nusbaum</em></a><em> is a former Product Design Engineer and current MBA student at the University of Texas at Austin. He is actively looking to get involved with projects within this space.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d33cac41a91" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>