<?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 Majanalytics on Medium]]></title>
        <description><![CDATA[Stories by Majanalytics on Medium]]></description>
        <link>https://medium.com/@majanalytics?source=rss-16bc7262df40------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XSIS25-y_nvKkL9XU1UKEA.png</url>
            <title>Stories by Majanalytics on Medium</title>
            <link>https://medium.com/@majanalytics?source=rss-16bc7262df40------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 19:57:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@majanalytics/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[The future of Majanalytics project in 2026]]></title>
            <link>https://majanalytics.medium.com/the-future-of-majanalytics-project-in-2026-a02a77fd36cf?source=rss-16bc7262df40------2</link>
            <guid isPermaLink="false">https://medium.com/p/a02a77fd36cf</guid>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[tableau]]></category>
            <category><![CDATA[storytelling]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[Majanalytics]]></dc:creator>
            <pubDate>Sun, 18 Jan 2026 13:16:23 GMT</pubDate>
            <atom:updated>2026-01-18T13:16:23.558Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to Majanalytics Medium blog. For more recent articles, please follow me on my <a href="https://substack.com/@majanalytics">Substack</a> and on this Medium profile.</p><p>I’ve been writing Medium and WordPress posts for almost 5 years now with some pauses in between, and it’s time for me to reflect and pose a new path for Majanalytics project in 2026.</p><figure><img alt="The official banner of Majanalytics, made by author" src="https://cdn-images-1.medium.com/max/804/1*ZnAqmk3mFB25atrwwYZjtA.png" /><figcaption>The official banner of Majanalytics, made by the author</figcaption></figure><h3>WHY DOES THE MAJANALYTICS PROJECT EXIST?</h3><p>To explain why the Majanalytics project exists, I would need to go back a bit in time and introduce myself and my background.</p><p>I’m Maja, the author and creator of <a href="http://www.majanalytics.com/">Majanalytics</a>, but also a data analyst with more than 5 years of experience working as a consultant with some of the major companies in Europe and worldwide, such as Fressnapf, RedBull, Salzgitter. I’m mostly working in e-commerce and consultancy sectors in digital marketing, CRO, and analytics parts. I have a Master’s degree in Entrepreurship (2019), and spent several years of my studying writing scientific and research papers.</p><p>When studying entrepreneurship in 2019, we had several analytical and statistical subjects/courses throughout my 5-year studies (BA + MA). Until then we were studying quantitative courses such as controlling and financial analysis etc., but for those subjects, we could easily find real-life examples in companies, and the majority of it was explainable. <strong>Now, when it comes to mathematics and statistics, that’s where the abstract started.</strong> Remember all those derivations and integrals at first, there was no way to deal with the abstract, and it was tough to find some tangible examples in the real-life world that we would, as 19-year-olds, understand. Well, it seemed at the end, we needed to turn on some logic thinking along the way, and understand the calculations. While studying, I went on and sharpened my analytics skills via my student jobs and writing research papers, which made it easier for me to understand some statistical concepts.</p><p><strong>But that wasn’t the case for some students or me one part of the time. The abstract was too much to handle sometimes, but there were versatile reasons for it:</strong></p><ol><li>the courses couldn’t be simplified enough</li><li>too complicated explanations from the professors or in the books</li><li>there weren’t too many resources that would explain the material in layman’s terms, especially our books which were too “official”.</li><li>people weren’t interested in it, and they didn’t see themselves in that area of work, which is also a legitimate reason.</li></ol><p>So how do you fix this situation? How do you make the materials more approachable, more written in layman’s terms, and understandable to an average student who has never encountered such words?</p><figure><img alt="A student with a question mark, made by DALL-E" src="https://cdn-images-1.medium.com/max/317/1*lyMg4U7FlLqpMNHIj0qKuA.png" /><figcaption>A student with a question mark, made by DALL-E</figcaption></figure><h3>MAJANALYTICS PROJECT — ARTICLES WRITTEN IN LAYMAN’S TERMS</h3><p>Because of those, above written reasons and problematics, I have decided that I want to create a project for a better understanding of statistics and analytics. Back in 2019, analytics didn’t take as much of the job market as it does today, and that gave the whole project even a bigger boost.</p><p>Back in college, I was writing research and science papers for 4 years, which meant reading a lot of other research papers and books that dealt with the same theme. I have read some statistics books published in America, and those kinds of books have a slightly different way of writing than books in Europe. It’s more “populistic”, aka written in layman’s terms, filled with real-life examples, so the material is easily understandable. Sadly we didn’t have those books available during our studies, instead, we used the locally published ones most of the time. Once you use Google and nowadays Chat-GPT, you can easily find research papers, names of books, and websites that can help you learn about any topic you want. But having too many options to choose from is also a different trap, but more about that later.</p><p>Throughout COVID time and until 2023, I was busy with getting job experience in big companies such as IBM and working fully on my skills in digital marketing and analytics. In 2024, I decided that it was time to make this project fully live, and started writing on <a href="https://medium.com/@majanalytics">Medium</a> in May 2024. A few weeks later, I created a <a href="https://majanalytics.com/">WordPress site</a> as well, to back up my articles here with a lot of additional resources such as cheat sheets, glossaries, and case studies. Below you can see one of the graphics I made for an article.</p><figure><img alt="8 steps of process of data decision making, made by author" src="https://cdn-images-1.medium.com/max/743/1*UsizQhtqhER1n-OSVp15og.png" /><figcaption>8 steps of the process of data decision-making, made by the author</figcaption></figure><h3>WHAT IS MAJANALYTICS ABOUT SO FAR?</h3><p>As said earlier, <strong>Majanalytics was created out of the need that presented itself in the lack of blogs and resources written in layman’s terms, words that everyone would understand — a senior professional or a junior just starting in the field.</strong> Because of the not-knowing juniors, I sometimes simplify it too much, but if it gets the point across, it’s good. There will be time for complexity later. After spending some time working/using specific technologies like <a href="https://developers.google.com/analytics">Google</a> and <a href="https://business.adobe.com/products/adobe-analytics.html">Adobe Analytics</a>, I have also decided to use this way to refresh my statistics knowledge and document it in a form of articles.</p><p>The topics that I was writing about at this moment were <strong>basic and advanced statistics</strong> such as descriptive and inferential statistics, linear regression, outliers, and much more. Since May 2024, I have written more than 15 articles, and a few weeks ago, <a href="https://medium.com/womenintechnology/cheese-butter-and-data-a-complete-r-data-analysis-guide-using-dutch-dairy-production-data-6b11f81ab3f8"><strong>some articles got boosted by the Medium curation team itself, because of the high-quality standard</strong></a>. I use examples from open portal government sites, Kaggle, and other sources, after I make sure that the data collection is being documented there as well.</p><p>When we talk about social media in 2026, I will be fully available on LinkedIn, Kaggle, Reddit, Wordpress, and Medium. Until now, my topics were divided into several lists, such as:</p><ul><li><a href="https://majanalytics.medium.com/list/b5eac7fbd209">Statistics Essentials</a></li><li><a href="https://majanalytics.medium.com/list/b69d814b6e10">Inside the R Studio</a></li><li><a href="https://majanalytics.medium.com/list/8dd4a210682f">Chartcraft</a></li><li><a href="https://majanalytics.medium.com/list/447cef1a763b">The Regression Roadmap</a></li><li><a href="https://majanalytics.medium.com/list/40bb35c504b0">Statistical Hypothesis Essentials</a></li></ul><p>As you can see, the topics that I wrote about are hypothesis testing, regression, how to create charts in R and Tableau, how to navigate in R(Studio), and most importantly — how to interpret basic statistics, so you can explain your reports and data to your stakeholders and team.</p><p>I’ve put a lot of focus on topics such as <a href="https://medium.com/womenintechnology/the-importance-of-skewness-and-kurtosis-in-statistical-analysis-examples-in-r-studio-9a0c842a4933">skewness</a>, <a href="https://medium.com/majanalytics/understanding-outliers-in-data-analysis-insights-from-r-40f15556eaeb">outliers</a>, <a href="https://medium.com/majanalytics/do-you-know-your-type-of-data-de9daa97f194">types of data</a>, and graphics, but there is a full list of topics not yet published. So let’s see what the personal plans for me and professional plans for Majanalytics are in 2026.</p><h3>PERSONAL PLANS FOR 2025 AND WHAT DOES THAT MEAN FOR MAJANALYTICS?</h3><p>At this point, I have a lot of topics and resources, as well as case studies in a backlog, ready to be published, but I’m also making sure that I update all my existing articles to be relevant. Outside of these, more theoretical topics, I will write more about Tableau, data storytelling, and specific case studies.</p><p>When it comes to personal plans, I’m deep into learning Tableau via Udemy classes, both beginner and advanced, so I will be able to expand my articles onto that part as well, starting in February 2026. The main focus will be on case studies and data storytelling.</p><p><strong>If you wish to follow my path in analytics and statistics and learn from it, feel free to visit my Medium profile (and subscribe to my </strong><a href="https://substack.com/@majanalytics"><strong>Substack</strong></a><strong>), where you can click on all relevant profiles on social media. If you wish to connect with me or hire me, feel free to contact me via LinkedIn or my e-mail address.</strong></p><p><a href="https://majanalytics.medium.com/about">About - Majanalytics - Medium</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a02a77fd36cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Digital Skills in Europe and Data Visualization — Telling Stories with Tableau]]></title>
            <link>https://code.likeagirl.io/digital-skills-in-europe-and-data-visualization-telling-stories-with-tableau-7dd01126da19?source=rss-16bc7262df40------2</link>
            <guid isPermaLink="false">https://medium.com/p/7dd01126da19</guid>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[tableau]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Majanalytics]]></dc:creator>
            <pubDate>Mon, 14 Apr 2025 14:16:04 GMT</pubDate>
            <atom:updated>2025-04-24T08:32:01.534Z</atom:updated>
            <content:encoded><![CDATA[<h3>Digital Skills in Europe and Data Visualization</h3><h4>Telling Stories with Tableau</h4><p><em>This blog post is part of a </em><strong><em>“Statistics Essentials”</em></strong><em> series of stories about the basics of statistics and its vocabulary. To read all the posts that are a part of it, </em><a href="https://medium.com/@majanalytics/list/statistics-essentials-b5eac7fbd209"><em>click here</em></a><em>. The list is frequently updated.</em></p><p><em>Originally meant for publishing on </em><a href="http://www.majanalytics.com/"><em>www.majanalytics.com</em></a><em> as a case study.</em></p><p>Tableau Public profile related to this article — <a href="https://public.tableau.com/app/profile/maja5534/vizzes">click here</a>.</p><h3>Introduction and background of digitalization</h3><p>We live in an age where the digital world and the skills connected to it can’t be avoided. Technology has made a big leap in the last 15–20 years, and the Internet has been with us for far longer than that. Whether you go to a store or a doctor, all databases are digitalized, and the systems are up and running (sometimes with a few hiccups).</p><p>The goals of this article are the following:</p><ol><li>present the digitalization process and digital skills in Europe</li><li>present recent research (from Eurostat) about digital skills in the EU</li><li>use publicly open datasets about digital skills, and use Tableau to present the data — used Tableau Public</li></ol><figure><img alt="This is photo 1. showing people using technologies, photo by Headway on Unsplash" src="https://cdn-images-1.medium.com/max/1024/0*lmpjD8DAhbtv0Gzb" /><figcaption>Photo 1. People using technologies, photo by <a href="https://unsplash.com/@headwayio?utm_source=medium&amp;utm_medium=referral">Headway</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>A few decades ago, when the systems were transitioning to the online/digital environment, you didn’t need to grasp new digital skills and have them in your CV, as they were new to everyone. Everyone was pioneering in their area of expertise. Of course, at the time being, a lot of people and companies were skeptical of implementing such an environment (it happens today as well, but in a much smaller scope) because it was new, they were afraid of the unknown, and probably didn’t have enough faith in their skills to manage the downfalls if and when they occur.</p><h4>Digital skills — what do they include?</h4><p>To talk about digital skills and comprehend their importance in this article, let’s first see what they include. According to <a href="https://europa.eu/europass/digitalskills/screen/home">Europass</a>, digital skills include the following competencies:</p><figure><img alt="Photo 2. Infographics about digital skills needed in 21st century, created by author using data from Europass" src="https://cdn-images-1.medium.com/max/1024/1*0vh-3R9UUIzaDC-iucKPdQ.png" /><figcaption>Photo 2. Infographics about digital skills needed in 21st century, created by author using data from <a href="https://europa.eu/europass/digitalskills/screen/home">Europass</a></figcaption></figure><p><em>If you would like to save this picture in PDF form, please </em><a href="https://majanalytics.com/cheat-sheets/"><em>click here</em></a><em> to download it under the name Digital skills.</em></p><p>As you can see, there is no particular, individually named skill that you need to tick the box for, but rather a set of skills behind using all the tools online. When you observe reality, it is visible that people have issues with data literacy (false news), online safety (protection of privacy), and digital content creation (respect of copyrights) — some places more than others, as it also highly depends on the environment and education level.</p><p>With so much <a href="https://www.edps.europa.eu/press-publications/publications/techsonar/fake-news-detection_en">AI content available and false news lately</a>, it is sometimes impossible to know which news and source of knowledge are the safest. That said, it is also tough to keep up with all the technology advancements nowadays and with improving your knowledge and awareness in the tools. You might know which AI to use for a task, but a lot of it still is not revealed what stands behind it, and what would be the best tool to serve yourself, your customer or your team members.</p><p>In the end, a lot of companies and individuals do not want to incorporate AI tools into <a href="https://www.upwork.com/resources/how-is-ai-used-in-business">their business</a> or upload documents online in such a tool because of the risks. On the other hand, a lot of people are using those kinds of tools too freely, especially in educating themselves.</p><p>Further on, let’s see how digitalization looks in versatile areas of work and how it was affected in some dire situations.</p><h4>Digitalization of the marketing world</h4><p>In the past, nobody believed much in the Internet. People loved their ways of working and didn’t really want to dabble into online work. People who did so were <a href="https://www.scienceandmediamuseum.org.uk/objects-and-stories/short-history-internet">pioneers of their age and area of expertise</a> and built the foundations of the Internet and online work as we know it today. Back then, nobody believed that news portals would replace physical newspapers, webshops to replace buying in physical stores, and ads to replace big billboards next to the highways.</p><p>You might think — <em>“but wait, I’m drinking my morning coffee, and my newspapers were just delivered. Oh, I spilled some coffee on my shirt. Great. Ah well, I planned to go to the nearby city to renew my clothing either way. I’m bound to see a billboard ad on the way there.”</em> You’re right — the online world and technology haven’t <strong>FULLY</strong> replaced offline. They became partners — they work and live together daily, supporting each other’s goals. Think about your purchasing process — most of the time, three situations happen:</p><ol><li>You go to a physical shop without checking discounts and availability online because you’re already in the area. An example might be you being in the mall and just going to visit all the shops at once. Buying at IKEA might be a good example here as well.</li><li>You go to a physical shop, but you have done your research online and compared several stores with their prices. Most of the time, that happens when you need to buy something really important — furniture, appliances, baby furniture… If something isn’t available in the store at that moment, it might be ordered online or delivered to your address, given that there are some showcase items available in the store.</li><li>You order everything completely online without the need to go to a store. Examples might be Amazon shopping, buying refills, or buying clothing.</li></ol><figure><img alt="Photo 3. A person shopping in the store, photo by charlesdeluvio on Unsplash" src="https://cdn-images-1.medium.com/max/1024/0*-07w-z5kAX5ZSdoz" /><figcaption>Photo 3. A person shopping in the store, photo by <a href="https://unsplash.com/@charlesdeluvio?utm_source=medium&amp;utm_medium=referral">charlesdeluvio</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Nowadays, we see digitalization in marketing and analytics in the forms of artificial intelligence (AI) and smart marketing systems such as <a href="https://www.salesforce.com/eu/marketing/data/what-is-a-customer-data-platform/">customer data platforms (CDP)</a> where reports and insights about your customers are being generated with one click. It only takes a person or a team with specific technical and general knowledge about marketing for such a report to make sense, such as a data or product analyst.</p><p>Such tools help out teams and individuals for their marketing goals and make the job easier, but it makes us think more about data privacy and how our data is being used. Some algorithms are known, and we know (or can assume where our data is going), but some of them are not. One of the recent changes that were made was in the old Google Analytics system vs. Google Analytics 4, which made cookie preferences and GDPR (among other processes that made an impact to it) much more different, and your data is much more securely, or more anonymously, collected and used. On the other side, it became more difficult for businesses to create meaningful and very personalized reports, campaigns without cookies and personalized data.</p><h4>Digitalization and purchasing habits during and after COVID-19</h4><p>For some time, during COVID-19, we went almost completely online, both socially and technologically speaking, and e-commerce thrived. Now, a few years after the pandemic, people are eager to step out in the sun and take a stroll in their favorite shops.</p><p>While e-commerce was thriving, the inventory of the shops was also thriving, which meant that after COVID measurements were loosened up and people returned to their shops, some of that inventory stayed unsold (the supply was going way up because there wasn’t any safety in saying how long the pandemic would last). After COVID-19, some of the purchasing habits stayed the same (in the sense that people are purchasing more online) because such an urgent situation and circumstances were a push that some people needed to trust the online environment and explore its opportunities. In other words, they got a push to improve their digital skills.</p><p>By doing so, using online webshops and other systems more, the digital skills of all age groups (had to) grew exponentially. Other than in purchase, change of habits was also seen in education and workplaces — schools went completely online with their courses and teachings, which made a lot of people invest more in their education, and people at work went into their home offices, using Teams and Slack to converse with their colleagues and perform jobs mostly online.</p><figure><img alt="Photo 4. Working online, photo by Bench Accounting on Unsplash" src="https://cdn-images-1.medium.com/max/1024/0*kp3YZFI_5DEmqWrj" /><figcaption>Photo 4. Working online, photo by <a href="https://unsplash.com/@benchaccounting?utm_source=medium&amp;utm_medium=referral">Bench Accounting</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Different than the COVID perspective, now it is definitely not expected for the whole communication on a daily basis between people to be online — people need and have sought offline communication and activities, as soon as the measurements were loosened up while keeping some of their habits such as home office, to boost their work-life balance.</p><h3>Digital skills and their importance</h3><p>As you can see from the introduction, being digitally and technologically proficient in 2025 isn’t a choice anymore but a necessity. Every day’s improvements in marketing, sales, technology, IT, and government systems are pushing us to adapt to new changes almost daily. To stay in the job market as employees, we have a tough job to keep up with if we want our expertise for our clients and customers to be relevant enough. Using new digital systems, marketing programs, and programming languages allows us to be the best partner to our client, customer, or team member, tackle all the company and team goals, and solve problems on the market that arise.</p><p>However, not everyone has the same level of digital skills or requires them. Digital skills differ greatly between age groups and countries because of their accessibility to digital systems and economic opportunities. As said earlier, skillsets might also differ because of education, exposure, and overall attitude toward technology. Having said that, it’s stereotypical to expect that younger people have been more in touch with technology than older people (65+) and keep up more efficiently. It might be that workers in IT would be more knowing about programming languages and small details of systems.</p><h4>Official numbers about digital skills in Europe</h4><p><em>This research and article focus mainly on the European state of digitalization and digital skills, therefore, I’m using the official numbers from Eurostat.</em></p><p>According to <a href="https://ec.europa.eu/eurostat/statistics-explained/index.php?title=Young_people_-_digital_world">Eurostat</a>, in 2023, 97% of young people used the internet daily, but if you include all age groups, that percentage goes down to 86%. When it comes to gender, females are in a better position than males (73% vs. 69%). During and after the pandemic, we have been witnesses to <strong>fake news, false information, and disinformation on all sorts of topics.</strong> It came mostly out of doubt, low knowledge, and uncertainty. It is up to us, the news consumers, to differentiate what is fake and what is genuine news, aka we need to verify the online information and not share news that we are not sure about. In 2023, only 36% of young people and 27% of all individuals in the EU have done that! A very small portion of internet users, and it is a question of whether people know how to differentiate the genuineness of news and content they find online. As we said, because of AI, it’s very hard to be sure.</p><p>Earlier, we also said that, in the pandemic, online work and education were very popular. Now, with everything normalizing and people returning to the offices, it seems that the percentage of people has been decreasing. According to <a href="https://ec.europa.eu/eurostat/statistics-explained/index.php?title=Young_people_-_digital_world">Eurostat</a>, in 2021, 35% of young people participated in an online course, whereas in 2023, that percentage went down to 23%.</p><h3>Digital skills in Europe — what do research numbers say?</h3><p>As stated in the beginning of this article, I would like to make it also more educational for R programming and show how to use the ggplot2 package for data visualization. Additionally, I will be using Tableau Public to present other data. The R programming code will come later, and this article will be updated.</p><h4>Details about datasets and analysis</h4><p><strong>Dataset names </strong>— you can approach datasets and download them on this <a href="https://ec.europa.eu/eurostat/web/digital-economy-and-society/database">link</a> (Eurostat).</p><p><strong>Period/time </strong>— extraction date in May 2024, planned update in May 2025 (valid for versatile years — some datasets are given each year, and some of them are only collected for one year)</p><p><strong>Changes made</strong> — no major changes done to the original datasets; only the names were added on the graphs, instead of the codes under which you download them (given names). Not all countries are included in some graphs here because we don’t have the data for that year, or the time series has been cut off. Only countries with full available and gathered data have been included on the graphics.</p><p><strong>Copyright of the data — CC BY 4.0</strong> (<a href="https://ec.europa.eu/eurostat/help/copyright-notice">https://ec.europa.eu/eurostat/help/copyright-notice</a>) — valid for the original datasets and the data in this article.</p><h4>Basic digital skills information</h4><p>In the digital skills datasets, there are a couple of variables that can represent the digital skills of individuals in each European country, and I would like to present them here to you. Earlier in the article, I mentioned a few pillars of digital skills, and the questions you can ask yourself to check if you have the needed skills to be online. The data available in the datasets does not give exact answers to those questions, but conclusions can be made based on the research. For starters, online purchasing has been one of the main ways of purchasing back in the COVID time, so I would compare the individual internet purchases (made in the last 3 months) between the years 2020 and 2024. The next three graphs represent the presence of individuals on the internet in various forms.</p><p>Graph 1. represents internet purchases made by individuals in the last 3 months of the survey in 2020 and 2024 (with the latter year being the sorting year). When comparing countries’ data in that (2024) year, we can see that around 90% of individuals in the Netherlands have made some kind of internet purchase in the last 3 months of surveying them, followed by Ireland and Denmark. The lowest percentage belongs to the countries such as Bulgaria and Montenegro.</p><p>When it comes to 2020 (COVID time), Denmark, the Netherlands, and Germany had the highest numbers (around 80%). Usually, if a country had a higher percentage in 2020, it would keep it in 2024 as well, but there are some countries such as Cyprus where we can see a low starting number, but then later in 2024, there was an increase.</p><figure><img alt="Graph 1. Internet purchases made by individuals, difference between 2020 and 2024 (sorted from largest to smallest in 2024, made by author using data from Eurostat)" src="https://cdn-images-1.medium.com/max/715/1*jS5odoDSVXk4jhr1bv1Vqw.png" /><figcaption>Graph 1. Internet purchases made by individuals, difference between 2020 and 2024 (sorted from largest to smallest in 2024, made by author using data from Eurostat)</figcaption></figure><p>Further on, let’s explore the frequency of internet use by individuals, shown in percentage. This time on graph 2, we are also comparing 2020 and 2024. Again, the Netherlands, Norway, and Denmark are first; around 99% of their individuals used the internet in 2024. The countries with the percentage around 85% are Croatia and Bulgaria. When viewing the difference between 2020 and 2024, most of the countries don’t deviate.</p><figure><img alt="Graph 2. Frequency of internet use by individuals, difference between 2020 and 2024 (sorted from largest to smallest in 2024, made by author, using Eurostat data)" src="https://cdn-images-1.medium.com/max/786/1*ZqfSe1WWqX06fBEMLQfchg.png" /><figcaption>Graph 2. Frequency of internet use by individuals, difference between 2020 and 2024 (sorted from largest to smallest in 2024, made by author, using Eurostat data)</figcaption></figure><p>When looking at the past data in the downloaded datasets, it is visible that some countries had a lower level of internet access, at least on the household level. Graph 3. shows the level of internet access between 2020 and 2024. Again, as assumed, the Netherlands is the first, but Luxembourg and Finland are following (with 99%), whereas countries such as Croatia and Greece have around 87% coverage. I assume it’s because both Croatia and Greece have some villages and mountain areas which are not covered by electricity, roads and internet access (mainly very old population which still lives in those areas and can’t be covered by the surveys).</p><figure><img alt="Graph 3. Households’ level of internet access (%), difference between 2020 and 2024 (sorted from largest to smallest in 2024)" src="https://cdn-images-1.medium.com/max/670/1*MrcWU1GRuGsiBAx7KT90Uw.png" /><figcaption>Graph 3. Households&#39; level of internet access (%), difference between 2020 and 2024 (sorted from largest to smallest in 2024, made by author, using data from Eurostat)</figcaption></figure><h4>Details about digital skills — Tableau dashboards</h4><p>These three graphs and variables were the most basic ones to show the whole EU picture about internet usage and coverage. In order to make a deeper analysis and not fully burden this article, I have decided to create an analysis in Tableau Public in the form of smaller dashboards so that you can see other, deeper parts of individuals&#39; digital skills.</p><p>Using Tableau, I have offered numbers, graphs, and explanations behind them for you to understand how individuals in Europe perceive privacy online, online purchases, using the internet for government and individual purposes, and much more. If you’re interested in details, please check the attached link in the beginning of the article.</p><h3>Conclusion</h3><p>As digitalization and digital skills continue to evolve on a daily basis, it’s clear that digital skills are no longer just “nice to have” — they’re essential for participating in modern society and work. From marketing and e-commerce to education and communication, every aspect of life has been touched by the digital ways of working.</p><p>The data presented in this article shows that while progress has been made, especially during and after the COVID-19 pandemic, differences still exist across age groups, countries, and socioeconomic backgrounds. It’s crucial for our everyday lives that we continue to promote digital literacy, not only to stay competitive in the workforce but also to deal with an increasingly complicated online world filled with information (and misinformation).</p><p>Through accessible education, responsible technology and digitalization use, and continuous learning about it, we can ensure that digital transformation benefits everyone — not just the digitally native or tech-savvy (as those might be in the minority in the world, if we would observe them as people who have the highest IT knowledge).</p><p>Additionally, with tools like Tableau (and later R Studio as well), we can also analyze and understand these trends better than ever, empowering individuals and organizations to make informed, data-driven decisions that are helpful to the whole society, clients, coworkers, and employees.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7dd01126da19" width="1" height="1" alt=""><hr><p><a href="https://code.likeagirl.io/digital-skills-in-europe-and-data-visualization-telling-stories-with-tableau-7dd01126da19">Digital Skills in Europe and Data Visualization — Telling Stories with Tableau</a> was originally published in <a href="https://code.likeagirl.io/">Code Like A Girl</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Nation in Numbers: The Dutch family changes in the modern era — a data analysis case study —…]]></title>
            <link>https://medium.com/womenintechnology/a-nation-in-numbers-the-dutch-family-changes-in-the-modern-era-a-data-analysis-case-study-1866f21b0bdf?source=rss-16bc7262df40------2</link>
            <guid isPermaLink="false">https://medium.com/p/1866f21b0bdf</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[case-study]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-analytics]]></category>
            <dc:creator><![CDATA[Majanalytics]]></dc:creator>
            <pubDate>Wed, 22 Jan 2025 10:06:29 GMT</pubDate>
            <atom:updated>2025-03-18T13:03:51.466Z</atom:updated>
            <content:encoded><![CDATA[<h3>A Nation in Numbers: The Dutch family changes in the modern era — a data analysis case study — part 1.</h3><p>Dutch family structures are evolving rapidly. This data-driven analysis uncovers key trends, societal changes, and the role of technology in shaping families.</p><p>In the last few years, individualism has become increasingly visible in all areas of life in the world. In the COVID years (2020–2021), gatherings, family life, and work situations have been severely impacted by different policies of the countries, family situations, deaths, and job loss. In the meantime, several industries, such as IT, have been hit <a href="https://www.forbes.com/sites/emilsayegh/2024/08/19/the-great-tech-reset-unpacking-the-layoff-surge-of-2024/">by layoffs and restructuring processes</a>. Before the pandemic, <a href="https://www.bls.gov/opub/btn/volume-13/remote-work-productivity.htm">remote work</a> was active, but not as much as during and after the pandemic.</p><p>All these factors have majorly impacted the individual and family life, especially if you look at it from the financial perspective. If a person has been laid off, or gotten severely sick over the years, non-individual life such as family life and budget will suffer, which at the end will have influence on family structure on a country level.</p><figure><img alt="Photo 1. Family gathering, photo by Ken S on Unsplash, showing a table full of plates for a family." src="https://cdn-images-1.medium.com/max/1024/0*HJhISNKMabdxOZoE" /><figcaption>Photo 1. Family gathering, photo by <a href="https://unsplash.com/@chum94555?utm_source=medium&amp;utm_medium=referral">Ken S</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In this article, I will perform a data analysis/case study of the household situation in the Netherlands, to check how the family structure and other factors changed in the last few years. <strong>The articles will be divided in 2 parts:</strong></p><p><strong>Part 1. — Health and reproduction rates<br>Part 2. — Households rates and possible forecast for The Netherlands</strong></p><h3>WORLD TRENDS — WHAT DO THEY IMPACT?</h3><p>Basic family structures and related structures that will be impacted by newly found situations on the (job) market and other changes are the following.</p><h4><strong>Individual households vs family households</strong></h4><p>With the newfound situation in the (job) market, new graduates are pouring in, along with employees who wish to change their industry or company. As it currently is, <a href="https://hbr.org/2024/07/4-tips-for-new-grads-struggling-to-find-a-job">juniors and people without enough experience don’t have many job opportunities for them</a>, because of the layoffs and budget cuts. That doesn’t mean that none of them gets the job. It’s also about how competitive their (future) area of expertise is, their student work experience, projects that they have been a part of, and extracurricular activities. Sometimes you get across that very well-known meme situation — a job ad where they search for a junior, with 5 years of experience working in the industry, and knowing 10 programming languages. Of course, in 99% of the cases that’s impossible to achieve.</p><figure><img alt="Photo 2. Looking for a job, photo by Andrew Neel on Unsplash, photo represents a laptop and a person looking for a job." src="https://cdn-images-1.medium.com/max/1024/0*lSdNP_yjtb9g9-6y" /><figcaption>Photo 2. Looking for a job, photo by <a href="https://unsplash.com/@andrewtneel?utm_source=medium&amp;utm_medium=referral">Andrew Neel</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>What happens if you can’t find work?</strong> A lot of people decide to stay at their family’s place a bit longer, save on the rent and other costs. <a href="https://www.cbs.nl/en-gb/news/2023/51/young-adults-more-likely-to-live-with-parents-than-20-years-ago">According to CBS NL</a>, this percentage is increasing every year, and is more likely for young men (although the gap is already narrowing there as well). If your life and job situation is that unpredictable, it’s not expected that individuals would find a house/apartment to buy/rent that soon, and that also affects family creation as well, from dating/finding someone and having a child. A number of individuals have said that there are <a href="https://nltimes.nl/2024/11/27/situation-world-netherlands-big-reason-behind-decision-children">multiple reasons</a> why they are not interested in establishing a family with/without a child — unpredictable housing situation and global situation, low salary, high rent, not going out/not spending on leisure, and simply not wanting to establish a family.</p><p>In that case, you might find more individual households in a form of an individual living alone and paying rent, or renting with someone else (a roommate and such), and expecting a stagnation or a decrease in numbers of family households.</p><h4>Life in rural vs. urban/city areas</h4><p>Lately, it has become very popular to escape the city rush every so often, towards the seaside or in the <a href="https://www.waddenacademie.nl/fileadmin/inhoud/pdf/06-wadweten/Proefschriften/Thesis_Rixt_Bijker_binnenwerk.pdf">rural areas</a>. Working in a stressful environment, burning out, and dealing with the consequences of it forced some people to find another life for themselves — much less stressed, quieter, and with the possibility to reflect on their life so far to find solutions how to deal more efficient with stress. Decades ago, an agricultural life in a rural area wasn’t something that most young people were striving towards, wasn’t deemed glamorous, or it was too much effort for too little financial benefit.</p><p>Nowadays, we are realizing that sometimes work-life balance doesn’t work, and people respect their privacy and off-work time way more than before. Because of the preservation of the free time, people are fine working less on a weekly or monthly basis, even if that might mean lower salary, in order to preserve that peace of mind and contain stress within healthy limits.</p><figure><img alt="Photo 3. Garden life, photo by Pierre Bamin on Unsplash, photo showing boots and flowers growing in them." src="https://cdn-images-1.medium.com/max/1024/0*4mSCIhXJCwuXSwJD" /><figcaption>Photo 3. Garden life, photo by <a href="https://unsplash.com/@bamin?utm_source=medium&amp;utm_medium=referral">Pierre Bamin</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>On the other side, people might’ve inherited a smaller garden, or their family is a possession of a house with an adjacent garden/yard. Some people might’ve worked super hard for many years, and now it’s the time when they can afford to buy some little cottage of peace, in their late 30s up to late pension years because their priorities have changed. In Europe, EU funds are also a way to acquire the starter land and equipment, making it easier with lower costs. With the <a href="https://www.statista.com/statistics/680184/inflation-rate-food-in-european-union-eu/">rising costs</a> of <a href="https://www.nytimes.com/2023/05/30/business/europe-food-prices-inflation.html">food</a>, fruit, and vegetables, a lot of people are now enjoying working in their own gardens, producing their own food, finding happiness in it, and also cutting their everyday costs.</p><p>If you would “confine” yourself in the rural area, that doesn’t necessarily mean that you would not have any job opportunities. As I said earlier, yes, rural areas and the agriculture industry might not have been as glamorous in the past, were much more significantly laborious. Today, with technology, many industries can connect with agriculture, automatizing many of the processes, and making the move to rural areas more appealing. Still, even with all the advantages now, cities still remain the main hubs for education and further career advancements.</p><h4>Marriage vs. partnership vs. cohabitation families</h4><p>Choosing between these three options, especially in some countries, might be a question of tradition, culture, and finance. Back in the days, it was normal to get married, get a job, and have a family, in that order. Recently, new forms have replaced the original, traditional form of marriage, and it came in the forms of partnership and cohabitation (living together, but not being married), but also living alone.</p><p>This structure is tightly connected with the first point of individual households vs. family households, but it gives the latter another additional dimension. By law, it differentiates what a family means and stands for, as well from the fiscal standpoint.</p><h4>Housing situation</h4><p><a href="https://www.dutchnews.nl/2024/07/housing-shortage-increases-more-people-are-looking-for-a-home/">The housing situation</a> represents a highly specific situation in the Netherlands. The country is in need of workers with versatile educational backgrounds, but the migration process is somewhat controlled/stopped/blocked by the housing situation. There is simply not enough housing for everyone, especially not rooms, and houses for a lower amount of money. Because of the demand/supply process and inflation, the prices of the houses/rooms keep going more and more up, sometimes even exponentially, which leaves migrants who wish to relocate to NL, and the citizens of NL without their own homes. It is a very well known situation to most of the migrants, Dutch people and also students who would like to study in one of the major cities.</p><figure><img alt="Photo 4. Buying a house, photo by Tierra Mallorca on Unsplash, photo showing a house and a key for it next to it." src="https://cdn-images-1.medium.com/max/1024/0*IkUfk1I_hrcmu_t1" /><figcaption>Photo 4. Buying a house, photo by <a href="https://unsplash.com/@tierramallorca?utm_source=medium&amp;utm_medium=referral">Tierra Mallorca</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The <a href="https://www.statista.com/statistics/630471/average-price-of-single-family-homes-in-the-netherlands-by-province/">“entrance cost” or the average price</a> of a home is quite high. It’s going somewhere between 300.000 and 400.000 euros, and even more for the houses around Amsterdam and other cities where the IT industry and education hubs are located in (up to 700.000 euros). It is quite simply visible that the majority of young people can’t afford their own house, forcing them to rent with someone else, or continue living with their parents for a longer period of time.</p><p>Connecting that with the job market, sometimes the salaries are just not high enough for the person to purchase their own home in their 20s and 30s, at least not without a debt/loan. If you’re dealing with layoffs, then it’s quite understandable that you would put those big life plans on hold, and that has an impact to the family structures that we will be observing.</p><h4>Migration numbers</h4><p>Migration is and always will be a natural process of moving. As borders start to disappear, and countries open themselves even more, the migration numbers keep rising. Some countries have issues with not having enough workers for specific industries, some industries aren’t attractive enough, salary is lower than somewhere else, or there is a discrepancy between education and the real job market. All of those mentioned issues are not so easy to fix in the short team, especially the latter one.</p><p>In order to fill those jobs, migration might be one of the processes used in the short term. It happens often that workers from poorer countries move to richer countries in order to earn for their families, or whole families move to a new country. Of course, migration also happens because of other <a href="https://www.government.nl/latest/news/2024/06/14/state-of-migration-2024-steps-taken-in-2023-to-get-a-grip-on-migration">reasons </a>— someone might like the new country, costs are lower, quality of life is better, better educational systems and career opportunities.</p><h3>How did the family structures change over time?</h3><p>With the shifts in social norms, economic factors, and cultural diversity caused by technological advancements and migration, family and household structures have changed over time. To present how and why they may have changed, I have used the CBS StatLine’s dataset on several variables that were explained above.</p><h4>Dataset information</h4><p><strong>Source of the data</strong> — <a href="https://opendata.cbs.nl/statline/portal.html?_la=en&amp;_catalog=CBS">CBS StatLine’s dataset (open data portal)</a></p><p><strong>Period</strong> — 2006 to 2023 (the year 2006 was chosen as the beginning of the period because it might show us what happened during the economic crisis in 2008)</p><p><strong>What changes are made to the dataset</strong> — no major changes, the names of the variables were adjusted for a graphical representation</p><p><strong>Tools used</strong> — Tableau Public, Microsoft Excel</p><h4>Health status of the country — birth and reproduction rates</h4><p>Let’s start off by showing the health status of the country, by presenting birth and reproduction rates in the span of 18 years. As in most countries, NL is not any different in terms of the number of liveborn children and rates. The total number of liveborn children in NL had its peak in the period of 2008–2010, with it decreasing until 2020. In the early post-COVID years (2021), it seems that the total number has risen for about +10.000 children (vs. how it was in 2019), but it still declined after that period.</p><figure><img alt="Graph 1. Total number of liveborn children in The Netherlands, made by author, source — CBS NL, graph shows the total number of liveborn children in NL from 2006 to 2023." src="https://cdn-images-1.medium.com/max/640/1*bxYFaUksNCtve-w7u4s2cw.png" /><figcaption>Graph 1. Total number of liveborn children in The Netherlands, made by author, source — <a href="https://opendata.cbs.nl/statline/portal.html?_la=en&amp;_catalog=CBS">CBS NL</a></figcaption></figure><p>When it comes to the net reproduction rate in the Netherlands, it is calculated as the average number of daughters a group of women would give birth to, if certain age-specific fertility and mortality figures were to apply.<br><br>It follows the same trend as the graph above, with a decrease of over 10% from 2010 to 2020. In the post-COVID years (2021), there was an increase of 5% (vs. 2020), but there was a very sharp decrease after that, with less than 70% of the reproduction rate in 2023.</p><figure><img alt="Graph 2. Reproduction rate in the Netherlands, made by author, source — CBS NL, photo shows the reproduction rates in NL from 2006 to 2023." src="https://cdn-images-1.medium.com/max/643/1*2UkoKaldYXyjcptxlducAQ.png" /><figcaption>Graph 2. Reproduction rate in the Netherlands, made by author, source — <a href="https://opendata.cbs.nl/statline/portal.html?_la=en&amp;_catalog=CBS">CBS NL</a></figcaption></figure><p>The fertility rate is calculated as the number of live-born babies per thousand of the average number of women aged 15 to 50 in the period of observation.</p><p>This rate has been more stable over time, with again having its peak in 2021. All of these three are connected, as the rates are being calculated from the total number of live-born children, so the movements/trends are also following almost the same path.</p><figure><img alt="Graph 3. Fertility rate in the Netherlands, made by author, source — CBS NL, photo shows the fertility rate in NL from 2006 to 2023." src="https://cdn-images-1.medium.com/max/644/1*xfJDt99j-dkuO5xL5jKnPA.png" /><figcaption>Graph 3. Fertility rate in the Netherlands, made by author, source — <a href="https://opendata.cbs.nl/statline/portal.html?_la=en&amp;_catalog=CBS">CBS NL</a></figcaption></figure><h4>Age of the parents</h4><p>Back in the day, it was normal that you would get your first child before you were 20 years old. Nowadays it is much more common to spend your 20s building a career, studying at the university, and having a leisurely life.</p><p>In the last 20 years, that age line has increased more and more. As you can see on the graph, men’s average age at the birth of their first child is between 32 and 34 years (pink line), whereas it’s slightly lower for women — a bit above 30 (orange line).</p><figure><img alt="Graph 4. Average age of mother and father at birth of their first child, made by author, source — CBS NL" src="https://cdn-images-1.medium.com/max/815/1*c3P5U1jquDLCv4c6WmIGyA.png" /><figcaption>Graph 4. Average age of mother and father at birth of their first child, made by author, source —<a href="https://opendata.cbs.nl/statline/portal.html?_la=en&amp;_catalog=CBS"> CBS NL</a></figcaption></figure><p>To have a deeper look into the women’s age (as mothers) at their child’s birth, we can also observe that women who get a child are mostly between 25 and 35 years of age. The least women are younger than 20 years and older than 40 years.</p><figure><img alt="Graph 5. Mother’s age at the child’s birth, made by author, source — CBS NL" src="https://cdn-images-1.medium.com/max/803/1*bp9aml2TMpfsowzlHVurdA.png" /><figcaption>Graph 5. Mother’s age at the child’s birth, made by author, source — <a href="https://opendata.cbs.nl/statline/portal.html?_la=en&amp;_catalog=CBS">CBS NL</a></figcaption></figure><h4>Marriage rates among mothers</h4><p>If we observe women as mothers even further, we can ask ourselves if they are married at the moment they get a child or not, for us to start off the research of marriage changes in the country.</p><p>The red line represents the amount of women who were not married in the moment they have gotten a child, and the blue line represents the women who were married at that time. As you can see, in the observed period, there was much more women who were not married than the ones that were. There isn’t much trend visible here, except for a small decrease of women who were married, but it’s not as remarkable to see it.</p><figure><img alt="Graph 6. Is the mother married or not? Made by author, source — CBS NL" src="https://cdn-images-1.medium.com/max/1024/1*vD1cnSE_yWY030BuWZ4RaQ.png" /><figcaption>Graph 6. Is the mother married or not? Made by author, source — <a href="https://opendata.cbs.nl/statline/portal.html?_la=en&amp;_catalog=CBS">CBS NL</a></figcaption></figure><p>Among all born children, there is a variable which counts the number of first children in that group of all born children. As you can see, in the observed period, there is a decrease of about -10.000 from 2010 to 2018, with a new peak in 2021, followed by a decrease on pre-COVID levels.</p><p>If we compare the number of first born children with the number of total born children, we would see that first children make around 45–50% of all born children on a yearly basis, which is a good thing for fertility and reproduction rates.</p><figure><img alt="Graph 7. Number of first born children, made by author, source — CBS NL" src="https://cdn-images-1.medium.com/max/690/1*FefXuUHdM93LNalSHHoPGg.png" /><figcaption>Graph 7. Number of first born children, made by author, source — <a href="https://opendata.cbs.nl/statline/portal.html?_la=en&amp;_catalog=CBS">CBS NL</a></figcaption></figure><h3>Conclusion of Part 1.</h3><p>In this article we have viewed the global and local issues such as layoffs and situation on a global scale and their influence on family structure. As an example, the Dutch family structure was taken, and we have presented its fertility and reproduction state in the period from 2006 to 2023.</p><p>As most of the European countries, the Dutch family structure is showing the decrease in the fertility and reproduction rates, viewed by the total number of born children on a yearly basis. Nevertheless, the discrepancy between numbers of living and dead on a yearly basis is not as grave as it might be in some other countries, where the age pyramids are much more distorted from the “ideal” one.</p><p>In the next, Part 2. article, we will discuss how does the average household in the Netherlands look like, and we will check if we can observe the situation and fact that more and more young people are staying at home, because of non-affordability of their own home, given the financial and global situation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1866f21b0bdf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/womenintechnology/a-nation-in-numbers-the-dutch-family-changes-in-the-modern-era-a-data-analysis-case-study-1866f21b0bdf">A Nation in Numbers: The Dutch family changes in the modern era — a data analysis case study —…</a> was originally published in <a href="https://medium.com/womenintechnology">Women in Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Plotting Matrimony: A Step-by-Step Guide to Quantitative Data Visualization in R using Dutch…]]></title>
            <link>https://majanalytics.medium.com/plotting-matrimony-a-step-by-step-guide-to-quantitative-data-visualization-in-r-using-dutch-a930d3fe34c3?source=rss-16bc7262df40------2</link>
            <guid isPermaLink="false">https://medium.com/p/a930d3fe34c3</guid>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[visualization]]></category>
            <category><![CDATA[statistics]]></category>
            <dc:creator><![CDATA[Majanalytics]]></dc:creator>
            <pubDate>Fri, 20 Sep 2024 10:51:24 GMT</pubDate>
            <atom:updated>2025-01-23T07:35:32.063Z</atom:updated>
            <content:encoded><![CDATA[<h3>Plotting Matrimony: A Step-by-Step Guide to Quantitative Data Visualization in R using Dutch Marriage Data</h3><p><em>This blog post is part of a </em><strong><em>“Statistics Essentials”</em></strong><em> series of stories about the basics of statistics, and its vocabulary. To read all the posts that are a part of it, </em><a href="https://medium.com/@majanalytics/list/statistics-essentials-b5eac7fbd209"><em>click here</em></a><em>. The list is frequently updated.</em></p><p>📮<strong> Make sure you don’t miss out! Click </strong><a href="https://medium.com/@majanalytics"><strong>HERE</strong></a><strong> to follow me and subscribe to an e-mail list to ensure you are among the first to get the article! For detailed articles, cheat sheets, glossaries, and case studies, please follow my website </strong><a href="http://www.majanalytics.com/"><strong>Majanalytics</strong></a><strong>.</strong></p><h3>INTRODUCTION</h3><p>While searching on LinkedIn, or reading data analyst job posts, data visualization skills are mentioned quite a lot. They do say that a picture is worth a thousand words, and these days when everything is so rushed, photos and quick insights are valued (but it doesn’t make it right, it’s just that the <a href="https://time.com/6302294/why-you-cant-focus-anymore-and-what-to-do-about-it/">attention span and time</a> have shrunk with generations). When it comes to data analytics, it is a vast area, with more than enough tools to use.</p><p>There are 3 <strong>key skills</strong> that a data analyst should have:</p><ol><li><strong>programming/statistics/math</strong>— covers all the skills needed to get the important information out of a dataset, no matter how unorganized or big. Nowadays, think about R and Python programming, with the addition of SQL. Knowing the detailed concepts is unnecessary if you don’t plan to go into data engineering or machine learning.</li><li><strong>data visualization</strong> — once you get your findings out of a dataset, it is crucial to transform those numbers and letters into something visible and indulging to the eye. When you have a big data dataset in front of you, with thousands of rows of data, you can’t make sense of it by just looking at raw data, and neither can your team or stakeholders. Just remember how often you have seen <a href="https://public.tableau.com/app/discover/viz-of-the-day">spectacular dashboards</a>, that bring insights flawlessly on the table? Those take time to create, and I recommend you, every week, try to download a dataset online, clean it up so it’s ready for data visualization, and then use R/Python or one of the tools below to visualize your findings. When you are happy with the result, create a portfolio.</li><li><strong>communication skills</strong> — at last, having numbers and visualizations in front of you and your stakeholders means nothing if you don’t have the right communication skills to present those findings and to push much-needed insights and recommendations to your team. A data analyst is sometimes a person who is the “middle-man”, which is somewhat explained using a rough sketch. It is not that rare to find a situation in the real world where a data analyst is THE person to give insights and recommendations to the stakeholders, with the help of all the data that he has available, with the technical help of the developers, and business expertise knowledge of stakeholders.</li></ol><figure><img alt="This picture shows the skills needed for a data analyst. Programming skills plus data visualization skills plus communication skills." src="https://cdn-images-1.medium.com/max/1024/1*7KyC3LsZJYVkyigR-NlVng.png" /><figcaption>Skills needed for a data analyst, made by the author</figcaption></figure><blockquote><em>Beware — each of those people (developers, stakeholders, developers), can have a narrow, more specialized look into matters because of their specialty, making them unable to see the bigger picture or the stance of their colleague from another department.</em></blockquote><figure><img alt="This photo shows the circular picture of 8 steps of process of data decision making. It starts with stakeholder asking for a feature, and then developers and data analyst implement it. Later data analyst will analyze the implementation with the stakeholders." src="https://cdn-images-1.medium.com/max/1024/1*4-NT0C18v3qlX9aRup82JA.png" /><figcaption>Rough sketch of data analytics decision making, made by author using Canva</figcaption></figure><h3>DATA VISUALIZATION SKILLS — WHICH TOOL TO CHOOSE?</h3><p>Regarding data visualization, two very popular tools nowadays are <a href="https://www.tableau.com/"><strong>Tableau</strong></a> and <a href="https://apps.microsoft.com/detail/9ntxr16hnw1t?hl=en-us&amp;gl=US"><strong>Microsoft PowerBI</strong></a>.</p><blockquote><strong>CAREER TIP</strong> — if you are just starting your career, and you can’t decide which tool to choose, I would advise you to do extensive research based on the roles you would like to perform in your career (namely LinkedIn, Indeed, and Glassdoor). In those job vacancies, you can see which tools and programming languages are being looked after, and whether that is something that you like (look at the job description). At this point, from what I saw when it comes to data/web analyst job vacancies, the majority of them are looking for knowledge of Tableau or PowerBI, with the additional knowledge of Looker Studio and Google Analytics, if you’re working with marketing insights.</blockquote><h4>Tableau</h4><p><a href="https://www.tableau.com/">Tableau</a> is a data dashboard and visualization tool, where you can present beautiful findings. It is both commercialized and free, which means that you can buy a license for your team/company, or you can use <a href="https://public.tableau.com/app/discover">Tableau Public</a> for free. In the latter case, it means that your dashboards will be visible to everyone on the platform if you decide to publish and upload them. The easiest way of using it is to download the desktop version, open a data file (preferably the one that has been cleaned outside of Tableau already), and start making a dashboard or visualization.</p><p>It does require some wrangling around and time to learn. I recommend starting with <a href="https://public.tableau.com/app/learn/how-to-videos">Tableau Learn</a> and using <a href="https://public.tableau.com/app/learn/sample-data">sample data</a> that Tableau itself has provided. Later, when you have grasped the basics, you can either continue with your data or invest in one of the <a href="https://www.udemy.com/courses/search/?src=ukw&amp;q=tableau">Udemy classes</a> that build upon the basic Tableau learning videos (at the time of writing this article, prices are about 14,99 dollars per course).</p><p>If you are not persuaded or are interested in what Tableau can yield, check out these <a href="https://public.tableau.com/app/discover/viz-of-the-day">Viz of the Day</a> on the Tableau site, and their <a href="https://public.tableau.com/app/learn/community-resources">community resources</a>.</p><h4>PowerBI</h4><p><a href="https://www.microsoft.com/en-us/power-platform/products/power-bi">PowerBI</a> is free, as a desktop app that you can download from the Google Store on your PC. It works in the same way as Tableau, and it has additional possibilities with its own “programming” language called DAX.</p><p>Like all Microsoft apps, PowerBI also has a <a href="https://www.microsoft.com/en-us/power-platform/products/power-bi/learning">lot of courses and learning resources</a>, and <a href="https://community.fabric.microsoft.com/t5/Galleries/ct-p/PBI_Comm_Galleries">here</a> you can check the gallery.</p><h4>Programming packages in R — ggplot2</h4><p>While we still have great tools such as PowerBI and Tableau, no data analyst should go without programming skills. As I wrote above, one of the three skill pillars for a data analyst is programming skills. 95% of the time, as a data analyst or data scientist, you can choose either R or Python, with the addition of SQL. Five years ago, I started using R in the last semester of my master’s and went on with it. It was pretty straightforward, and back then it felt like it didn’t require an algorithmic way of thinking. What you do need to have is statistics knowledge, and learn how to work with packages in R for data wrangling, data cleaning, data import and export, and data visualization.</p><p>When it comes to data visualization, R is famous for its <a href="https://ggplot2.tidyverse.org/"><strong>ggplot2 package</strong></a>. The basic R code does have possibilities for basic graphics, such as bar plots, histograms, etc., but ggplot2 is specialized for data visualizations and customization. <a href="https://medium.com/p/02e02489d674">Here</a> I have written an article about the ggplot2 package and what can it do, depending on whether you have quantitative or qualitative data.</p><h3>QUANTITATIVE DATA AND SOURCE OF ANALYSIS</h3><p>In this article, I will focus more on quantitative data, and what ggplot2 can offer in that sense. For that, I’m going to use real-life data that is closer to the majority of the population, and it’s easier to explain.</p><h4>Case/dataset used for this analysis</h4><p><strong>Name of the datasets</strong></p><p>[1] <a href="https://opendata.cbs.nl/statline/portal.html?_la=en&amp;_catalog=CBS&amp;tableId=37772eng&amp;_theme=1151">CBS’s (Dutch Statistics Open Data portal) data about marriages and partnership registrations, key figures</a> (specifically variables Total number of marriages, Marriages between man and a woman, Marriages between men, and Marriages between women were chosen for this analysis)</p><p>Time — 2001–2023</p><p>[2] <a href="https://www.kaggle.com/datasets/spscientist/students-performance-in-exams">Students Performance in Exams, Kaggle</a></p><figure><img alt="This picture shows a couple dancing on their wedding day." src="https://cdn-images-1.medium.com/max/1024/0*q5CMZOpBg-3zdmZe" /><figcaption>Couple at their wedding, photo by <a href="https://unsplash.com/@luwadlinbosman?utm_source=medium&amp;utm_medium=referral">Luwadlin Bosman</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Quantitative data and its visualization</h4><p>First of all, let’s clarify what <a href="https://medium.com/p/de9daa97f194">quantitative data</a> is.</p><p><strong>Quantitative data</strong> is data with numeric values — whether round numbers (discrete data) or decimal points (continuous data). In R, you can get a summary for quantitative variables by using the summary() function, whereas you can’t do that for qualitative data.</p><blockquote>Be careful — results of qualitative data in R such as gender (female, male), you could replace with numbers, so female would be replaced with 1, and male with 2, and therefore you might think that is quantitative data. In fact, those are called factors and it makes some predictive analytics techniques easier to do, but you can’t make a histogram out of it. For both of those options, you could use gender as a group or a fill. Check <a href="https://majanalytics.com/2024/05/17/choosing-the-right-graph-for-your-data-visualization-project-examples-in-r/">here</a> for more hands-on examples of it. For qualitative data such as gender, nationalities, etc., if you can, leave it in its original form and use bar plot to visualize it.</blockquote><p>For quantitative data, we have several basic options in R:</p><ol><li>histogram</li><li>box plot</li><li>scatter plot</li><li>line plot</li><li>bar plot</li></ol><p>Let’s use our dataset, and see how we can create those graphs in R.</p><h3>GGPLOT2 AND QUANTITATIVE DATA GRAPHS</h3><p>Same as always, we upload and attach the dataset in the R environment, by using this code:</p><pre>data=read.csv(&#39;Marriages.csv&#39;,sep=&quot;;&quot;) <br>#I add the &quot;sep&quot; part because sometimes doesn&#39;t recognize the full CSV separator.<br>attach(data) <br>#so we don&#39;t have to write dataset_name$dataset_variable anymore.<br>library(ggplot2) <br>#we are going to use ggplot2, so let&#39;s preload it.</pre><p>The first two rows of R code are a standard way I start every R analysis because most of the files are CSV files, and attaching the data saves us a ton of time when we code other functions/parts of the analysis later on. If you know what packages you will use, preload them as well at the start by using the library() function.</p><h4>Box plot</h4><p>As written in <a href="https://medium.com/towardsdev/exploring-data-variability-analyzing-with-boxplots-in-r-ab6adb786a43">one of my prior articles</a>, a box plot is a graphical representation of the summary of a variable. It shows quartiles, mean value, interquartile range, and <strong>outliers</strong>. The box plot is one of the graphs that are a part of the <em>measures of variability, </em>which means that it represents almost all those measures, but in a graphical way.</p><p>The code that we have to write to get a box plot, for this dataset, is the following:</p><pre>ggplot(data,aes(x=Total_number_of_marriages)) + <br>geom_boxplot(fill=&quot;#C75B7A&quot;,colour=&quot;#071952&quot;) + <br>ggtitle(&quot;Boxplot of total number of marriages in the Netherlands&quot;) + <br>xlab(&quot;Total number of marriages in the Netherlands&quot;)</pre><p>Since we have 4 quantitative variables in this dataset (written above), we are only replacing the variable name, and then the box plot would represent that variable. Of course, we also need to adjust the ggtitle and xlab (title of the box plot and x-axis name). When you run the codes, you will get boxplots like this:</p><figure><img alt="This picture shows two boxplots for 2 different quantitative variables." src="https://cdn-images-1.medium.com/max/1024/1*VQxVjX2XLKaRFl2JKEDcPg.png" /><figcaption>Two box plots for quantitative variables of the Marriage dataset, made by the author</figcaption></figure><p>As you can see, it consists of a “box”, with the line across. That line is the median value. The black dots are the values higher than the 1.5 * IQR value, but since we are talking about time-series data, we can’t per se talk about outliers here, especially if we are talking about smaller amounts of years. Now it’s just a normal movement throughout the years that we observe.</p><h4>Line plot</h4><p>The line plot is a graph for presenting quantitative data, and it’s quite good for usage for time series, as in this case. On the graphs below, you can check how it looks when you have one quantitative variable (Total number of marriages).</p><p>You can see that both the total number of marriages and marriages between men, for example, had a dip in 2020. After this finding, we could go back online and search for why did that happened. According to <a href="https://www.statista.com/statistics/520171/number-of-straight-vs-same-sex-marriages-in-the-netherlands/">Statista</a>, the reason is clear — COVID-19 happened, and gatherings were smaller because of the measurements back then.</p><figure><img alt="This picture shows two different line plots of movements of two quantitative variables using Marriage dataset, made by author in RStudio." src="https://cdn-images-1.medium.com/max/1024/1*HkJaoyaoHSM3gZUMgffmcg.png" /><figcaption>Two different line plots of movements of two quantitative variables using the Marriage dataset, made by the author</figcaption></figure><h4>Bar plot</h4><p>Bar plots are used to display numeric values on the y-axis, for different categories that are on the x-axis (items, gender, nationalities, etc). Firstly, it’s not good to use it for showing how numeric value goes over time (time series), because time is a continuous variable. But in this marriage dataset, we have the number of marriages per year, not per minute or day, aka, in this case, a year is a discrete variable.</p><pre>ggplot(data,aes(x=Year,y=Marriages_between_men)) + <br>geom_bar(stat=&quot;identity&quot;,fill=&quot;#C75B7A&quot;,colour=&quot;#C75B7A&quot;) + <br>ggtitle(&quot;Movement of the total number of marriages between men&quot;) + <br>xlab(&quot;Year period&quot;) + ylab(&quot;Total number of marriages between man&quot;)</pre><figure><img alt="This is the picture of a bar plot for movement of the total number of marriages between men" src="https://cdn-images-1.medium.com/max/629/1*xTRUYFHFBZ4QtCN3Yep5ZA.png" /><figcaption>Bar plot for movement of the total number of marriages between men, made by the author</figcaption></figure><h4>Histogram</h4><p>A histogram shows us a count of continuous numeric values. In this case, we only have discrete numbers, so we can’t turn them into continuous ones and show them on histograms. Instead, I decided to use the second dataset found on Kaggle, it’s about student performance in exams (link above). Here you can see how the math score diversifies among genders. These math scores in the dataset were continuous values, so we could easily create a histogram based on it.</p><pre>ggplot(data,aes(x=math.score))+<br>geom_histogram(fill=&quot;#A87676&quot;,colour=&quot;black&quot;) + <br>facet_grid(gender ~ .)</pre><figure><img alt="Histogram examples for math score between genders, made by the author" src="https://cdn-images-1.medium.com/max/625/1*UOJZn_JFYt_1GvF1mFOVVw.png" /><figcaption>Histogram examples for math scores between genders, made by the author</figcaption></figure><h4>Scatter plot</h4><p>Last but not least, we have the scatter plot. It is used to display a relationship between two continuous variables. It is quite used in predictive analytics, linear regression, and correlation.</p><pre>ggplot(data1,aes(x=writing.score,y=math.score)) + <br>geom_point() + geom_smooth(method=&quot;lm&quot;,col=&quot;red&quot;) + <br>labs(title=&quot;Scatter plot of writing score vs math score&quot;,x=&quot;writing score&quot;,y=&quot;math score&quot;)</pre><figure><img alt="Scatter plot of a relationship between math score and writing score, made by the author" src="https://cdn-images-1.medium.com/max/628/1*Mf6WtoZn6u18iA8wLQeNLQ.png" /><figcaption>Scatter plot of a relationship between math score and writing score, made by the author</figcaption></figure><h3>Conclusion and additional resources</h3><p><strong>A </strong>package such as <strong>ggplot2</strong> gives us a wide span of options to display our data in R, both qualitative and quantitative data. From the simplest plots, such as box plots or histograms, to the more advanced ones such as heatmaps, this package can help you see outliers more clearly, reveal any possible patterns in your data, and can help you display trends. This package follows you through your data analysis journey in R, whether you are just starting, changing professional areas of work, or being a senior/leader of a data science team. Using this package, with the rest of the packages for data cleaning, data wrangling, and EDA, you can make sure that you will always deliver compelling insights to your stakeholders and your team. In the end, visualization skills, no matter what tool you use, stand hip to hip with programming and communication skills, which all together make you a better data analyst or aspiring data scientist.</p><p>For more about the ggplot2 package, and what can it do, visit the following pages:</p><ul><li><a href="https://ggplot2.tidyverse.org/">Create Elegant Data Visualisations Using the Grammar of Graphics</a></li><li><a href="https://r-graphics.org/">R Graphics Cookbook, 2nd edition</a></li></ul><p>For other similar articles, click here:</p><ul><li><a href="https://majanalytics.medium.com/a-nation-in-numbers-the-dutch-family-changes-in-the-modern-era-a-data-analysis-case-study-1866f21b0bdf">A Nation in Numbers: The Dutch family changes in the modern era — a data analysis case study —…</a></li><li><a href="https://medium.com/womenintechnology/cheese-butter-and-data-a-complete-r-data-analysis-guide-using-dutch-dairy-production-data-6b11f81ab3f8">Cheese, Butter, and Data: A Complete R Data Analysis Guide using Dutch Dairy Production Data</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a930d3fe34c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cheese, Butter, and Data: A Complete R Data Analysis Guide using Dutch Dairy Production Data]]></title>
            <link>https://medium.com/womenintechnology/cheese-butter-and-data-a-complete-r-data-analysis-guide-using-dutch-dairy-production-data-6b11f81ab3f8?source=rss-16bc7262df40------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b11f81ab3f8</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[r]]></category>
            <category><![CDATA[statistics]]></category>
            <dc:creator><![CDATA[Majanalytics]]></dc:creator>
            <pubDate>Mon, 09 Sep 2024 07:05:23 GMT</pubDate>
            <atom:updated>2025-01-23T07:35:52.973Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This blog post is part of a </em><strong><em>“Statistics Essentials”</em></strong><em> series of stories about the basics of statistics, and its vocabulary. To read all the posts that are a part of it, </em><a href="https://medium.com/@majanalytics/list/statistics-essentials-b5eac7fbd209"><em>click here</em></a><em>. The list is frequently updated.</em></p><p>📮<strong> Make sure you don’t miss out! Click </strong><a href="https://medium.com/@majanalytics"><strong>HERE</strong></a><strong> to follow me and subscribe to an e-mail list to ensure you are among the first to get the article! For detailed articles, cheat sheets, glossaries, and case studies, please follow my website </strong><a href="http://www.majanalytics.com/"><strong>Majanalytics</strong></a><strong>.</strong></p><p>To download the cheat sheet related to this story — <a href="https://majanalytics.com/cheat-sheets/">click here.</a></p><p>In data analytics and statistics, it is essential to understand the distribution of the dataset, how the data was collected, and its goals. More often than not, whether you’re a junior or senior data analyst, you don’t have full information about how the data got collected, and what might be wrong with it. When you get hired into a company, you inherit the database and tracking information, and it is up to you to introduce yourself to the data, and what lies behind it. Knowing the data will make you better at performing your job, analyzing data, and giving your team and stakeholders better insights.</p><p><strong>In this article, I will lay out the most common things you should look for in the dataset when analyzing it. This article can serve you as a go-to point, to ensure you don’t miss any important moment of your analysis, and it is written as an extensive guide with R examples.</strong></p><blockquote>Knowing the data will make you better at performing your job, analyzing data, and giving better insights to your team and stakeholders.</blockquote><h3>INTRODUCTION</h3><p>As said in the beginning, whether you’re a junior or senior data analyst, combining all sides of the data, its collection, and what stands behind it is always hard. In most cases, you’re not pulling data just from one database/system, but from Google or <a href="https://business.adobe.com/products/analytics/adobe-analytics.html">Adobe Analytics</a>, marketing tools such as <a href="https://www.hubspot.com/">HubSpot</a>, <a href="https://www.semrush.com/">SEMRush</a>, and <a href="https://ahrefs.com/">Ahrefs</a>. Depending on your stack in the company, and how the data is organized, there is mostly one system in place to collect that additional data based on Customer ID or Product ID (for example <a href="https://learn.microsoft.com/en-us/power-query/connectors/google-bigquery">Microsoft BigQuery</a> system), but even then it might not be perfect.</p><p>If connecting data sources is unreliable or impossible due to complexity or budget, how do you make sense of data? What is important to evaluate in data, regardless of source or connectivity? The dashboards of the marketing systems such as Google Analytics are quite intuitive to explain, and explore and represent quite a happy spot for me. However, data in the systems that don’t give a dashboard out, so to speak, make it harder to explain and make sense of it.</p><figure><img alt="A data system with all the data sources attached to it." src="https://cdn-images-1.medium.com/max/1024/1*qaLxKga9HlQCDquA4Xd04A.png" /><figcaption>Data sources coming together in a data system/database (DALL-E 4 generated)</figcaption></figure><h4><strong>Concepts to think about in this guide</strong></h4><ol><li>Central tendency</li><li>Variability and dispersion</li><li>The shape of the distribution such as skewness and kurtosis</li><li>Outliers</li><li>Visualizing the distribution</li><li>Context of the distribution, data, and its collection</li></ol><h4><strong>Case/dataset used for this analysis</strong></h4><p><strong>Name of the dataset</strong> — <a href="https://opendata.cbs.nl/statline/portal.html?_la=en&amp;_catalog=CBS&amp;tableId=7425eng&amp;_theme=1139">[1] CBS’s (Dutch Statistics Open Data portal) data about milk supply and dairy production (specifically butter and cheese productions were chosen as variables)</a> in the Netherlands, Europe.</p><p><strong>Time</strong>— 1995 to 2023</p><p><strong>Currency</strong> — in tons (1.000 kg = 1 ton)</p><figure><img alt="Packaged round cheese on the shelf" src="https://cdn-images-1.medium.com/max/1024/0*Uf1HeDKyRIXOELvU" /><figcaption>Cheese on the shelf — Photo by <a href="https://unsplash.com/@k_ti?utm_source=medium&amp;utm_medium=referral">Katrin Leinfellner</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3><strong>NORMAL DISTRIBUTION OR NOT? — MEASURES OF CENTRAL TENDENCY</strong></h3><p>In statistics, to use most of the models and techniques, we would be happy to have a normal distribution of data, or nearly normal, as that is a very important prerequisite/requirement. It is often called the <strong>bell curve or Gaussian distribution.</strong></p><figure><img alt="This is a picture with Gaussian distribution or normal distribution with standard deviations — Chebyshev’s rule" src="https://cdn-images-1.medium.com/max/935/1*tgnNBHDQ5_bYAuu6un2Kbg.png" /><figcaption>Gaussian distribution with its derivations; Photo by Sabrina Jiang, Investopedia</figcaption></figure><p>Measures of central tendency show us where the center of the distribution is, and if the distribution is indeed normal, or filled with outliers.</p><h4>Mean or average value</h4><p>The arithmetic average of the dataset is easily called “the average value”. It is the sum of all data values divided by the number of values. It involves all values, so any high or outlier value will add to the skewness of a distribution.</p><figure><img alt="Formula to calculate mean value in statistics" src="https://cdn-images-1.medium.com/max/161/0*alJ_3ZRQJmhthBwn" /><figcaption>Formula to calculate the mean value in statistics, photo by author</figcaption></figure><p><strong>In a presentation case, don’t use it alone explicitly when presenting data if the distribution is skewed, but show it additionally with other measures such as the median.</strong></p><p>How do we code it in R and how do we interpret it?</p><pre>mean(variable_name)</pre><figure><img alt="Code and output for mean value in R" src="https://cdn-images-1.medium.com/max/259/1*2-1lOXNElOj1RoWXAk2_WA.png" /><figcaption>Code and output for mean value in R, photo by author</figcaption></figure><p>INTERPRETATION — The average weight of butter production is 132.226 tons per year, and the average weight of cheese production is 768.639 tons per year.</p><h4><strong>Median</strong></h4><p>The middle value once the data is ordered. It is more of a positional value, making it less affected by outliers than the mean. If your further analysis shows that your distribution is skewed, rather use median value than mean value, especially if you don’t plan to use any predictive analytics.</p><figure><img alt="This is a formula for median value calculation in statistics" src="https://cdn-images-1.medium.com/max/334/0*wZcZmmnAvP1vXEfc" /><figcaption>Formula for median value calculation in statistics, photo by author</figcaption></figure><p><strong>In the presentation case, use both values.</strong></p><p>How do we code it in R and how do we interpret it?</p><pre>median(variable_name)</pre><figure><img alt="R output for median value calculation and its result" src="https://cdn-images-1.medium.com/max/254/1*vS6y-oqJeTs1r_HTyTSJaA.png" /><figcaption>R output for median value calculation and its result</figcaption></figure><p>INTERPRETATION — 50% of the butter production is lower than 133.156 tons, and 50% is higher than 133.156 tons. On the other hand, 50% of the cheese production is lower than 730.333 tons, and 50% is higher than 730.333 tons.</p><h4><strong>Mod</strong>e</h4><p>The most frequently occurring value is quite used in categorical data. One dataset can have multiple modes, and outliers do not affect this value.</p><p><strong>It is quite useful with nominal and discrete data in a presentation case. Do not use mode with continuous data, as those values tend to be unique (decimal), and probably won’t yield a mode value.</strong></p><p>How do we use it in R?</p><pre>mode(variable_name)  # in this case we didn&#39;t compute it, as we are dealing with continuous data!</pre><h3>HOW FAR IS THE DISTRIBUTION GOING? — MEASURES OF VARIABILITY AND DISPERSION</h3><p>Once you compute your measures of central tendency — mean, median, and mode — those alone don’t tell you much about the distribution’s range or skewness. For that, we use measures of variability and dispersion.</p><h4>Range</h4><p>Presents the difference between the largest and smallest values in a dataset. It gives you a measure of how spread out your values are, and of course, since it involves both borders, it is significantly affected by outliers. Additionally, because it only uses the border values, it doesn’t give you any information about the rest of the data points in between.</p><figure><img alt="This is a formula to calculate a range in statistics" src="https://cdn-images-1.medium.com/max/320/0*qzsp51NPKtziM9XH" /><figcaption>Formula for range, photo by author</figcaption></figure><p><strong>In a presentation case, there is no necessity to use or present this value, as you will mostly deal with large datasets.</strong></p><p>How do we code it in R and how do we interpret it?</p><pre>range(variable_name)</pre><figure><img alt="Formula to calculate range in R, and its output" src="https://cdn-images-1.medium.com/max/219/1*SgEBkxJUanuIUJDemxMwHg.png" /><figcaption>Formula to calculate range in R, and its output, photo by author</figcaption></figure><p>INTERPRETATION — Butter production ranges between 101.000 tons and 161.131 tons between 1995 and 2023, whereas cheese production ranges from 639.000 tons to 972.734 tons between 1995 and 2023.</p><h4>Variance</h4><p>The range doesn’t give us any particular information on the data between minimal and maximum values. Variance provides us with that information by giving the average value of the squared differences between each data value and the mean (squared so we mitigate the negative values).</p><figure><img alt="Formula to calculate sample variance in statistics" src="https://cdn-images-1.medium.com/max/322/0*iUdqHOYIMc_ka9xZ" /><figcaption>Formula to calculate a sample variance, photo by author</figcaption></figure><p>As it uses all values in a dataset, it is sensitive to outliers, even more so because we are squaring the values, so we are making the differences and the values bigger than they are.</p><p><strong>In a presentation case, there is no necessity to use or present this value, it is better to show standard deviation.</strong></p><p>How do we code it in R?</p><pre>var(variable_name)</pre><figure><img alt="R calculation of variance and its output" src="https://cdn-images-1.medium.com/max/229/1*2VZQvtcuGTdLRfMgh8TEUg.png" /><figcaption>R calculation of variance and its output, photo by author</figcaption></figure><h4>Standard deviation</h4><p>With variance, we are squaring the values, making them look bigger than they are, and those values are not in the same units as the data. To do so, we square root the variance to get the standard deviation, which then measures the average distance of data values from the mean.</p><figure><img alt="Formula for standard deviation calculation in statistics" src="https://cdn-images-1.medium.com/max/191/1*bHwTwkJHR6BNZcB3fB3nbA.png" /><figcaption>The formula for standard deviation calculation in statistics, photo by author</figcaption></figure><p><strong>As it uses all values, it is sensitive to outliers. In a presentation case, use this value to present the spread of the data.</strong></p><p>How do we code it in R and how do we interpret it?</p><pre>sd(variable_name)</pre><figure><img alt="R code for standard deviation calculation and its output" src="https://cdn-images-1.medium.com/max/202/1*kk4mKEs7lT_veCF4t1QCvw.png" /><figcaption>R code for standard deviation calculation and its output, photo by author</figcaption></figure><p>INTERPRETATION — Butter production deviates from the mean value of about 12,39 tons, and cheese production differs from the mean value of about 109,36 tons.</p><h4>Interquartile range</h4><p>We can use the interquartile range or IQR to gain even more insights into the middle part of the data, between minimal and maximal values<a href="https://majanalytics.com/2024/05/07/exploring-data-variability-analyzing-with-boxplots-in-r/">.</a> It measures the difference between the upper quartile (Q3) and lower quartile (Q1), so basically it gives us insight into the middle 50% of the data (quartiles present 25% of the data).</p><figure><img alt="Formula to calculate interquartile range (IQR)" src="https://cdn-images-1.medium.com/max/169/0*4Wn8Q5QFzfE7GbF-" /><figcaption>Formula to calculate interquartile range (IQR), photo by author</figcaption></figure><p>It is used to identify outliers, and it is a common rule that everything below Q1 — 1.5 * IQR and Q3 + 1.5 * IQR is considered outliers or at least something to pay attention to <em>(values above 3 * IQR are an outlier).</em></p><p>If IQR is smaller, it can indicate that the central data points are closely packed around the median, suggesting low variability. On the other hand, a larger IQR might indicate that the central points are spread out, their range/difference is larger, suggesting higher variability. <em>If you’re dealing with big datasets, it is quite hard to see what is small or large IQR, so other methods should be used to quantify variability.</em></p><p><strong>In a presentation case, present quartile values with calculated IQR will show how the data values are scattered/ranged from 25%, 50%, and 75% (on a quartile basis).</strong></p><p>How do we code it in R and how do we interpret it?</p><pre>IQR(variable_name)</pre><figure><img alt="This is an R code formula for interquartile range and its output" src="https://cdn-images-1.medium.com/max/189/1*Vp6BawyIG_i1SVnvyUbFhQ.png" /><figcaption>R code for IQR and output, photo by author</figcaption></figure><p>INTERPRETATION — The range between the lower 25% of the data and the upper 25% of the data for butter production is about 11 tons, whereas for cheese production that’s much higher, about 191 tons. As you can see, as we would be dealing with bigger datasets, we don’t know if 11 and 191 tons is a higher number or not, thus it makes it harder to quantify variability as such.</p><h4>Coefficient of variation (CV)</h4><p>CV is an additional value you don’t have to use to measure dispersion, as it is mostly used to compare variations between data series or datasets. It calculates the ratio of the standard deviation to the mean.</p><figure><img alt="This is a formula for coefficient of variation (CV)" src="https://cdn-images-1.medium.com/max/164/0*b1xSChMD7dMpWap8" /><figcaption>The formula for CV computation, photo by author</figcaption></figure><p>How do we code it in R and how do we interpret it?</p><figure><img alt="This is a formula/code for CV in R programming and its output" src="https://cdn-images-1.medium.com/max/459/1*nYwY6gGne6-2bLc7wkMA-g.png" /><figcaption>R code for CV and its output, photo by author</figcaption></figure><p>INTERPRETATION — For butter production, the standard deviation is 9,37% of its mean value. But at this moment, we are not comparing productions or different data time series.</p><h3>IS THE DISTRIBUTION SKEWED? — measures of skewness and kurtosis</h3><p>When put together, measures of central tendency form a relationship that shows skewness.</p><blockquote>Skewness is a statistical measure that describes the asymmetry of a data distribution around its mean, and it uses the relationship of mean, median, and mode values.</blockquote><blockquote>Kurtosis on the other side is a statistical measure that describes the shape of a distribution’s tails about its overall shape, aka measures tailedness and peak height.</blockquote><p>For more on skewness and kurtosis, check <a href="https://majanalytics.com/2024/07/04/the-importance-of-skewness-and-kurtosis-in-statistical-analysis-examples-in-r-studio/">this article</a> where I have written detailed explanations about it and put R examples.</p><p>A common rule for skewness is to observe mean, median, and mode values (in this case only mean and median values)</p><blockquote><strong>Mean &gt; Median → left-skewed distribution → negative skewness → more results on the higher values side</strong></blockquote><blockquote><strong>Median &gt; Mean → right-skewed distribution → positive skewness → more results on the lower values side</strong></blockquote><p><strong>How do we use it in R?</strong></p><p><strong>Calculate the summary of the variables</strong> by using <em>summary(dataset_name)</em> code in R. You will get an output like this. We are only looking at the second and third columns with production numbers. You can see that for butter production median and mean are equal, which means zero skewness (symmetric distribution). Cheese production has different mean and median values (mean is higher), which means that we have a negative skewness.</p><figure><img alt="This is a code for summary() in R for the dataset and its output" src="https://cdn-images-1.medium.com/max/396/1*G2QMdgFdM4x6a5OO0APe3A.png" /><figcaption>Summary output for the dataset in R, photo by author</figcaption></figure><p>On the other hand, we have kurtosis with the following values:</p><blockquote><strong>Mesokurtic — kurtosis = 0 — normal distribution, tails are moderate</strong></blockquote><blockquote><strong>Leptokurtic — kurtosis &gt; 0 — distribution with heavier tails and sharper peak than mesokurtic kurtosis, more outliers might be present as well.</strong></blockquote><blockquote><strong>Platykurtic — kurtosis &lt; 0 — distribution with lighter tails and flatter peak than mesokurtic distribution, can indicate less outliers.</strong></blockquote><p><strong>Pay attention! When analyzing real-world data, more often than not, the distribution’s look and their kurtosis level don’t fit the theory presented here.</strong></p><pre>kurtosis(variable_name)</pre><figure><img alt="R code for kurtosis and its output for this dataset" src="https://cdn-images-1.medium.com/max/427/1*57hLXYrLZPi5dKZcmKTLFQ.png" /><figcaption>R code for kurtosis and its output for this dataset, photo by author</figcaption></figure><h3>VISUALIZING THE DISTRIBUTION</h3><p>As you can see above, all those measures can be calculated in R and other statistical tools. When you have a huge dataset in front of you to analyze, observing numbers is not enough — you should visualize it and see it with your own eyes, especially for outlier detection.</p><p>By using the <strong>ggplot2</strong> package within the R system, you can choose from a myriad of plots — bar plot, box plot, histogram, mosaic, scatter plot, etc.</p><p>Check <a href="https://majanalytics.com/2024/05/17/choosing-the-right-graph-for-your-data-visualization-project-examples-in-r/">this guide</a> to see which graphics suits your data the best. When it comes to the outlier detection, <strong>a box plot</strong> is crucial here because it uses dots to show you which values are potential outliers, and are too far away from the rest of the distribution. Another visualization you can use is a histogram, but in R, outlier detection via this visualization highly depends on how many “boxes/bins” you decide to have in your histogram, or which values you plan to group.</p><p><strong>How do we use it in R?</strong></p><p>For these variables, I can use a scatter plot and box plot to show how you can visualize your dataset, and detect possible outliers.</p><pre>ggplot(data,aes(x=Year,y=Butter_production)) + geom_line(fill=&quot;#088395&quot;,colour=&quot;#071952&quot;) + ggtitle(&quot;Movement of butter production in tons&quot;) + xlab(&quot;Year period&quot;) + ylab(&quot;Butter production in 000 tons&quot;) + geom_point()</pre><figure><img alt="Scatter plot for butter production in tons in R" src="https://cdn-images-1.medium.com/max/635/1*BPooGI3k1EwzC5J3GSUaaQ.png" /><figcaption>Scatter plot for butter production in tons, photo by author</figcaption></figure><p>As you can see on the scatter plot, butter production had a dip in 2004, and grew almost steadily until 2016, after when it dropped again.</p><p>It is your job as an analyst to find out what is the reason for this movement for your dataset — is it campaigns, promotions, price elasticity, customers losing their loyalty to your brand, your input’s price going up, your general costs going up, etc. Use your knowledge of the business, competition, and market, to understand what is going on with your service and product.</p><pre>ggplot(data,aes(x=Year,y=Cheese_production)) + geom_line(fill=&quot;#088395&quot;,colour=&quot;#071952&quot;) + ggtitle(&quot;Movement of cheese production in tons&quot;) + xlab(&quot;Year period&quot;) + ylab(&quot;Cheese production in 000 tons&quot;) + geom_point(</pre><figure><img alt="This is a scatterplot of cheese production in tons in R" src="https://cdn-images-1.medium.com/max/631/1*SWk_kx2peUSX9woRC4Vb5Q.png" /><figcaption>Scatter plot for cheese production in tons, photo by author</figcaption></figure><p>On the other hand, cheese production has been steadily going up, since 1998, when it had its lowest point, together with 2002.</p><pre>library(ggplot2)<br>ggplot(data,aes(x=Butter_production)) + geom_boxplot(fill=&quot;#088395&quot;,colour=&quot;#071952&quot;) + ggtitle(&quot;Boxplot of butter production&quot;) + xlab(&quot;Butter production in tons&quot;)</pre><figure><img alt="This is a boxplot in R for butter production in tons" src="https://cdn-images-1.medium.com/max/642/1*pRiW2uVjB-n0FccuWx9eQw.png" /><figcaption>Boxplot for butter productions in tons, photo by author</figcaption></figure><p>For outlier detection, we use boxplots. You can see on this butter production box plot that it has dots on both sides. That means that those values were higher or lower than Q1/Q3 +/- 1.5 * IQR, and should be explored. In the real world, it is not to be expected that a production would go up all the time.</p><p>Sometimes, over a great period of time, you might expect a normal distribution of a product over its full product cycle. Think about the profit parameter— you start small, then you start investing in promotion and marketing, getting more demand, so naturally your profits go up. With time, you might upgrade your product so the profits go up, but then you notice the saturation on the market, you introduce new products that replace the first one, competition gets harder, so the profits get less and less. It depends when do you remove that product from the market, so the profits can be higher (making the distribution not normal, because the tails are not the same), or very low (making it at the same level as when you started with selling the product, hence the tails are a big close together in sizes).</p><pre>library(ggplot2)<br>ggplot(data,aes(x=Cheese_production)) + geom_boxplot(fill=&quot;#088395&quot;,colour=&quot;#071952&quot;) + ggtitle(&quot;Boxplot of cheese production&quot;) + xlab(&quot;Cheese production in tons&quot;)</pre><figure><img alt="This is a boxplot in R for cheese production in tons" src="https://cdn-images-1.medium.com/max/647/1*IKigHmPU4qApIguJViL90g.png" /><figcaption>Boxplot for cheese productions in tons, photo by author</figcaption></figure><p>For the cheese production, you can’t see any visible outliers on the boxplot, aka there are no dots as on the previous boxplot for butter production.</p><h3>OUTLIER DETECTED!? — HOW DO YOU DETECT AN OUTLIER IN YOUR DISTRIBUTION AND WHAT TO DO WITH IT?</h3><p>By visualizing your data, you can easily detect an outlier. The easiest way is to draw a boxplot, and the code/graphics itself will show you dots for those data values that might be outliers. Identifying outliers is a crucial step in your analysis, because they can indicate data entry errors, and strong variability, and can be on the way to applying your methods and techniques that require non-outlier distribution (basically normal distribution, as said in the beginning of this article).</p><blockquote><strong>Don’t get fooled! — your data doesn’t have to be normal if it doesn’t take the normal distribution shape in the population from where you took your data in the first place.</strong></blockquote><p>There are some parts of the population where outliers are normal parts of it, and don’t have to be deleted or dealt with, but you have to be aware of the prerequisites/requirements of the techniques you’re planning to use on a dataset.</p><p>Nevertheless, you should ACKNOWLEDGE outliers, know from which population your data comes, and act accordingly. Deleting outliers often doesn’t solve the issue — by deleting you shrink the dataset size, the remaining values can shuffle around, and some old values tend to put themselves on the spot of the old outliers as the newly found outliers (even if we are talking about deleting one single value). <a href="https://majanalytics.com/2024/05/01/understanding-outliers-in-data-analysis-insights-from-r/">Read here</a> more about how you can detect outliers and what it looks like in R.</p><p>If you won’t use any advanced statistics techniques and methods, such as linear regression, predictive analytics, hypothesis testing, but merely using R for results/dashboarding the numbers, then it is fine to leave the outliers as it is, but once again — report them and give your own insights from the data analytics POV why are they there.</p><h3>Context of the distribution, data, and its collection</h3><p>As we said in the beginning of this long article, as a data analyst, sometimes you’re not sure how the data got collected, what possible statistical errors (such as bias error) stand behind it, and how much can you trust your numbers. That mostly happens when you’re a junior data analyst or just got hired in a company. It takes time for you to introduce yourself to the systems — logistics, marketing, campaigns, price, supply, and how they all work together in an ecosystem.</p><p>On the other hand, if you’re just an aspiring data analyst or learning data analytics and statistics, and you just found a dataset online, then it’s tricky to find out everything possible about the data collection, and you have to make presumptions yourself. If you download a dataset from the government open portal sites, most of the time you have a very clear data collection information, and can put together multiple datasets easily.</p><h3>CONCLUSION</h3><p>Understanding the details of your dataset is a fundamental aspect of successful data analysis. Whether you are working with a dataset from an open data portal or one inherited from a company system, knowing how the data was collected, its ecosystem, and potential outliers will enhance your analytical insights. By using statistical techniques such as measures of central tendency, variability, and visualization tools like box plots and scatter plots, you can identify important trends, anomalies, and key areas of focus within the data.</p><p>Ultimately, mastering these statistical essentials equips you to confidently tackle any dataset, giving your team and stakeholders a clearer understanding of the underlying data. This guide serves as a foundation, but continuous learning and practice will further solidify your expertise in data analysis. Remember, the more you familiarize yourself with the data and its context, the more accurate and impactful your insights will be.</p><h4>References:</h4><p>[1] Milk supply and dairy production by dairy factories, CBS Open data StatLine (2024), <a href="https://opendata.cbs.nl/statline/portal.html?_la=en&amp;_catalog=CBS&amp;tableId=7425eng&amp;_theme=1139">https://opendata.cbs.nl/statline/portal.html?_la=en&amp;_catalog=CBS&amp;tableId=7425eng&amp;_theme=1139</a>; CC BY 4.0 license</p><p>Check my next article about quantitative data and how to visualize it with the help of the ggplot2 package in the R environment:</p><ul><li><a href="https://majanalytics.medium.com/plotting-matrimony-a-step-by-step-guide-to-quantitative-data-visualization-in-r-using-dutch-a930d3fe34c3">Plotting Matrimony: A Step-by-Step Guide to Quantitative Data Visualization in R using Dutch…</a></li><li><a href="https://majanalytics.medium.com/a-nation-in-numbers-the-dutch-family-changes-in-the-modern-era-a-data-analysis-case-study-1866f21b0bdf">A Nation in Numbers: The Dutch family changes in the modern era — a data analysis case study —…</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b11f81ab3f8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/womenintechnology/cheese-butter-and-data-a-complete-r-data-analysis-guide-using-dutch-dairy-production-data-6b11f81ab3f8">Cheese, Butter, and Data: A Complete R Data Analysis Guide using Dutch Dairy Production Data</a> was originally published in <a href="https://medium.com/womenintechnology">Women in Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The 5 W’s Framework: A Strategic Approach to Data Analysis]]></title>
            <link>https://medium.com/womenintechnology/the-5-ws-framework-a-strategic-approach-to-data-analysis-e8513ce5c052?source=rss-16bc7262df40------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8513ce5c052</guid>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[stakeholder]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-analytics]]></category>
            <dc:creator><![CDATA[Majanalytics]]></dc:creator>
            <pubDate>Wed, 21 Aug 2024 09:39:26 GMT</pubDate>
            <atom:updated>2024-10-03T11:42:48.177Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This blog post is part of a </em><strong><em>“Statistics Essentials”</em></strong><em> series of stories about the basics of statistics, and its vocabulary. To read all the posts that are a part of it, click here. The list is frequently updated.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7bina7yfEkkdm8fI" /><figcaption>Photo by <a href="https://unsplash.com/@marcusurbenz?utm_source=medium&amp;utm_medium=referral">Marcus Urbenz</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>INTRODUCTION</h3><p>Inevitably, we live in an era of big data and all parties involved have their challenges to deal with:</p><ol><li><strong>stakeholders</strong> — their challenge is decision-making, and how to use the data they have to make big impactful decisions, in a space of so much volatility and changes on a global scale. Sometimes it happens that data analysts don’t talk in layman’s terms and explain it simply, so stakeholders have issues understanding their data, or the company simply isn’t too data-driven.</li><li><strong>Data analysts — </strong>how to make sense of all that noise coming from data sources, marketing systems, CRMs, and databases, to be a right hand for the stakeholders, to help them with their decision making, and to guide them through.</li><li><strong>customers </strong>— these days, we have too many options to buy products and services, having difficulties choosing the best choice. Loyalty with the big brands is no longer popular or at least not as long-term as it was in the past, and the whole package is being reviewed — price, product, quality, promotion, and warranty. Depending on to which generation you belong, you might even pay extra attention to the company’s reputation and decide to not buy anything from them.</li><li>marketing department — on the other hand, because some customers might be so versatile and not have hard loyalty towards the company, it is making it harder to create profitable campaigns and to tag all generations, because each generation has their way of communicating.</li></ol><figure><img alt="This is a photo of a stakeholder’s meeting." src="https://cdn-images-1.medium.com/max/1024/1*n-GolBeWA52bROOMxZmAMg.jpeg" /><figcaption>Photo by Rebrand Cities on <a href="https://www.pexels.com/photo/group-of-people-sitting-in-front-of-table-1367275/">Pexels.com</a></figcaption></figure><h3>THE 5 W’S FRAMEWORK</h3><p>When you have a situation like this, so volatile and ever-changing, how do you even come up with a framework that’ll work in most situations? Data analytics has a framework called <strong>“The 5 W’s”</strong>, and it represents five points to guide your analysis and decision-making. It is usually viewed from a data perspective, but I will give both data and people’s perspectives of it. Here you can read it from a data perspective, and you can read the people’s perspective on <a href="https://majanalytics.com/2024/08/21/the-5-ws-framework-a-strategic-approach-to-data-analysis/">my blog</a>. The cheat sheet is included <a href="https://majanalytics.com/cheat-sheets/">here</a>.</p><p>EXAMPLE — Level of happiness of undergraduate studies students at XY University between 2020 and 2024.</p><p><strong>FIRST W’ — WHO</strong></p><p>The WHO question identifies the individual cases or subjects in the study.<br>The individual cases or subjects are the <strong>students</strong> in all undergraduate studies at that particular university.</p><p><strong>SECOND W’ — WHAT</strong></p><p>Taking into consideration the above-written example, the What question researches the <strong>level of happiness </strong>of those students.</p><p><strong>THIRD W’ — WHEN</strong></p><p>We are talking about the time dimension here, and in our example, that would be between 2020 and 2024.</p><p><strong>FOURTH W’ — WHERE</strong></p><p>We are taking into consideration the location, whether that is a micro (one office, university) or macro location (country, state, continent). In our case, that would be <strong>XY University.</strong></p><p><strong>FIFTH W’ — WHY</strong></p><p>Now, the answer to the question WHY is not explicitly mentioned in the example name per se, and there might be multiple reasons to conduct such an analysis. It might be on a strategic level, so you want to explore leisure activities for students outside of the University (but still organized by the University), explore if the subjects/courses are too stressful for the students, etc.</p><h3>CONCLUSION</h3><p>The 5 W’s Framework offers a structured approach to data analysis, ensuring that every aspect of the process is covered. By methodically asking and answering the questions of Who, What, When, Where, and Why, analysts can develop a deep understanding of their data, draw meaningful insights, and make informed decisions that drive business success.</p><p>Make sure to visit <a href="https://majanalytics.com/2024/08/21/the-5-ws-framework-a-strategic-approach-to-data-analysis/">my blog</a> for the extended view of this post, and to download your <a href="https://majanalytics.com/cheat-sheets/">cheat sheet</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8513ce5c052" width="1" height="1" alt=""><hr><p><a href="https://medium.com/womenintechnology/the-5-ws-framework-a-strategic-approach-to-data-analysis-e8513ce5c052">The 5 W’s Framework: A Strategic Approach to Data Analysis</a> was originally published in <a href="https://medium.com/womenintechnology">Women in Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Guide to Hypothesis Testing Tests and Their Underlying Assumptions]]></title>
            <link>https://medium.com/womenintechnology/a-guide-to-hypothesis-testing-tests-and-their-underlying-assumptions-2ebc2e3d0f97?source=rss-16bc7262df40------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ebc2e3d0f97</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[hypothesis-testing]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[r]]></category>
            <category><![CDATA[statistics]]></category>
            <dc:creator><![CDATA[Majanalytics]]></dc:creator>
            <pubDate>Wed, 07 Aug 2024 09:21:41 GMT</pubDate>
            <atom:updated>2024-11-20T11:36:03.521Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This blog post is part of a </em><strong><em>“Statistical Hypothesis Essentials”</em></strong><em> series of stories about the basics of hypothesis testing, and its vocabulary. To read all the posts that are a part of it, </em><a href="https://majanalytics.medium.com/list/statistical-hypothesis-essentials-40bb35c504b0"><em>click here</em></a><em>. The list is frequently updated.</em></p><p>📮<strong> Make sure you don’t miss out! Click </strong><a href="https://medium.com/@majanalytics"><strong>HERE</strong></a><strong> to follow me and subscribe to an e-mail list to ensure you are among the first to get the article! For detailed articles, cheat sheets, glossaries, and case studies, please follow my website </strong><a href="http://www.majanalytics.com/"><strong>Majanalytics</strong></a><strong>.</strong></p><h3>INTRODUCTION</h3><p>As I said in the earlier <a href="https://majanalytics.com/2024/08/02/mastering-hypothesis-testing-a-beginners-guide-theoretical-knowledge/">article</a>, hypothesis testing is one of the most used statistical methods, being a part of inferential statistics. It consists of null and alternative hypotheses, alpha level, and test statistics. The testing itself has its assumptions like normality and independence of observations, but it is important to clarify the assumptions of test statistics as well.</p><h3><strong>IMPORTANCE OF TEST STATISTICS IN HYPOTHESIS TESTING</strong></h3><p>Test statistics is used to measure how far away the sample data deviates from the null hypothesis. The choice of which test statistics you will choose depends on multiple things, such as:</p><ol><li>type of data</li><li>sample size</li><li>assumptions are met — normality, equal variances…</li></ol><p>To calculate a test statistic, follow this procedure:</p><ol><li><strong>formulate both hypotheses</strong></li><li><strong>and collect the sample data </strong>— that will allow you to do hypothesis testing. Make clear goals for the sample collection.</li><li><strong>choose the appropriate test</strong> — perform <a href="https://majanalytics.com/2024/03/28/mastering-the-basics-exploring-descriptive-statistics-in-data-analysis/">EDA</a> and evaluate your data. Your data should be at least checking the normality prerequisite, as that is a prerequisite for almost all tests. If your EDA shows outliers, you should see why they happen, evaluate them, and decide on what to do with them (to standardize data, log the data, delete the outliers…). Check this <a href="https://majanalytics.com/2024/05/01/understanding-outliers-in-data-analysis-insights-from-r/">article</a> to see all the options and how to identify outliers.</li><li><strong>calculate the test statistic </strong>— use the formula that is specific to the chosen test and calculate it based on sample data and the variables.</li></ol><h3>TESTS IN HYPOTHESIS TESTING PROCESS</h3><p>There are a few tests that you can use in hypothesis testing, but the most used ones are:</p><h4>1. z-test</h4><p>You might hear about standardization and z-scores, and this test makes you believe it might be on the same lane. It is used when the sample size is large (n&gt;30) and the population standard deviation is known. When you are performing your research, you might use this test as you know out of which population you took the sample, or the population is quite small (i.e. all students at college XY).</p><p>This test is used to determine if there is a difference between the sample’s and the population’s mean, or between the means of two samples. It is based on z-distribution which is another name for a standard normal distribution (hence the name z-test).</p><p>It can be one-sample, two-sample, or z-test for proportions.</p><p>Assumptions to use this test are the following:</p><ol><li>sample size has to be greater than 30</li><li>the population’s standard deviation is known</li><li>the data has to be approximately normally distributed</li></ol><p>Most of the time, the population’s standard deviation is not known and it is not smart to just presume it, or fake that you know it, as it can distort the whole testing process. If you would like to calculate it manually, then this is the formula for it:</p><figure><img alt="This is a written formula for z-score calculation in statistics." src="https://cdn-images-1.medium.com/max/348/1*eTLEYFZ1zrmbR8sIUOs7lw.png" /></figure><p>In R environment, there are two ways to calculate it:</p><p>a. putting this manual formula in R:</p><pre>z_test=(sample_mean - population_mean) / (population_sd / sqrt(sample_size))<br>print(z_test)</pre><p>b. download an appropriate package and perform a z test:</p><pre>library(BSDA)<br>#prepare the sample data and attach it<br>ztest=z.test(sample,mu=XY,sigma.x=YX)<br>print(ztest)<br><br>#mu is the population mean<br>#sigma.x is the known population standard deviation</pre><h4><strong>2. t-test</strong></h4><p>The most used test statistic is <em>the t-test</em>, as most of the datasets we find only are not quite clear about their population, or the parameters of the population are not that easy to find. Other than that, it is also used when our sample size is very small (n&lt;30). If you would like to calculate it manually, then this is the formula for it:</p><figure><img alt="This is a formula for t-test in statistics." src="https://cdn-images-1.medium.com/max/346/1*FU_83gzRGlikW-8JA_b7aA.png" /></figure><p>In the R environment, you can calculate it in the following way:</p><pre>#prepare the sample data and attach it<br>ttest=t.test(sample,mu=XY)<br>print(ttest$statistic)<br><br>#mu is the population&#39;s mean.</pre><p>A T-test is a test that we use to determine if a difference between two averages is real or just a coincidence. It takes samples from both groups to determine if there is a difference between the means of the two groups, all while considering the sample size and variability (as you can see in the formula itself). It can be a one-sample, two-sample, and paired-sample t-test.</p><p>The test is used when:</p><ol><li>data is on an interval or ratio scale</li><li>data is approximately normally distributed</li><li>the samples are independent or paired (depending on which test you perform)</li><li>the variances of the populations are equal</li><li>the sample size is not too small, aka it has to be larger than 30</li></ol><p>In one of the following articles in this series, I will write a detailed article about t-testing, with examples in R.</p><h4>3. ANOVA</h4><p>ANOVA test is used to compare means among three or more groups to see if at least one group&#39;s mean is different from the others. It can be one-way or two-way, depending on how many independent variables you use (those independent variables are categorical). It involves calculating the F-statistic, which is the ratio of the variance between the groups to the variance within the groups.</p><p>Assumptions of ANOVA are the following:</p><ol><li>the samples are independent of each other</li><li>the data in each group should be approximately normally distributed</li><li>the variances in different groups should be approximately equal</li></ol><p>In the R environment, you can calculate it in the following way:</p><pre>anova=aov(y~x,data=name_of_your_dataset) #for one-way anova<br>summary(anova)<br><br>OR<br><br>anova=aov(y~x + z,data=name_of_your_dataset) #for two-way anova<br>summary(anova)</pre><h4>4. Chi-square test</h4><p>A chi-square test is used for categorical data to assess how likely it is that an observed distribution is due to chance/luck. It evaluates if there is a relationship/correlation/dependence between the categories of the two variables, so we need numerical and categorical variables. Most of the time, those two types of variables create a contingency table.</p><p>The test is used when:</p><ol><li>the data is in the form of counts/frequencies for categories</li><li>each frequency should not be less than 5</li><li>the observations should be independent of each other</li></ol><p>Manually, you can calculate it in the following way:</p><figure><img alt="This is a formula for chi-square test in statistics." src="https://cdn-images-1.medium.com/max/343/1*BaYzvY1SI19-7apO9wb-Vg.png" /></figure><p>Most of the time, you will deal with a greater dataset that will have more numerical and more categorical variables, and you only need a few of them for this test. In that case, you can create a contingency table of your own, like this:</p><pre>condata=data.frame(dataset_name$x, dataset_name$y)<br>condata=table(dataset_name$x, dataset_name$y)</pre><p>Only then you can apply a chi-square test in R, by writing this code:</p><pre>print(chisq.test(condata)) <br>#this code both calculates the test and prints out the output.</pre><h3>CONCLUSION</h3><p>Understanding the appropriate hypothesis test and its assumptions is critical for accurate statistical analysis. When assumptions are not met, it is essential to use alternative methods to ensure the validity of your results, such as non-parametric tests which are used when the data is not normally distributed, or there is a small sample size. By carefully considering these factors, you can make more informed decisions and draw more reliable conclusions from your data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ebc2e3d0f97" width="1" height="1" alt=""><hr><p><a href="https://medium.com/womenintechnology/a-guide-to-hypothesis-testing-tests-and-their-underlying-assumptions-2ebc2e3d0f97">A Guide to Hypothesis Testing Tests and Their Underlying Assumptions</a> was originally published in <a href="https://medium.com/womenintechnology">Women in Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering hypothesis testing: A beginner’s guide — theoretical knowledge]]></title>
            <link>https://medium.com/womenintechnology/mastering-hypothesis-testing-a-beginners-guide-theoretical-knowledge-b2ed9def2f1a?source=rss-16bc7262df40------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2ed9def2f1a</guid>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[hypothesis-testing]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[hypothesis]]></category>
            <dc:creator><![CDATA[Majanalytics]]></dc:creator>
            <pubDate>Fri, 02 Aug 2024 09:16:48 GMT</pubDate>
            <atom:updated>2024-11-20T11:29:48.141Z</atom:updated>
            <content:encoded><![CDATA[<h2>Mastering hypothesis testing: A beginner’s guide — theoretical knowledge</h2><p><em>This blog post is part of a </em><strong><em>“Statistical Hypothesis Essentials”</em></strong><em> series of stories about the basics of hypothesis testing, and its vocabulary. To read all the posts that are a part of it, </em><a href="https://majanalytics.medium.com/list/statistical-hypothesis-essentials-40bb35c504b0"><em>click here</em></a><em>. The list is frequently updated.</em></p><p>📮<strong> Make sure you don’t miss out! Click </strong><a href="https://medium.com/@majanalytics"><strong>HERE</strong></a><strong> to follow me and subscribe to an e-mail list to ensure you are among the first to get the article! For detailed articles, cheat sheets, glossaries, and case studies, please follow my website </strong><a href="http://www.majanalytics.com/"><strong>Majanalytics</strong></a><strong>.</strong></p><h3>INTRODUCTION</h3><p>The field of statistics is usually divided into two baskets – descriptive and inferential statistics. Using methods and techniques of descriptive statistics, you get introduced to the dataset and its variables, their distribution, etc. With inferential statistics, you go more deeply into relationships between variables and make inferences – or decisions. One part of the inferential statistics which is used very often is hypothesis testing.</p><p>In this article, I will write about the basics of hypothesis testing, its key parts, and its underlying assumptions. This article will include theoretical knowledge only.</p><h3>HYPOTHESIS TESTING – WHAT DOES IT STAND FOR?</h3><p><strong>Hypothesis testing</strong> is one of the most used statistical methods, mainly used to make decisions (inferences) about a population parameter based on a sample of data. Since it is not smart to research the whole population (mainly because of cost and time, but oftentimes because of availability of one), we research a small portion of that population (in order words, we sample it). Based on that sample and its statistics, we try to find out something about the population where the sample comes from.</p><p>Hypothesis testing is a method that helps us determine whether the evidence in a sample supports a specific hypothesis about a population.</p><h3>KEY COMPONENTS OF HYPOTHESIS TESTING</h3><p>There are a couple of components in hypothesis testing, like:</p><ol><li><strong>null hypothesis (H0) </strong>— it represents a statement of no effect, or status quo. It is the hypothesis that researchers typically go/test against.<br>For example — the average weight of the population is 70 kilograms.</li><li><strong>alternative hypothesis (H1, Ha)</strong> — it represents a statement of a change, it goes against the null hypothesis. That is a statement which researcher expects or wants to test for.<br>For example — the average weight of the population is not 70 kilograms.</li><li><strong>test statistic</strong> — it is calculated from the sample data, and it is used to determine the likelihood of observing the sample data under the null hypothesis, or that the null hypothesis can’t be rejected. Usually, we use z-score or t-score (using t-test or z-test). The choice of which test we will use depends on the type of data, sample size, and the assumptions of each test. Common tests are t-test, z-test, chi-square test, and ANOVA.</li><li><strong>Significance level (alpha)</strong> — it is the threshold or boundary for deciding whether to reject the null hypothesis. The most common alpha is 0.05, but 0.01 and 0.10 can also be used, depending on how sturdy the boundary has to be.<br>Example — 0.05 means that there is 5% risk of rejecting the null hypothesis when it is true.</li><li><strong>p-value </strong>— it is the value/probability of obtaining test results (gotten with the test statistics) as extreme as the observed results, which assumes that the null hypothesis can’t be rejected.<br>For example — a p-value of 0.03 means that there is a 3% chance of observing the sample data if the null hypothesis is true.</li><li><strong>decision rule</strong> — this rule puts together the p-value and significance level. Based on those two, a decision can be made whether we reject or fail to reject the null hypothesis.<br><strong>(CAUTION — you can never say that you accept the null hypothesis, you can only FAIL to reject it)<br></strong>For example — if the p-value is lower than alpha, you can reject the null hypothesis. If the p-value is higher or equal to alpha, you fail to reject the null hypothesis.</li></ol><h3>ASSUMPTIONS OF HYPOTHESIS TESTING</h3><p>Before you can decide if your data is ready for hypothesis testing, you have to check the assumptions or prerequisites for test statistics used in the testing process. Two tests that are mostly used are z- and t-tests, so we will check the prerequisites for the t-test mainly:</p><ol><li><strong>independence</strong> — observations would have to be independent of each other. To check that, you would have to be introduced to the study design.</li><li><strong>normality</strong> — the data should be approximately normally distributed. To check that, you can draw a boxplot and histogram to visualize the variables. Test-wise, you can use the Shapiro-Wilk test or additionally use the Q-Q plot.</li><li><strong>homogeneity of variances</strong> — for two sample t-tests, the variances in the two groups should be equal, for the standard t-test. To check this, use Levene’s test or Bartlett’s test.</li></ol><p><em>To know what are the exact steps in hypothesis testing and the next steps in this series, please visit my </em><a href="http://www.majanalytics.com/"><em>website</em></a><em> to keep reading this article. This article is a part of </em><strong><em>the Hypothesis testing series</em></strong><em>, where I will explain all parts of the testing, how to write code for it in R, and how to understand and explain the findings of each test.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2ed9def2f1a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/womenintechnology/mastering-hypothesis-testing-a-beginners-guide-theoretical-knowledge-b2ed9def2f1a">Mastering hypothesis testing: A beginner’s guide — theoretical knowledge</a> was originally published in <a href="https://medium.com/womenintechnology">Women in Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Importance of Skewness and Kurtosis in Statistical Analysis — examples in R Studio]]></title>
            <link>https://medium.com/womenintechnology/the-importance-of-skewness-and-kurtosis-in-statistical-analysis-examples-in-r-studio-9a0c842a4933?source=rss-16bc7262df40------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a0c842a4933</guid>
            <category><![CDATA[outliers]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[r]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[statistics]]></category>
            <dc:creator><![CDATA[Majanalytics]]></dc:creator>
            <pubDate>Thu, 04 Jul 2024 12:55:14 GMT</pubDate>
            <atom:updated>2024-07-04T15:59:32.801Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Importance of Skewness and Kurtosis in Statistical Analysis — examples in R Studio</h3><p>When performing a statistical analysis, understanding the shape of data is important for good interpretation and further decision making. If you fail to identify potential outliers in a dataset, all models that might come out of it might be wrong and non usable, leading to wrong results. In this article, I’m tackling the topic of skewness and kurtosis and why is it important in statistical analysis.</p><h3>Measures of central tendency and their connection</h3><p>The concept of skewness and kurtosis is based on measures of central tendency, and it comes from their connection to one another. Those measures are:</p><ol><li><strong>Mean</strong> — also called an average value, it is the sum of all data values divided by the number of values. Since it involves all values, any high or outlier value will add to the skewness of a distribution. To minimize those effects, you can use trimmed mean. That basically removes the lowest x% and the highest x% of the dataset, but that doesn’t guarantee that the dataset won’t shift itself, and the new distribution might have new outliers that correspond to new calculation/leftover values in the distribution.</li><li><strong>Median </strong>— represents the middle value when data is ordered from smallest to largest. Since it’s a “positional” value, it is less affected by outliers than the mean. If your analysis shows that the distribution is skewed, and you don’t plan to do any predictive analysis on the dataset, you can use median to present the average value, as it is less distorted than mean. In best case scenario, present both values.</li><li><strong>Mode</strong> — represents the value that occurs most frequently in the dataset. One dataset can have one or more than one modes. It is not affected by outliers, and it is mostly used with categorical data (counting how many males and females there are in a group, nationality, etc.).</li></ol><p>The connection between mean, median and mode create a measure of skewness and kurtosis of a distribution.</p><h3>Skewness and its types</h3><p><strong>Skewness</strong> is a statistical measure that describes the (a)symmetry of a data distribution around its mean. Although we are mainly looking at mean, we use the connection of all three measures of central tendency.</p><p><strong>Types of skewness are:</strong></p><ol><li><strong>Positive skewness</strong> — also called right skewed because the tail on the right side of the distribution is longer, which means that most of the values are concentrated on the left side (lower values). In this case, mean is greater than the median.</li><li><strong>Negative skewness </strong>— also called left skewed because the tail of the left side of the distribution is longer, and we have more concentration of high values on the right side. In this case, mean is lower than the median.</li><li><strong>Zero skewness</strong> — also called symmetric, and that is something we in statistics aspire to, but most of the time it is hard to achieve. In almost everything we observe in real world, there are always outliers and in some cases they are welcomed. Both tails of the distributions are equally balanced, and mean and median are equal.</li></ol><p>On the graphs below, you can see the examples of skewness in different cases. The first case is symmetric distribution, with equal tails on both sides. The second, middle case is positive skewness, where we see a bulk of values on the lower level, but a longer tail on the right/higher side. The last, right case is the negative skewness, where we see the bulk of values on higher side, but the longer tail on the left/lower side. The case study of salaries is mostly used when explaining skewness, because in real world it is distributed like that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OySGw9Tqpr5hx-JJuKV82w.png" /></figure><h3>Kurtosis and its types</h3><p>Kurtosis is a statistical measure that describes the shape of the distribution’s tails. This measure focuses a bit more on the outlier part of the distribution, the part which is mostly contained in the tails. It is also observing the peak of the distribution and what is its comparison to a normal distribution.</p><p><strong>Types of kurtosis:</strong></p><ol><li><strong>mesokurtic (kurtosis = 0) </strong>— the distribution has a kurtosis similar to the one that normal/Gaussian distribution has, which means that the tails are existant, but moderate.</li><li><strong>leptokurtic (kurtosis &gt; 0) </strong>— this kind of distribution has heavier tails and a sharper peak than a normal distribution would have. It gives an indication that outliers might be present. Since a higher peak means that values are concentrated around mean value, it might be valuable to use trimmed mean in this case.</li><li><strong>platykurtic (kurtosis &lt; 0)</strong> — the distribution has tails, but lighter, and its peak is a bit lower than it would be with a normal distribution. That would show that distribution has some outliers in the tails, but not as extreme as leptokurtic distribution would have. Since values are “flat” and more stretched over the whole distribution, trimmed mean would probably put more emphasis on the values around the mean, but since the distribution is already flat, that would mean that the data points are spread already enough. It might also resemble uniform or multi-modal distributions.</li></ol><p>On the picture below you can see how the density of those distributions look like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*D1PENA5Ihah3YfAmrjsjTw.png" /><figcaption>Kurtosis examples. Photo from — <a href="https://365datascience.com/calculators/kurtosis-calculator/">https://365datascience.com/calculators/kurtosis-calculator/</a></figcaption></figure><p>Please read the rest of the article on — <a href="https://majanalytics.com/2024/07/04/the-importance-of-skewness-and-kurtosis-in-statistical-analysis-examples-in-r-studio/">https://majanalytics.com/2024/07/04/the-importance-of-skewness-and-kurtosis-in-statistical-analysis-examples-in-r-studio/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a0c842a4933" width="1" height="1" alt=""><hr><p><a href="https://medium.com/womenintechnology/the-importance-of-skewness-and-kurtosis-in-statistical-analysis-examples-in-r-studio-9a0c842a4933">The Importance of Skewness and Kurtosis in Statistical Analysis — examples in R Studio</a> was originally published in <a href="https://medium.com/womenintechnology">Women in Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Choosing the right graph for your data visualization project — examples in R]]></title>
            <link>https://medium.com/womenintechnology/choosing-the-right-graph-for-your-data-visualization-project-examples-in-r-02e02489d674?source=rss-16bc7262df40------2</link>
            <guid isPermaLink="false">https://medium.com/p/02e02489d674</guid>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[datanalytics]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[r]]></category>
            <dc:creator><![CDATA[Majanalytics]]></dc:creator>
            <pubDate>Fri, 17 May 2024 12:01:05 GMT</pubDate>
            <atom:updated>2024-10-03T13:48:55.982Z</atom:updated>
            <content:encoded><![CDATA[<h3>Choosing the right graph for your data visualization project — examples in R</h3><p>Data visualization is part of every data analysis and EDA (Explorative data analysis). We can’t only rely on the numbers, as we are frequently dealing with big data systems, and it is impossible to catch an outlier and abnormality with a naked eye. In R, we have few packages available to help us with data visualizations, ggplot2 being one of the most known one. But, technology isn’t everything — you need to know which graph to choose in order to present the data on a right way. In this article, we will explore different types of graphs in R and provide suggestions for when to use each of them.</p><h3>Types of data and graphs</h3><p>R is known for an abundance of free packages which serve from data cleaning up to neural networks, data science and clustering. One very specific package is ggplot2 — package which is filled with code that helps which graphics and presenting the data in some other way than just with numbers and summaries. As in normal, manually calculated statistics, you can’t use all types of graphs on all types of data. Few years ago, I wrote an article <a href="https://medium.com/@majanalytics/do-you-know-your-type-of-data-de9daa97f194">“Do you know your type of data?”</a> where I presented most frequent types of data. The most frequent categorization is the following:</p><ol><li><strong>quantitative data </strong>— much wider array of possibilities is available to present quantitative data in R, using ggplot2 package. The graphs that we can use are histogram, scatter plot, line plot, boxplot.</li><li><strong>qualitative data</strong> — data like gender, nationality, subjects in school, countries, are qualitative data, and oftentimes serve as a filter to quantitative data as well, and therefore you can group the data by qualitative variable. Qualitative data we can count, but we can’t quite perform regression analysis or similar technique as we would using quantitative data. Pie charts and bar plots are usually used for this type of data.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KTKyQ4R_bLhnz4R2g0lHhA.png" /><figcaption>Types of data and their examples, made by author</figcaption></figure><h3><strong>What can we do with ggplot2 package — how to learn it?</strong></h3><p>As said earlier, R has a whole set of packages available for almost everything that you would like to calculate or present via graphics. One of the most important and known package is ggplot2 package. It is one of the must-know package for all data analysts who plan to use R as their programming language, and there are multiple ways to immerse into it and learn its details.</p><p>When it comes to educating yourself about ggplot2 and generally about R graphics, I would highly recommend to always have the <a href="https://github.com/rstudio/cheatsheets/tree/main">cheat sheets</a> next to you, so it’s easier to get all the variables and options in the code. All cheat sheets are available on GitHub’s page of R (<em>posit</em> community), and not only for data visualization. The second way how to introduce yourself to this package and visualizations in general is to read a book called <a href="https://r-graphics.org/">R Graphics Cookbook</a> where every graph is explained and its code as well.</p><p>Once you’re well advanced into the coding and you feel comfortable trying something more bold, you can definitely look into someone else’s code on Kaggle, to see and figure out how to merge visualization code together.</p><p>In order to read about examples from R, and how to interpret them, please read more — <a href="https://majanalytics.com/2024/05/17/choosing-the-right-graph-for-your-data-visualization-project-examples-in-r/">https://majanalytics.com/2024/05/17/choosing-the-right-graph-for-your-data-visualization-project-examples-in-r/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=02e02489d674" width="1" height="1" alt=""><hr><p><a href="https://medium.com/womenintechnology/choosing-the-right-graph-for-your-data-visualization-project-examples-in-r-02e02489d674">Choosing the right graph for your data visualization project — examples in R</a> was originally published in <a href="https://medium.com/womenintechnology">Women in Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>