<?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 Juraj Pálka on Medium]]></title>
        <description><![CDATA[Stories by Juraj Pálka on Medium]]></description>
        <link>https://medium.com/@juri-pp?source=rss-f03243264ef8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ACItcEIa9FcWOzzR_kxbVg.jpeg</url>
            <title>Stories by Juraj Pálka on Medium</title>
            <link>https://medium.com/@juri-pp?source=rss-f03243264ef8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 02:24:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@juri-pp/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[How to make a decision in uncertainty?]]></title>
            <link>https://juri-pp.medium.com/how-to-make-a-decision-in-uncertainty-5bc64436c651?source=rss-f03243264ef8------2</link>
            <guid isPermaLink="false">https://medium.com/p/5bc64436c651</guid>
            <category><![CDATA[core-values]]></category>
            <category><![CDATA[uncertainty]]></category>
            <category><![CDATA[decisions]]></category>
            <dc:creator><![CDATA[Juraj Pálka]]></dc:creator>
            <pubDate>Sat, 10 Apr 2021 17:34:30 GMT</pubDate>
            <atom:updated>2021-04-13T07:23:09.812Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UbXfXMDz45QtBBVtg6adjw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@korpa?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Jr Korpa</a> on <a href="https://unsplash.com/s/photos/abstract?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>It is difficult to make the right decision. Even more difficult in a fast-changing world with countless opportunities growing exponentially.</p><p>There comes a time in each person’s life when everything seems uncertain. Undecided what we should do next, undetermined where we are going, uncertain what we think about something, and often unsure about who we are and what we want.</p><p>Every time we reach such a point, we somehow get through it. But every time we doubt anything around us and inside us, we should ask ourselves, what can we do in this situation? How can we figure out what to do and be okay with it once we do it?</p><p>Let’s break this dilemma into smaller parts. What does the uncertainty problem consist of? Decisions. A decision here, a little decision there. If we don’t know what to do in minor things, it will build up.</p><p>What should we listen to in order to decide? Emotions? Rational thinking? Gut feeling? Toss a coin (to your witcher) and be done with it?</p><p>Before I try to answer the questions, I’d like to differentiate between emotions and gut feeling. For me, gut feeling is an inner subconscious feeling that doing something feels right to us. We don’t know why, but one option just feels right. It is the feeling when we just know what to do next. If that is the case, then we are not talking about a decision dilemma. If we know what to do, there is no problem with choosing.</p><p>I will not be talking about immediate decisions done under stress, anger, overconfidence, etc. as those are not uncertainty dilemmas. Those are subconscious reactions to what is happening around us at the moment. As a rule of thumb, try to avoid those. Get calm, slow down and let’s use our rational brains in such situations. If we do that, I guarantee we will have fewer things to regret.</p><blockquote>What I mean by a decision based on emotions would be one driven by our fears and expectations. Usually, it is deciding for the easier path. The one where we don’t see that many dangers. The one which fulfills our secret desire we are not willing to admit even to ourselves. A decision based on emotion assumes too much and is linked to what we would like to feel or avoid feeling.</blockquote><p>Such a decision usually ends up in our naive pursue of making our original expectations happen. If they don’t we are unhappy. We don’t have what we thought we would. Or they get us to a place we didn’t want to be, but we are there because it was easier. In such a case, we are not happy because we are not doing what we would like to be doing. Of course, the naive assumption of moving to a different city because of a girl you have a crush on can end up in a “they lived happily ever after”, but come on, what is the chance of that?</p><p>What is even worse about such decisions, is their nature of being linked to our emotions. If we are doing something based on emotion, we tend to be rooted deeper as if we decided based on rational reason. This means, if the decision turns out to be wrong, we are ready to suffer longer. We stick to it just because we are proud individuals protecting our childish egos. We consider our feelings more private and admitting to ourselves that our feelings were misplaced or naive is much more difficult than admitting that we did not calculate something correctly.</p><p>Emotional decision-making comes with a cost. It is based on our inbuilt thinking patterns and reactions. It is based on all the stereotypes and prejudices we collected from our environment over the years. It is linked to our personal comfort and perception of safety. It is our reactive mechanism to protect us from risks and dangers. It boxes us into behavior we already know. It expresses itself depending on our personality. If we don’t like change, it prevents us from trying anything new. It makes us protective. It closes us to new ideas. If we like change, it will drive us from place to place. It tells us to leave a problem instead of solving it, to get away from commitments and responsibility. It seeks what we have always sought.</p><p>Emotions are not a solid and reliable basis for doing the right thing when we are uncertain. Decision-making based on a feeling is a lottery, it either works, or it doesn’t.</p><p>With emotions out of the way, would rationality get us out of the fog of uncertainty?</p><p>Reason tells us to slow down first. It tells the neuron on the path to trigger an immediate reaction to stop. To take a detour through the thinking part of our brain. This detour allows us to filter out emotions. It gives us a chance to look at the facts. It wants us to break the problem into smaller parts. Look at it from other perspectives than our own. It guides us to study the problem, ask additional questions, and figure it all out. It shines in figuring out how to do something better. It allows us to predict, to first look where we leap. But it also takes a lot of joy and ease from our lives.</p><blockquote>Rational thinking takes us away from living our lives and instead it gives us what-ifs.</blockquote><p>When we try to use rationality at everything, we often end up indecisive. There are so many things to take into consideration, so many more questions that need answers before we can decide. So many more decisions to make. Pros and cons for every choice. Reason wants us to do the logical decision, but it rarely gives us a clear answer. Our inner self can talk us into anything and also find excuses for anything. Rationality can prefer one option, then reconsider. Once it does, it starts doubting the reconsideration. It gives us too much stuff to think about. Sometimes it will give us a clear answer, other times it will get us more stuck than just choosing one and be done with it.</p><p>How does reason choose between a fulfilling job far away from family or a better-paid job closer to it? What about a run with our best friend and finishing the project which might give us a promotion? Who would be the rational choice to be our partner? Can we rationally figure it out? Should we?</p><p>Usually, when we face multiple options, we find rational arguments for and against all possibilities. In each option, there is something we feel good about and something we don’t. Neither emotions nor rational thinking helps. What else do we have at our disposal to help us do the right choice?</p><p>If we don’t want to get stuck in a never-ending what-if cycle and then doubt the choice we made, we need a way that would give us clarity and feel right. We need a way to figure out what the fuck we want to do.</p><p>Deciding is in its nature a state of uncertainty. If it wasn’t there would be nothing to decide. Every decision we make changes what we do and who we are. Moving to a new city, quitting our job, committing to a relationship, being nice to someone rude to us, cooking instead of eating out, playing games instead of studying. Each decision and repeating these decisions shapes who we are. Our characters are built by our choices.</p><blockquote>This means, knowing how to decide is very close to knowing who we want to be. We need to know what is important to us, we need to know what our core values are.</blockquote><p>Core values represent what we believe is right. The maxims from philosophy, quotes from people we admire. A piece of wisdom or idea we agree with. Core values represent our consciousness. Core values should not be a mirror of our current selves. We are flawed. We make mistakes all the time. Which is okay. Core values should reflect who we would like to be if we didn’t mess it up. If we did what we thought was right, not what we were comfortable with doing. Core values are our ideals, our perceptions of us if we were always doing what we believe in.</p><p>If we reach a point where our rationality cannot decide one way or the other we take a step back. We relax and we think about who will we become if we decide for one, or for the other. What would such choice tell the world about who we are? We try to imagine where the choice would lead us as persons. What kind of sacrifice does each option represent? Then, we start to read our core values one by one. We think and observe. Which option rings more bells with our desired self?</p><p>We are what we do and thus, if we are not sure of what to do next, we should do what a person we want to be, would do.</p><p>When I faced a complex decision between two great job opportunities, both awesome in their own regard, I could not decide which one is better. The question which helped me decide was: “What kind of a man will I be if I take this choice?”</p><blockquote>Once I changed the problem from a matter of rational arguments to a matter of values, it was easy to know, what I wanted.</blockquote><p>We can feel a decision based on our core values is right. It is similar to the gut feeling but it has the rationality behind it. With a gut feeling, we don’t know why it feels right. With core values, we do. We know why one option is more us than the other.</p><p>Deciding based on our core values helps us to overcome the struggle of doubting ourselves. If we decide based on our values, our consciousness is satisfied. If the decision we have made turns out to be not beneficial to us, we still have the feeling of having done the right thing. Why? Because we did what we believed was right at the moment we did it. Doing the right thing doesn’t feel so bad even if it doesn’t turn out to be the success we wanted.</p><p>Doing what we think is right doesn’t sound that hard, does it? In fact, it is. It is difficult to suppress emotions or rationality and figure out what would be the right thing to do. It is even harder when stakes are high. Becoming a better person is hard, staying the same flawed person we are, is much easier.</p><h4>Fight to be the person you wish to be</h4><p>Feeling motivated and not knowing where to start?</p><p>Open a doc and write down the values you believe in. Write down quotes you like. Write down ideas. Try to put together generic ones. The maxims. Don’t worry if you forget something or put in something which will not last. It isn’t a one-time job. Putting together our values and beliefs is an ongoing all-life process. Just come up with a draft, in time you will cross some stuff out, add some stuff in, use other words to say the same. It doesn’t matter. What matters is realizing what you believe is right. What kind of behavior you would love to have. Put together any sentences that describe the best you, you can imagine.</p><p>Once you are done with the first draft. Go through it. Think about every sentence you’ve put down. When have you acted by the specific value and when have you acted against it? Try to understand yourself. Figure out when you are not who you would like to be. It is ok to make mistakes. Yet it is crucial to learn from them.</p><p>Once you have some idea of when you are behaving and when you aren’t, you have the next goal. Try to think about your values next time you are not sure about what to do. When you face a choice, open your values list. Read through it one by one.</p><p>If thinking from your core values becomes your practice, then you continue heading them with action.</p><blockquote>Say yes to things that are aligned with your core values. Say no to things that are against your core values.</blockquote><p>It is not only about things and decisions. It is also about people.</p><p>Say yes to relationships that come out from your core values. Say yes to people who share the same core values. Build new friendships with people who are in their core most similar to your values. If you do, you soon realize, you have fewer arguments with people around you as most of them see the important things similarly.</p><p>Do you lack honesty in your life? Do you value honest people who are true to their words? Then be such a person yourself. Mind your words and only say what you truly believe and support at any time. Don’t tell things nicer nor uglier than they are, tell them exactly as they are. If you bring honesty to your every thought, word and act, you will make honesty a habit. The habit will forge your character. The more you focus on telling the truth to yourself, the more clearly you identify dishonesty around you. If you are an honest person, your relationships with dishonest people deteriorate. Once you make honesty part of your character, you will not choose dishonest people to be a part of your life.</p><p>The more we build our lives around the core values, the more satisfied with it we are. Because how can’t we be satisfied with a life that is in full harmony with what we find important?</p><p>If despite that we are not happy, then we are probably missing something within our core values. Or we just do not live in full accordance with them as we should be.</p><p>Core values are not static and unchangeable. We learn new things, we experience new things. Our character grows and so should our core values. If we stop believing that something is right, we should replace it with something we do believe in. If we find out something misses in our core values, we should add it. Core values should undergo evolution: Only the ones that fit there at every moment of our lives should stay there. The rest should let be.</p><h4>A little summary on how to decide when stuck.</h4><p>If emotions are flowing within us, calm down before we decide. Step back, take your time, breathe in, breathe out.</p><p>Once the emotions are out of the table, turn to reason.</p><p>Get the facts together, ask yourself relevant questions.</p><p>Get objective, think about the consequences, evaluate.</p><p>Try to gain another point of view, re-evaluate.</p><p>If still stuck, get to your core values. Choose the option which feels most like your ideal you.</p><p>Let your core values evolve with time.</p><blockquote>Mind your integrity and don’t allow anything to destroy it.</blockquote><p>In case you are looking for inspiration, here is <a href="https://docs.google.com/document/d/1Mm7DNIDtbiU4wPKjSAkPcehJ2pdL_nLdFpilfldwYcU/edit?usp=sharing">a draft of my core values</a>. I kept the doc open for comments, feel free to do so!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5bc64436c651" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fooled by the numbers. The Simpson’s paradox.]]></title>
            <link>https://medium.com/analytics-vidhya/fooled-by-the-numbers-the-simpsons-paradox-e703c93d29c4?source=rss-f03243264ef8------2</link>
            <guid isPermaLink="false">https://medium.com/p/e703c93d29c4</guid>
            <category><![CDATA[manipulation]]></category>
            <category><![CDATA[interpretation]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[paradox]]></category>
            <dc:creator><![CDATA[Juraj Pálka]]></dc:creator>
            <pubDate>Wed, 29 Apr 2020 17:11:45 GMT</pubDate>
            <atom:updated>2020-05-01T17:42:34.952Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*96o4hgTHI-GWL3fhFR4Xew.jpeg" /><figcaption><a href="https://www.pexels.com/photo/closeup-of-mirror-shards-1098991/">Image by Amber Lamoreaux</a></figcaption></figure><p>People love absolutes. A thing is either black or white. Not both. Definitely not a rainbow. That is very difficult to measure properly and thus impossible to manage.</p><p>In my job as a data analyst I am often asked for a simple total number. An aggregate. A single metric to rule them all. In the domain of web analytics, this single number is usually the conversion rate. How many people who visited my web have done as I wanted them to?</p><p>On our fake website we have launched two themes, one featuring the magic of Harry Potter and the other the force of Star Wars. We asked our visitors which version they like more. As we had a very junior developer for our web, we couldn’t run an A/B test. As a result, we just launched Harry Potter for a week and Star Wars the next week.</p><blockquote><strong><em>Hint:</em></strong><em> Do not test in such manner on your web.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/1*ZQEKduvyD6_VVQkjiHJ2yA.png" /><figcaption>The results are statistically significant.</figcaption></figure><p>Harry Potter’s magic beats the force users. Even the power of the dark side can’t save the designer of the Star Wars theme. Let’s just implement the Harry Potter theme.</p><p>Not so soon.</p><p>There was some public holidays during the time we tested Star Wars theme and more people were visiting the web from mobile devices instead of PCs. When we look on mobile only results we observe the following.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*uY8K0Wp46qkU6R4hJv8_fQ.png" /><figcaption>The result is statistically significant.</figcaption></figure><p>Seems like Star Wars is winning on mobile.</p><p>So if the overall result is in favour of Harry Potter yet on mobile it is in favour of Star Wars, that means Harry Potter must have won hard on PC right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*T8MheRIQlgHQqNwoNUqVjw.png" /><figcaption>The result is statistically significant.</figcaption></figure><p>Star Wars wins. “What dark magic is this?” asks Harry.</p><p>How can Star Wars be better in both cases yet worse overall?</p><p>This is called <strong>the Simpson’s paradox.</strong></p><h3>Definition</h3><p><strong>Simpson’s paradox</strong> is a phenomenon in probability and statistics, in which a trend appears in several different groups of data but disappears or reverses when these groups are combined.</p><p><strong>A lurking variable</strong> is a variable that influences both the dependent variable and independent variable, causing a spurious association. Confounding is a causal concept, and as such, cannot be described in terms of correlations or associations.</p><pre><em>We are evaluating the performance of our web based on the conversion rate. However, the conversion rate is impacted by the type of device the user has. The data show that in week when Star Wars was tested more users chose mobile to visit our web which influenced both the visits and the conversion rate. In this example the device is the lurking variable.</em></pre><h3>How to deal with the Simpson’s paradox?</h3><p>As there are many ways of making sure you don’t fall victim to the trap of the Simpson’s paradox, I have decided to simplify it into three direct actions.</p><ol><li>Question the aggregated data.</li></ol><p>Try to think whether multiple groups exist where the effects of the tested “thing” vary.</p><pre><em>The conversion rate varies greatly between PC and mobile. The device of the user is in causal relation with the conversion rate. It is lower on mobile than on the PC.</em></pre><blockquote><strong><em>Action:</em></strong><em> Break down the total data into smaller groups. Validate whether the result is observed in the sub-groups as well.</em></blockquote><p>2. Get as much context of the data as possible. Data without context should be read as an attempt to manipulate.</p><pre><em>You marketed the design of the new theme for your web as a competition. The designer whose proposal is better gets paid. The other doesn&#39;t. The Harry Potter one knows that on public holidays more people visit on the PC where the conversion rate is higher. That is why he rushed his design to be completed and tested before the holidays start.</em></pre><blockquote><strong><em>Action:</em></strong><em> Question the data generation. Have we collected the data under similar conditions? Did we apply the same methodology in asking for feedback?</em></blockquote><p>3. Try to hunt down any potential lurking variables for your experiment. What factors influence the results that the data don’t show?</p><pre><em>We should have mapped all potential causes influencing the conversion rate. Device is one of them, time, demography of the visitors might play a role as well. Either test only on specific audience or evaluate the results for all sub-groups.</em></pre><blockquote><strong><em>Action: </em></strong><em>Put together a detailed causal diagram. Think about underlying groups in the data and their potential impacts on the result. Draw a map of what effects what.</em></blockquote><h3>Splitting the data into smaller groups seems like a solution for all the problems, so what might be the problems with it?</h3><p>In our little example we dealt with only two themes and only two devices. Imagine having 5 themes, 4 devices, 10 operating systems, 20 browsers and 30 languages etc. There is no limit to the number of categories you can split your data into. The more you split them, the smaller the sample size you get per each group. With small sample size your results might not be statistically significant and thus you cannot be sure whether there is a difference between the themes at all.</p><p>Another issue would lie in the decision phase. If you find out that each web browser has a different theme performing the best, would you invest into a personalised development of your web? Will you be designing and developing each new feature in a different theme? If you cannot afford personalised approach then you probably would aim for the theme which works best for the majority of your users anyways.</p><p>This gets us to the most important part — the decision.</p><h3>How should I decide if the overall trend does not match the trend in the sub-groups?</h3><p>You need to be aware of the causal relations within your data. You need to know what you want. There is no correct decision for all situations and all purposes. It all depends.</p><pre><em>If the goal is to apply the theme which will bring you more conversions, decide for the Star Wars theme. It performs better on both devices.</em></pre><pre><em>If you took a bet with a friend which design performed better and he will ask 20 random people who have seen the Star Wars theme and 20 random people who have seen the Harry Potter theme whether they liked it, choose the Harry Potter theme.</em></pre><p>To better clarify what I mean by knowing what you want, here is another example.</p><pre><em>If a political party tells you how they lowered all taxes compared to the previous government, beware. Maybe they are just misusing the Simpson&#39;s paradox for their own gains. </em></pre><pre><em>They lowered the tax for people with income below 1k EUR monthly to 5% to help the lowest income families. At the same time they lowered the tax for all other incomes to 20%.</em></pre><p>You are comparing two different time periods and in order to validate whether the government manipulates or not you need to decompose the data.</p><pre><em>Thanks to the overall economic growth some families could have moved from a lower income group to a higher income group. This means previously they have been paying 10% lowered to 5% and now they are in a group which used to pay 21% lowered to 20%.<br>The income group is the lurking variable in this case.</em></pre><p>This inter-group transition greatly affected the samples for each group and thus the effect.</p><pre><em>With the economic growth in place almost no people are below 1k EUR. This means that for many people the tax changed from previous 10% to 20%. In absolute values the government collects more in taxes than the previous government even though they lowered all the taxes.</em></pre><p>If your question was, whether the government lies with lowering all the taxes then the answer is it doesn’t. They lowered the taxes which is true, but the overall tax paid by the people has increased, which they didn’t say.</p><p>Is the lower tax better for you? If you stayed in the same group then yes it is. If you moved to a higher income group then to you it isn’t. You are paying more than previously.</p><blockquote><strong><em>Takeaway:</em></strong><em> Clarify the question you want to answer with the data. Identify what might be impacting the results and what needs to be taken into consideration (lurking variables). Split the data into relevant groups. Make sure you understand the methodology on how the data were collected and whether it is aligned with the interpretation.</em></blockquote><h3>Common lurking variables for Simpson’s paradox</h3><p>Gender, weekday, years, device type, operating system, price category, income level of the customer, purchased product type, severity of the case</p><h3>References</h3><p><a href="https://en.wikipedia.org/wiki/Simpson%27s_paradox">Wikipedia: Simpson’s paradox</a></p><p><a href="https://en.wikipedia.org/wiki/Confounding">Wikipedia: Confounding</a></p><p><a href="https://github.com/WillKoehrsen/Data-Analysis/blob/master/statistics/Simpson&#39;s%20Paradox.ipynb">Introduction Simpson’s Paradox — jupyter notebook examples</a></p><p><a href="https://towardsdatascience.com/simpsons-paradox-how-to-prove-two-opposite-arguments-using-one-dataset-1c9c917f5ff9">Simpsons paradox: how to prove two opposite arguments using one dataset</a></p><p><a href="https://flowcytometry.sysbio.med.harvard.edu/files/flowcytometryhms/files/herzenbergfacshistory.pdf">Gardner Martin: On the fabric of inductive logic, and some probability paradoxes</a></p><p><a href="https://en.wikipedia.org/wiki/Causal_model#Causal_diagram">Wikipedia: causal diagram</a></p><p><a href="https://www.jstor.org/stable/2284382?seq=1">On Simpson’s Paradox and the Sure-Thing Principle</a></p><p><a href="https://www.youtube.com/watch?v=ebEkn-BiW5k">Minute physics: Simpson’s paradox</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e703c93d29c4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/fooled-by-the-numbers-the-simpsons-paradox-e703c93d29c4">Fooled by the numbers. The Simpson’s paradox.</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A book which showed me how to change my opinions about the world.]]></title>
            <link>https://juri-pp.medium.com/a-book-which-showed-me-how-to-change-my-opinions-about-the-world-270752ee85b5?source=rss-f03243264ef8------2</link>
            <guid isPermaLink="false">https://medium.com/p/270752ee85b5</guid>
            <category><![CDATA[factfulness]]></category>
            <category><![CDATA[opinion]]></category>
            <category><![CDATA[book-review]]></category>
            <category><![CDATA[world]]></category>
            <dc:creator><![CDATA[Juraj Pálka]]></dc:creator>
            <pubDate>Sat, 25 Apr 2020 08:49:17 GMT</pubDate>
            <atom:updated>2020-04-25T08:49:17.172Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/710/0*Q_fiZWa3kX4AjjWh" /></figure><p>I love being proven wrong. It makes me realise there is still a lot I need to learn, especially in the way I am building my opinions. This book does just that — it helps you to revisit the way you create opinions.</p><p>Hans Rosling starts the book with 13 questions about the world checking your general knowledge. <em>What is the life expectancy of the world today? How many of the world’s 1-year old children today have been vaccinated against some disease? </em>With questions like these he proves many of us to be wrong about our image of the world.</p><p>With engaging story telling from first hand experience from his own life he describes how everyday life looks like in various countries throughout the world. Each chapter touches the way we think and how we create misconceptions about the world on specific real-life stories branching to global issues. What the author does best is link a single story to the bigger picture.</p><p>The key takeaways of the book for me are as follows:</p><ol><li><strong>Beware of the group comparison.</strong> <br>It is easy to fall prey into us vs. them or good vs. evil. This is most often wrong. Look for the entire distribution of data and assess where the majority lies.</li><li><strong>Good news is not news. </strong><br>Have you ever wondered why the world looks so negative in the media? Crime, death, violence, mistakes and tragedies rule the world of media. We love to be shocked and to read about the extremes. No one cares for the one guy who did not eat the undercooked bat and did not cause a global pandemic. Gradual improvements and positive impacts of applied safety measures are not praised.</li><li><strong>Knowledge of your past does not always predict the same future.</strong><br>From the turkey’s point of view the human is the all loving and all caring god. But only until the thanksgiving day comes. Because something works great for us for some time, it does not mean it will always be like that. If you enjoyed economic growth for your entire life it does not mean that a global recession does not await you behind the corner.</li><li><strong>Get calm before you carry on.</strong><br>Most of the decisions I regret doing in my life I did when I was angry or afraid. Try to assess the danger times exposure — what is the chance XY hits me and how much will it impact me. Collect as much information as possible and decide once you calm down. Don’t rush important decisions.</li><li><strong>Fooled by the shocking value.</strong><br>An elephant weights about 1.8 to 6 tons. What a heavy beast! However, it is about the weight of the whale’s tongue (about 3.6 tons). Don’t fall prey to huge numbers, always put it into proportion and compare it to something else.</li><li><strong>Being part of a group does not make you like the group.</strong><br>A famous quote from Alexander Solzhenitsyn: <br><em>“The line separating good and evil passes not through states, nor between classes, nor between political parties either — but right through every human heart — and through all human hearts. … And even within hearts overwhelmed by evil, one small bridgehead of good is retained.”</em></li><li><strong>Talk to the elderly.</strong><br>Small gradual improvements are easily neglected. Go and ask your grandparents about their childhood. You might be surprised what kind of toilet they used. Appreciate the progress done even though it is hard to be seen.</li><li><strong>Beware the simple.</strong><br>We live in a very complex world. Sometimes a complex problem requires a simple solution. That might be true in some cases, but sometimes a complex problem requires hundreds of experts and years of experience to be solved. If you are about to solve an unknown problem, bring the entire toolbox instead of a hammer. After understanding the problem you might need to change your approach to reach the solution.</li><li><strong>Understand causes and systems.<br></strong>It is easy to blame “the others” for your misfortune. It is easy to find an external villain who is responsible. However, it does not solve the problem, it just creates new ones. Instead look for the cause, be like a scientist. Don’t blame, rather do research. On the other hand, it is easy to find the hero. Don’t do that either. Instead, look for the system which creates the heroes.</li><li><strong>Take your time. <br></strong>If you ever fell prey to a limited discount you know how it feels if someone creates a sense of urgency for you to act. If you don’t do this now, you might not get a second chance. Realise that very few of your life decisions need to be done immediately. Things are often not as urgent as they seem. Take a breath, collect information, think about what you want. Always ask yourself a question. Will this have huge impact on my life? If yes, don’t rush to decide.</li></ol><p>Overall I enjoyed this book a lot and found it worthwhile to read. If you already know the lessons it teaches and you feel like you will not learn anything new, there is one more thing this book provides — optimism. Every chapter is filled with a fresh breath of how things are going well in the world yet keeps us alert and aware of the challenges we still need to tackle.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=270752ee85b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Don’t trust naked numbers]]></title>
            <link>https://juri-pp.medium.com/dont-trust-naked-numbers-201c78517010?source=rss-f03243264ef8------2</link>
            <guid isPermaLink="false">https://medium.com/p/201c78517010</guid>
            <category><![CDATA[misinformation]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[fake-news]]></category>
            <dc:creator><![CDATA[Juraj Pálka]]></dc:creator>
            <pubDate>Sun, 19 Apr 2020 12:59:58 GMT</pubDate>
            <atom:updated>2020-04-19T12:59:58.057Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kFan-ubxkAHKOk6b7Lx4nA.jpeg" /><figcaption>Image by Gerd Altmann from <a href="https://pixabay.com/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1103721">Pixabay</a></figcaption></figure><p>We are bombarded with data and numbers all the time. If you stick a number to it, it sounds more trustworthy — is a motto followed by many journalists when trying to support their “shocking” revelations and catchy headlines.</p><p>Here is a little discussion between a couple of friends after one of them has read the news on the new raging virus killing thousands of people.</p><p><em>A: “The news says 100 000 people died of the disease TROLL-15.”</em></p><p><em>B: “That’s pretty serious man.”</em></p><p><em>A: “Yeah, we need to do something about it immediately.</em></p><p><em>C: “Where did those people die? The whole world? (=0.001%). In Slovakia? (=1.8%)”</em></p><p><em>A: “In the European Union. (=0.022%)</em></p><p><em>C: “That’s nasty, but not that bad, we shouldn’t be worried then.</em></p><p><em>D: “When did those people die of this disease? Last year?”</em></p><p><em>A: “In the past two days.”</em></p><p><em>B, C, D: “F***!”</em></p><p><em>E: “How old were the people who died?”</em></p><p><em>A: “Every age group is affected, but seems like more older people are dying from it. Same with other diseases though.”</em></p><p><em>E: “S***. What about gender?”</em></p><p><em>A: “The victims are 80% men and 20% women.”</em></p><p><em>E: “At least the women are relatively safe.The men surviving would be lucky in the new world. Where is it spreading?”</em></p><p><em>A: “In Barcelona. It started during the football world’s championship finale.”</em></p><p><em>E: “So if it started in the football stadium where 90% of visitors were men. The fact more men have died of it doesn’t mean much.”</em></p><p><em>A: “It probably doesn’t.</em></p><p>We could continue with this fake story further, but you get the point. Every additional information puts the single number into a different perspective. Naked number on its own doesn’t tell you anything.</p><p>If you interpret the data without its context, you are on a good track to “lie with statistics”. Either you do it deliberately to manipulate others or you do it unintentionally due to laziness to understand all the details (ignorance of knowledge). Or you just want to prove your point really fast to someone and google the first result supporting your point. (very scientific indeed)</p><h4><strong>“Modern experts on everything”</strong></h4><p>A lot of people think that by reading 10+ media articles makes them experts on something.</p><p><em>“There are numbers and scientific research supporting the statements!”</em></p><p>Yes, a lot of people base their words on stuff they heard somewhere or read somewhere. The more numbers and the more scientists mentioned, the better. However, let’s take into consideration how the information is spreading.</p><p>A scientist conducts the research and writes a paper which is approved of by fellow scientists (the experts in the same domain). Then someone interested in it takes 5 of such papers and books and summarises the key takeaways in some easier to read format. He drops the methodology, drops the references. Changes the wording of “might be” into “is causing” etc. Then another person takes the info from 5 such articles and summarises it into a shocking article on the 5 huge reveals in medicine. After that, someone pulls a single bullet point from the already misinterpreted and simplified number and writes a Facebook status on people dying from a new disease. Lastly, someone summarises 10 such statuses into simple statement: vaccines kill our babies.</p><p>This is how fake experts emerge in our society. One problem is that they believe the misinterpreted information and the other one, they believe that they have found the ultimate truth supported by science.</p><h4>How to get out of this mess?</h4><p>Start small and start with yourself.</p><ol><li>Don’t settle with a single number: <em>“Thanks to our new government, we are producing 1 million cars per year.”</em> <strong>Compare the number with something to give it a meaning</strong>: <em>“Yeah, but the previous government was producing 995 000 a year while the economy was on lockdown due to TROLL-15 for 3 months.”</em></li><li><strong>Put things into perspective.</strong> “The Chinese eat 77.4 billion kg of meat in 2009 while the Americans only 36.8 billion kg of meat in 2009. Those Chinese are such animal killers.” However, China has a larger population than the US. When looking at per person meat consumption the Chinese eat 58.2 kg per person while the Americans 120.2 kg per person. Who is the murderer now?</li><li><strong>Divide the data into groups which impact the result</strong>. <em>“60% of the people died of TROLL-19 in Mordor but only 5% in Shire. What a poor disease management they have in Mordor.”</em> Actually, it was a disease killing mostly Orcs and only slightly affecting other species. No Orcs live in Shire and thus all the Orcs which were there on holiday and caught it died. From purely Orc perspective, 100% of Orcs died of the disease in Shire and only 60% in Mordor.</li><li><strong>Understand the origin of the data. </strong>What exactly does the number mean and how was it created? Be curious and ask questions. “95% of customers liked Central Perk restaurant while only 80% liked Jack Rabbit Slims restaurant.” The Central Perk restaurant asked 20 of their loyal customers to provide feedback while Jack Rabbit Slims restaurant has randomly selected 1000 customers to share their experience.</li></ol><p>Don’t trust naked data. Do your research, understand the context and don’t share your misinterpretations of the naked data online. You can kill someone without realising it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=201c78517010" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Insights — Data analytics done right]]></title>
            <link>https://juri-pp.medium.com/insights-data-analytics-done-right-271771ddaa2?source=rss-f03243264ef8------2</link>
            <guid isPermaLink="false">https://medium.com/p/271771ddaa2</guid>
            <category><![CDATA[reporting]]></category>
            <category><![CDATA[data-driven]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[data-analytics]]></category>
            <dc:creator><![CDATA[Juraj Pálka]]></dc:creator>
            <pubDate>Wed, 08 Apr 2020 19:20:09 GMT</pubDate>
            <atom:updated>2020-04-08T19:20:09.594Z</atom:updated>
            <content:encoded><![CDATA[<h3>Insights — Data analytics done right</h3><h3>What is the purpose of Data Analytics?</h3><p>Why are people obsessed with data? What makes data so important? The data is collected, cleaned, processed, analysed and interpreted in order to get insights. That sounds cool but what does it mean? Anything that helps us make the right decision can be considered an insight. It is the piece of information which influences our decision making process to do something in a way which will maximise the rewards of our decisions.</p><p>We look how many likes our photos on social media get, how many times our blog post is read, how much money we save each month. This is data. It provides us with insights: which photo should I pick for tinder to get a date, what topics should I focus my blog on, where can I save some money for that trip to Japan?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*0nEJa5x6IFHcVv3N" /></figure><p>When we apply that on a larger scale / company scale — the main purpose of data analytics is to provide insights to the decision makers so they can make the vision of the company happen. It doesn’t matter how catchy your company’s motto is, the main goal is to make profit. Whether that profit is invested in constant improvements of the quality of the product/service it makes, developing the country it operates it, solving global problems like climate change, giving money to charity, keeping high salaries of its employees or financing the yachts and villas of the top management — is irrelevant.</p><p>Does this mean that most of the data analyst work is focused on figuring out how to increase the profit? Yes, it does. Optimising the product, increasing customer experience, increasing the loyalty of customers etc. are all tools which in the end serve the purpose to increase the profit. So whether you investigate how to get better reviews, how to make your customers return — the purpose of the data analytics is to provide valuable insights to the decision makers.</p><h3>What do most of the data analyst positions look like?</h3><p>Every person who has worked with data knows what <em>reporting</em> means. Collecting, transforming, storing, cleaning, calculating and visualising are part of that. Whether it is done in Excel, Google Sheets, SQL, Power BI, Tableau, Google Analytics, Google Data Studio, Looker, Metabase… The tool and the process varies yet the “reporting” still means the same: someone wants to measure this and that in such and such a way with such and such breakdowns repeatedly. The fact that you have automated the entire process instead of employing people to do it regularly is great, but does this give the insights needed? Does it fulfil the purpose of Data Analytics?</p><p>If all you did is defined some metrics to track (KPIs, OKRs or other fancy name) and tasked your analytics department with creating processes and places to monitor them, then I have a really bad message for you:</p><p><em>“You might just have missed the entire purpose of data analytics and to make matters worse, you might have demotivated a lot of the people who now do their job to make some numbers green.“</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*YjjU7h7BYE-fgRtk" /></figure><p>You might have taken the joy from designers and developers who work in the company to make a great product for customers or to solve some great issue like find the cure for cancer or bring people to Mars into increasing the <em>“KPI 2.2.1: increase efficiency by 2% in Q3”</em>. The above mentioned approach is pure focus on data without the love for it. It’s like paying for sex, it might fulfil your need now, but won’t bring you joy as having sex with someone you love would.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*prArgUEkxs64wGgp" /></figure><p>To make the above approach even more nonsensical you need to understand the following: You can lie with any metric and you can easily get fooled by it. The world is not simple. People are not simple. Decisions are not based on a single number. Companies do not thrive just by meeting some objectives. There isn’t a metric which is good when high and bad when low. Increasing the click through rate without increasing the conversion rate does not help. Increasing the conversion rate and decreasing the profitability per transaction might not help. Increasing profit today at the cost of lower retention rate may kill your company next year.</p><p>There is just too much to think about and take into consideration when looking into the data. Ensuring high data quality is a must. Otherwise we have nothing to discuss. Crap in the data means crappy insights which might mean harmful decisions. Once your data is clear, you still haven’t won the fight for meaningful insights. There are countless biases in our brains which might lead to incorrect interpretation of the data and thus again to shitty insights. To name a few: the simpson’s paradox, survivorship bias, availability bias, confirmation bias, voluntary response bias and we can go on and on and on…</p><h3>What do fancy data analyst positions look like?</h3><p>There are a lot of people who understand data and understand the role they play. If such people are in the leading position in the company hierarchy, they give enough focus to making sure the data is in sufficient volume and quality available to data analysts. They prioritise the quality of the data over making random noise on how to be data driven and how to visualise data so powerpoint slides make some manager happy. Then they hire data scientists, people who understand data and understand statistics; the logical, exact and precise people who are able to avoid the thinking biases mentioned in the previous paragraph.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*9CSgdV4EqYrjLIDB" /></figure><p>The role of the data scientists is to make sure that what is done with the data makes sense. Whether we are talking about the interpretation of simple reporting metrics, the proper setup of an AB test on a website, building up a prediction model, creating customer segments or making buzzwords like machine learning bring higher profits, the main purpose of data scientists stays the same: make sure what is done with the data makes sense and brings relevant insights which the decision makers can trust.</p><p>I call this the fancy data analyst position yet in reality it is not that fancy. 95% of this work lies in cleaning data, changing company processes, explaining to people why 2+3=5 hundreds of times, testing, trying, failing, feeling misunderstood etc. Only the remaining 5% is implementing the model, showing beautiful visualisations and showcasing your superpowers and magic skills with data to people who probably have no idea what you are talking about but trust you anyways = fancy data analyst.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UmDYmPEhP8rurBsV" /></figure><h3>Do data analysts and fancy data analysts fulfil the purpose of data analytics? Do they bring valuable insights from data?</h3><p>They kinda do and kinda do not. It all depends on how their work is managed from the beginning. Here are some yes or no questions to help with the answer:</p><p><em>Is the expected outcome clear to the decision maker?</em></p><p><em>Do the decision makers know what and why they need from a data analyst?</em></p><p><em>Do they understand what the newly hired machine learning expert should bring to the table?</em></p><p><em>Is the company’s product even ready for including some data driven personalisation of the product?</em></p><p><em>Do people in marketing know how to use the customer segmentation / personas done by k-means clustering?</em></p><p><em>Are the digital product designers aware of what the behaviour of the users on the website means and how they should re-design the product?</em></p><p><em>Are the decision makers aware of how the data insights should be reflected to beat up the competition?</em></p><p>All these questions need to have answers and a plan before a data scientist is hired. When visiting blogs, meetups, conferences and talking to data analysts/scientists, I hear very often that their work is not being used or it is being used in an incorrect way. I often see people who love data and love what they are doing but end up demotivated with company processes and being misunderstood by stakeholders when presenting their work. Very often it is not the fault of the data people. Why? Because most of the time the companies have no clear understanding and expectations from the project they set the data person to do.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/0*daruiomXySipgT_I" /></figure><p>On the other hand, everyone wants some data yet has no idea how he/she wants to use them. A lot of the time people think they understand each other: the data person explaining what stuff means, the listener then interpreting it in a totally different way. The data world is complex, it is very precise, exact yet at the same time it is never “clear”. Most of the time the results are probabilities and most of the time no one really understands what probability means and how to make a decision based on it.</p><h3>How does a data analyst provide valuable insight?</h3><p>The data analyst must put his/her work into a larger context. The data analyst is the person who says: “NO, we should not be happy with Conversion Rate increase as we are starting to sell more of the low margin products and much less high margin products with the recent changes. We are also selling more of the cheaper products as the result of misleading advertising and people are not satisfied with that part of our product and do not return. Even though we are making more profit now, we started to lose loyal customers. In the long run it is not sustainable for our current company vision and will make us uncompetitive in a year or two.” Yet in the complex world we live in, this is still not enough.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*5DJwVyTOOst-e3Jt" /></figure><p>The data analyst must realise he/she is seeing only the quantitative part of the picture. More people visiting our page might not mean more people interested in our product. What if the purpose of the visit is to find contact details and call customer support? More people coming to the web thanks to a new marketing campaign leading to more purchases might not be a way to congratulate marketing people right away. What if the campaign set higher expectations for the customer which were not met? If the same customer did not come from the ad he/she might have been satisfied with the product. Yet he/she came from an ad promising a paradise and he/she got an okayish experience. In the end this made him consider the company as a shitty service and he/she will not purchase with the company again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*8oJpfiv1JjDaxInI" /></figure><p>What can be done about it? How can those raw data and numbers describing how something performed be transformed into insights then? By putting the data into context, by giving those data a meaning a real-world interpretation and context. How can that be achieved? By combining the quantitative world of a data analyst with the qualitative world of a UX researcher, a designer, a marketing specialist, a market researcher, a customer support employee etc. The data analyst should make sure that he/she can link the raw quantitative world into what the customer feels when using the product/service. It is not about how many times we log XY customer’s action. It is about understanding why and when log XY is triggered by a customer.</p><p><em>“A customer opening your website during his travels probably doesn’t care about the company increasing the pageviews by 4% month to month. The customer probably has an issue with your product and has a problem and is looking for a solution. It is not more pageviews as a result of more people wanting to leave their money with you. It is a customer who needs help and if you don’t understand it, you already have lost him/her.”</em></p><h3>How to make data analytics great again?</h3><ol><li>Understand the purpose of data analytics and make sure it is being met</li><li>Always focus on data quality, without clean data any investment into reporting/analytics is wasted money</li><li>Hire people who understand the data and avoid thinking biases. You don’t need people who tell you everything is great, look we have more pageviews and higher conversion rate.</li><li>Make sure you have clear expectations and you know how you will use the outcomes of the work data people are doing</li><li>If the data analyst doesn’t understand the relationships between multiple areas and departments of the company — make him/her understand it. The word analytics by itself points in the direction to be able to find relationships between stuff, that’s what the person needs to see and point out!</li><li>The data analyst should work in close cooperation with qualitative researchers like UX, design, market research and be aware of how customers perceive the product. Going through specific customer cases with the customer support might give a new context to the data he/she is analysing.</li><li>Only after all the above has been done, you should let the analyst show the insights to product managers, business people and other decision makers. Showing incorrect data to decision makers does more harm than good. When the insights brought by the analyst can be trusted, make him/her part of the decision making. Seeing how the decisions are done and how the people think makes sure the analyst knows what kind of insights are valuable for future projects.</li></ol><p>All the pictures shown in the article are from <a href="https://dilbert.com/">www.dilbert.com</a> by Scott Adams.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=271771ddaa2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>