<?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 Abilehita Azamegbe on Medium]]></title>
        <description><![CDATA[Stories by Abilehita Azamegbe on Medium]]></description>
        <link>https://medium.com/@azamegbesarah?source=rss-44a0f5a8b96e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zrF_CX-eWV7j6TCcDz8vIQ.jpeg</url>
            <title>Stories by Abilehita Azamegbe on Medium</title>
            <link>https://medium.com/@azamegbesarah?source=rss-44a0f5a8b96e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 02:04:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@azamegbesarah/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[What Hospital Billing Data Taught Me About Healthcare Trends]]></title>
            <link>https://medium.com/@azamegbesarah/what-hospital-billing-data-taught-me-about-healthcare-trends-00d5a471fe56?source=rss-44a0f5a8b96e------2</link>
            <guid isPermaLink="false">https://medium.com/p/00d5a471fe56</guid>
            <category><![CDATA[healthcare-analytics]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[power-bi]]></category>
            <dc:creator><![CDATA[Abilehita Azamegbe]]></dc:creator>
            <pubDate>Tue, 17 Mar 2026 16:22:31 GMT</pubDate>
            <atom:updated>2026-03-17T16:22:31.827Z</atom:updated>
            <content:encoded><![CDATA[<p>Featuring Zebra BI</p><p>When people think about hospitals, they often think in terms of care, outcomes, and patient experience. But behind every patient visit is a financial story, and understanding that story can make or break a hospital’s operational efficiency.</p><p>Recently, I worked on a hospital billing trend analysis, and what started as a simple practice session turned into something much more insightful.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1fmGIS4x5yvJJRs3TDETbw.jpeg" /><figcaption>Hospital Billing Trend Analysis</figcaption></figure><p>At a glance, the total billing amount sits at £3.4M, with an average billing amount per patient of £675. These numbers may sound good but trends tell a more nuanced story.</p><p>Year-over-year, billing dropped from £2.0M in 2024 to £1.4M in 2025, a decline of nearly 30%. That’s not just a statistic, it’s a signal.</p><p>Something changed.</p><p>It could be fewer patients, changes in services offered, or even external pressures like policy or economic shifts.</p><p>Looking closer at quarterly performance, Q1 leads with £1.7M, but by Q4, billing drops sharply to just over £200K. That’s a 87% decline across the year.</p><p>This kind of pattern raises important questions:</p><p>- Are fewer procedures scheduled towards the end of the year?<br>- Do holidays impact patient visits more than expected?<br>- Is staffing or capacity affecting throughput?</p><p>These are the kinds of insights that raw numbers alone can’t reveal.</p><p>One of the clearest patterns in the dashboard is the difference between weekday and weekend billing.</p><p>Weekdays generated £2.4M, while weekends brought in less than £1M (a drop of about 60%).</p><p>This isn’t surprising, but it is actionable. It suggests an opportunity to optimize weekend staffing, introduce specialized weekend services and/or improve scheduling efficiency.</p><p>Breaking things down further by department adds even more depth to the analysis.</p><p>- Orthopedics shows strong weekday performance but changes significantly day-to-day.<br>- Cardiology remains relatively stable, though there’s a slight decline towards the weekend.<br>- Neurology actually trends upward later in the week, with a noticeable increase on Saturday.<br>- Pediatrics remains consistent overall, with minimal variation.</p><p>Each department tells its own story, and each one requires a slightly different operational strategy.</p><p>Monthly comparisons also revealed some sharp changes. For example:</p><p>- A significant increase in January compared to the previous month<br>- Significant declines in February and October<br>- Smaller, steady increases in mid-year months</p><p>Tracking both absolute changes and percentage differences helped highlight not just what changed, but how significant those changes really were.</p><p>This trend analysis was made possible by importing Zebra BI custom visuals such as Zebra BI tables and Zebra BI chart.</p><p>Special thanks to DataWithDecisions for the intuitive tutorial video and for providing the dataset (access the project repo here: <a href="https://github.com/Lehita/Hospital-Billing-Analysis/tree/main">https://github.com/Lehita/Hospital-Billing-Analysis/tree/main</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=00d5a471fe56" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Hospital Billing Data Taught Me While Building a Power BI Dashboard]]></title>
            <link>https://medium.com/@azamegbesarah/what-hospital-billing-data-taught-me-while-building-a-power-bi-dashboard-bf0787da1050?source=rss-44a0f5a8b96e------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf0787da1050</guid>
            <category><![CDATA[health-data-science]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[healthcare-analytics]]></category>
            <category><![CDATA[healthtech]]></category>
            <dc:creator><![CDATA[Abilehita Azamegbe]]></dc:creator>
            <pubDate>Mon, 02 Mar 2026 22:38:29 GMT</pubDate>
            <atom:updated>2026-03-02T22:38:29.071Z</atom:updated>
            <content:encoded><![CDATA[<p>A Practice Session with Power BI</p><p>I’ve been learning more of Power BI and its many functionalities by following the tutorial created by @DataWithDecision and working on the provided synthetic data made to mimick real-world scenarios.</p><p>This led to the creation of the <strong>Hospital Billing Dashboard</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*N_-5lRXi6mzSc02RGqSgLg.jpeg" /><figcaption>Hospital Billing Dashboard</figcaption></figure><p>This dashboard helps its audience to understand how hospital bills are made up i.e where the money goes, what services drive costs, and how much patients actually pay out of pocket versus what insurance covers.</p><p>The project turned out to be a great way to practice both data analysis and dashboard storytelling.</p><h3>Describing the Data</h3><p>The dataset contains information on hospital billing records such as:<br>- Total billing amounts<br>- Medication, treatment, and room charges<br>- Insurance coverage<br>- Out-of-pocket payments<br>- Procedures, diagnoses, departments, and service types</p><p>It’s not real patient data, but it’s structured in a way that mirrors what real hospital billing data might look like.</p><h3>The Dashboard</h3><p>At the top of the dashboard, I included high-level KPIs (Key Performance Indicators) so everyone can quickly see the big picture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/671/1*pcsruo5rlKz5SiIe2VEnfw.jpeg" /><figcaption>Key Performance Indicators (KPIs)</figcaption></figure><p>From there, the dashboard breaks billing down by:</p><p>• Procedure type<br>• Hospital department<br>• Diagnosis and service type<br>• City and state</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*RP_riUZet25pti0AloCbPw.jpeg" /></figure><p>Filters were also created to make it possible for users to explore specific areas (such as race, year, quarter and month) without being overwhelmed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*55qxX61RL6SJvrY1DynEAA.jpeg" /><figcaption>Dashboard showing Filter Options</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*Juk_tAMW5OSih0Km3aacTw.jpeg" /><figcaption>Filtering by the Asian Population</figcaption></figure><h3>Key Insights</h3><ol><li>Procedures like X-rays, CT scans, and MRIs contribute a large share of the total billing.</li><li>Cardiology, Orthopedics, and General Surgery show the highest billing amounts. This likely reflects the complexity of care and the resources involved in these departments.</li><li>Although insurance covers a significant portion of hospital bills, out-of-pocket payments are still substantial. This really highlights how costly healthcare can be for patients, even when insurance is involved.</li><li>Inpatient services generally result in higher bills compared to outpatient and emergency services, especially for certain diagnoses. This is expected and now, data-backed.</li></ol><h3>The Dashboard Design</h3><p>I intentionally kept the color palette calm and neutral, using soft greens commonly associated with healthcare. I avoided aggressive colors so the focus stays on the data rather than triggering emotional reactions.<br>This helped make the dashboard easier to read and more realistic for a professional healthcare setting.</p><p>Overall, this project helped me better understand how hospital billing data can be analyzed and communicated clearly through dashboards. It also reinforced how important good design choices are when working with financial and healthcare data.</p><p>As I continue learning data analytics, I’m focusing on building projects that tell clear, honest stories with data and this dashboard was a solid step in that direction.</p><p>Thank you for reading.</p><p>Link to GitHub Repo: <a href="https://github.com/Lehita/Hospital-Billing-Analysis/tree/main">https://github.com/Lehita/Hospital-Billing-Analysis/tree/main</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf0787da1050" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Drives Students’ Academic Performance?]]></title>
            <link>https://medium.com/@azamegbesarah/what-drives-students-academic-performance-72befff73959?source=rss-44a0f5a8b96e------2</link>
            <guid isPermaLink="false">https://medium.com/p/72befff73959</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[matplotlib]]></category>
            <category><![CDATA[exploratory-data-analysis]]></category>
            <category><![CDATA[seaborn]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Abilehita Azamegbe]]></dc:creator>
            <pubDate>Sat, 14 Feb 2026 19:16:40 GMT</pubDate>
            <atom:updated>2026-02-14T19:16:40.750Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>An Exploratory Data Analysis Using Python</em></h4><p>In education, student performance is often discussed in terms of grades alone. But behind every score are social, economic, and behavioral factors that shape learning outcomes.</p><p>As a data analyst, I wanted to explore what actually influences students’ academic performance using real-world data and exploratory data analysis (EDA).</p><p>In this project, I analyzed a publicly available students’ examination dataset to uncover patterns in academic performance across demographic background, parental education, socioeconomic status, and test preparation.</p><h3>Objective:</h3><ul><li>To identify patterns and relationships that influence students’ performance in mathematics, reading, and writing.</li></ul><h3>Tools Used:</h3><ul><li>Python</li><li>Pandas &amp; NumPy (data manipulation)</li><li>Matplotlib &amp; Seaborn (visualization)</li><li>Google Colab (analysis environment)</li></ul><h3>Dataset Description:</h3><p>Students’ Examination Performance dataset (obtained from Kaggle), containing 1,000 students and 8 features, including exam scores and demographic information.</p><h3>Understanding the Dataset</h3><p>The dataset consists of:</p><ul><li>Demographic variables: gender, race/ethnicity</li><li>Socioeconomic indicators: lunch type</li><li>Educational background: parental level of education</li><li>Behavioral factor: test preparation course</li><li>Performance metrics: math, reading, and writing scores</li></ul><p>Before analysis, I performed standard data quality checks, such as:</p><ul><li>Verified data types</li><li>Confirmed there were no missing values</li><li>Cleaned column names for consistency and usability</li></ul><p>This ensured the dataset was reliable for analysis.</p><h3>Exploratory Data Analysis</h3><h4>1. General performance trends<br>across all students:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*axSmLRHaMKMmcoQONK4CTA.png" /><figcaption>Students’ Performance by Subject</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Iqo-xfbP6XsR7ggK6wpQqw.png" /><figcaption>Students’ Scores Distribution</figcaption></figure><ul><li>Average scores ranged between 66–69</li><li>Reading scores were slightly higher than math and writing</li><li>Score distributions showed noticeable variability, indicating performance gaps among students</li></ul><p>This variability suggested that background factors could play a meaningful role.</p><h4>2. Gender and academic performance</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*eXpQulSnhARxoevcd8m6mg.png" /><figcaption>Count of Students by Gender</figcaption></figure><p>The dataset contained slightly more female students than male students.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*Lk-F7NAwM0cW02n7nSAyCg.png" /><figcaption>Students’ Performance in Math</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*Z0sXeHzS-XAsqa6o-5IRvw.png" /><figcaption>Students’ Performance in Reading</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*eeb7YPntVbvjIAgOQbl80Q.png" /><figcaption>Students’ Performance in Writing</figcaption></figure><ul><li>Female students generally performed better in reading and writing</li><li>Male students performed better than female students in math</li></ul><p>This aligns with commonly observed educational trends and highlights subject-specific performance differences.</p><h4>3. Impact of Test Preparation</h4><p>One of the most significant findings came from comparing students who completed a test preparation course versus those who did not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*891Oik3b1x0CtD4X2quTKg.png" /></figure><p>Students who completed test preparation:</p><ul><li>Consistently scored higher across math, reading, and writing</li><li>Displayed less score variability, suggesting more stable performance</li></ul><p>This indicates that structured academic preparation has a measurable positive impact on outcomes.</p><h4>4. Socioeconomic Factors (Lunch Type)</h4><p>Lunch type was used as a proxy for socioeconomic status.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/1*npVC0raxYhF7YtM3EiZrKA.png" /></figure><p>Findings showed that:</p><ul><li>Students with standard lunch options generally outperformed those with free/reduced lunch</li><li>The gap was visible across all three subjects</li></ul><p>This highlights how economic factors continue to influence academic performance, even within standardized testing environments.</p><h4>5. Correlation Between Subjects</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*qg1vTiaskcxjKDktWbZxZw.png" /><figcaption>Correlation between Reading and Writing</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*PgjIqEgxqwDnaVC1Ui4TVQ.png" /><figcaption>Correlation between Writing and Math</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*3rYPnNfhWfevF4QjB1ozFg.png" /><figcaption>Correlation between Reading and Math</figcaption></figure><p>A correlation analysis revealed:</p><ul><li>A strong positive correlation between reading and writing scores</li><li>A moderate correlation between math and the other subjects</li></ul><p>This suggests that language-based skills reinforce one another, while math performance may be influenced by different cognitive or instructional factors.</p><h3>Key Insights</h3><p>From this analysis, several insights emerged:</p><ol><li>Academic performance is not solely an individual trait . It is shaped by preparation, background, and access to resources</li><li>Test preparation courses play a crucial role in improving performance</li><li>Socioeconomic disparities remain visible in examination performance data</li><li>Reading and writing skills are strongly interconnected</li></ol><p>Link to Project: <a href="https://github.com/Lehita/Students-Examination-Performance">https://github.com/Lehita/Students-Examination-Performance</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72befff73959" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Food Poisoning Pandemic: Why Do Developing Countries Have It Worse?]]></title>
            <link>https://medium.com/@azamegbesarah/food-poisoning-pandemic-why-do-developing-countries-have-it-worse-344f84f34333?source=rss-44a0f5a8b96e------2</link>
            <guid isPermaLink="false">https://medium.com/p/344f84f34333</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[public-health]]></category>
            <category><![CDATA[food-poisoning]]></category>
            <category><![CDATA[excel]]></category>
            <dc:creator><![CDATA[Abilehita Azamegbe]]></dc:creator>
            <pubDate>Sat, 14 Feb 2026 17:06:30 GMT</pubDate>
            <atom:updated>2026-02-14T17:06:30.752Z</atom:updated>
            <content:encoded><![CDATA[<h4>Food poisoning remains a major public health challenge worldwide. However, it is interesting to note that its impact is not evenly distributed.</h4><p>While developed countries record fewer severe outcomes, developing countries continue to experience higher case counts, hospitalizations, and deaths.<br>This project was designed to answer one question:</p><blockquote>What are developed countries doing better that leads to fewer food poisoning cases, and what can developing countries learn from this?</blockquote><p>To answer this question, I analyzed food poisoning data across developed and developing countries, focusing on epidemiology trends and root causes, and visualized the findings using interactive Excel dashboards.</p><h3>PROJECT OBJECTIVES</h3><p>This project aimed to:</p><ul><li>Compare food poisoning burden between developed and developing countries</li><li>Identify root causes contributing to higher cases in developing regions</li><li>Examine how infrastructure and food safety systems influence outcomes</li><li>Translate findings into actionable public health insights</li></ul><h3>DATA OVERVIEW AND METHODOLOGY</h3><p>The analysis covered:</p><ul><li>Multiple countries across developed and developing income groups</li><li>Data spanning 2015–2025</li><li>Metrics including:</li></ul><ol><li>Food poisoning cases</li><li>Hospitalizations</li><li>Death counts</li><li>Main pathogens</li><li>Food sources</li><li>Water access</li><li>Sanitation access</li><li>Food Safety Index</li></ol><h3>TOOLS USED</h3><ul><li>Microsoft Excel</li><li>Pivot tables</li><li>Calculated metrics</li><li>Interactive slicers</li><li>Custom dashboards</li></ul><p>Two dashboards were created:</p><ol><li>Epidemiology Dashboard</li><li>Root Causes Dashboard</li></ol><p>Each dashboard allows filtering by income group and individual country.</p><h3>Dashboard 1: Epidemiology of Food Poisoning</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ELSPDxTPxvN0j43uJ-Hp6Q.png" /><figcaption>Epidemiology (Developed)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zepQJz4kKB6w0gif2Lp6IQ.png" /><figcaption>Epidemiology (Developing)</figcaption></figure><p>This dashboard focuses on disease burden and trends.</p><h4>Key Insights</h4><p>1. Developing countries report significantly higher case counts</p><p>Despite having smaller populations in some cases, developing countries showed millions of reported food poisoning cases, compared to thousands in developed countries.</p><p>2. Hospitalizations and deaths are disproportionately higher</p><p>Developed countries recorded:</p><ul><li>Lower average death counts</li><li>Fewer hospitalizations per case</li></ul><p>This suggests better disease control, healthcare access, and early intervention.</p><p>3. Pathogen patterns differ</p><ul><li>Developing countries showed higher prevalence of <em>Salmonella</em> and <em>Norovirus</em></li><li>Developed countries had more controlled distributions and lower totals overall</li></ul><h3>Dashboard 2: Root Causes of Food Poisoning</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hrTtBjLpip4z_7ZDZ52oKg.png" /><figcaption>Root Causes (Developed)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TNPTL3tXKLaosUHiM9BBiw.png" /><figcaption>Root Causes (Developing)</figcaption></figure><p>This dashboard answers the why.</p><h4>Key Insights</h4><p>1. Water Access</p><ul><li>Developed countries averaged ~95% water access</li><li>Developing countries averaged below 20%</li></ul><p>Water access directly impacts:</p><ul><li>Food preparation</li><li>Hygiene practices</li><li>Pathogen transmission</li></ul><p>2. Sanitation Access</p><ul><li>Developed countries consistently showed above 90% sanitation access</li><li>Developing countries fell significantly behind</li></ul><p>Poor sanitation increases:</p><ul><li>Environmental contamination</li><li>Cross-contamination of food sources</li></ul><p>3. Food Safety Index</p><ul><li>Developed countries scored much higher on food safety</li><li>Developing countries showed persistently low scores over time</li></ul><p>This reflects differences in:</p><ul><li>Regulatory enforcement</li><li>Food handling standards</li><li>Monitoring systems</li></ul><p>4. Food Sources</p><ul><li>Street food contributed heavily to cases in developing countries</li><li>Developed countries showed lower risk spread across regulated food sources</li></ul><h3>Connecting the Dots…</h3><p>The data clearly shows that food poisoning outcomes are not just about pathogens.<br>They are strongly influenced by:</p><ol><li>Infrastructure</li><li>Public health systems</li><li>Regulatory enforcement</li><li>Access to clean water and sanitation</li></ol><p>Developed countries are not “immune” to food poisoning. Rather, they are better equipped to prevent, detect, and manage it.</p><h4>Recommendations to Developing Countries</h4><ul><li>Improve water and sanitation access</li><li>Strengthen food safety regulations</li><li>Improve surveillance and healthcare access</li><li>Foster socioeconomic development</li></ul><p>Access the Excel workbook here: <a href="https://github.com/Lehita/Food-Poisoning-Pandemic">https://github.com/Lehita/Food-Poisoning-Pandemic</a></p><p>Data source: Rx DataHub</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=344f84f34333" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[POV: THE MATH WASN’T MATHING]]></title>
            <link>https://medium.com/@azamegbesarah/pov-the-math-wasnt-mathing-fe0634bc757a?source=rss-44a0f5a8b96e------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe0634bc757a</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[root-cause-analysis]]></category>
            <dc:creator><![CDATA[Abilehita Azamegbe]]></dc:creator>
            <pubDate>Mon, 09 Feb 2026 15:17:51 GMT</pubDate>
            <atom:updated>2026-02-09T15:17:51.950Z</atom:updated>
            <content:encoded><![CDATA[<p>Fashion Chain Store Revenue Root Cause Analysis</p><p>Spending heavily on marketing should, in theory, translate into significantly higher revenue.<br>For a fashion chain store, one would expect marketing investment to at least double in revenue returns.</p><p>However, analysis of transaction data from a fashion chain store revealed the opposite.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*91ngfpm3TZWp0QVCOSTr0g.png" /><figcaption>Marketing Spend vs Revenue</figcaption></figure><p>Despite substantial marketing spend, revenue generated was consistently about half of marketing expenditure. This pattern was observed across five different stores, multiple sales and campaign channels, and various product categories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*PMN77IljDiPRvP3sgVXi2w.png" /><figcaption>Marketing Spend and Revenue by Store</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*4ss_kY8sljwt0D9dyWg1Jw.png" /><figcaption>Marketing Spend and Revenue by Sales Channel</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*Dg4NolW4_OeqGNVf6_bwaw.png" /><figcaption>Marketing Spend and Revenue by Campaign Channel</figcaption></figure><p>So the question became clear:</p><h4>Why is revenue underperforming despite increased marketing efforts?</h4><h3>Digging Into the Data</h3><p>To understand this mismatch, I analyzed customer transactions and inventory data using MySQL Workbench.</p><p>The first major insight was customer behavior.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*fpSihDwKdzvhYGHVK71vdw.png" /><figcaption>Customer Category</figcaption></figure><p>A large proportion of customers were one-time buyers. Very few returned for repeat purchases, indicating weak customer retention and low customer lifetime value.</p><h4>But why weren’t customers coming back?</h4><h3>The Inventory Problem</h3><p>Further analysis revealed a recurring understocking issue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*-qoXaIRdkPu4B4NFVZNHOA.png" /><figcaption>Inventory Level</figcaption></figure><p>In many transactions, customers attempted to purchase products that were either understocked or unavailable. This has two major consequences:</p><p>1. Lost sales opportunities, leading directly to lower revenue</p><p>2. Brand image damage, as customers associate the store with unreliable product availability</p><p>Rather than purchasing a few items and sourcing the rest elsewhere, customers may prefer to shop at a single, well-stocked store. This behavior likely explains why many customers did not return after their first purchase.</p><h3>Overstocking: The Other Side of the Problem</h3><p>Interestingly, the analysis also revealed instances of overstocking.</p><p>While overstocking does not immediately hinder sales, it represents inefficient use of resources. Capital tied up in slow-moving inventory could have been better allocated to products that were frequently understocked and in higher demand.</p><p>This imbalance points to a deeper issue in inventory planning and demand forecasting.</p><h3>Root Cause Summary</h3><p>The decline in revenue was not caused by ineffective marketing, but by operational inefficiencies:</p><ul><li>Marketing efforts successfully attracted customers</li><li>Poor inventory optimization prevented repeat purchases</li><li>Understocking drove customer churn</li><li>Overstocking wasted valuable resources</li></ul><p>Together, these factors reduced revenue and customer loyalty.</p><h3>Recommendations</h3><p>Based on the analysis, I recommend that store management:</p><ul><li>Review and improve the inventory control system to optimize stock levels</li><li>Conduct customer preference and sales velocity analysis to identify:</li></ul><ol><li>Fast-selling products to restock aggressively</li><li>Slow-moving products to reduce or discontinue</li></ol><ul><li>Align marketing campaigns with inventory availability to avoid promoting out-of-stock products</li><li>Track repeat purchase rate and inventory fill rate as key performance indicators</li></ul><h3>Tools Used</h3><ul><li>MySQL Workbench (data analysis)</li><li>SQL for querying transaction and inventory data</li><li>MS Excel (data visualization)</li></ul><p>Data Source: Rx DataHub</p><p>Link to project repo: <a href="https://github.com/Lehita/Fashion_store_revenue_root_cause_analysis">Github link</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe0634bc757a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WHY DO THE PATIENTS RAGE?]]></title>
            <link>https://medium.com/@azamegbesarah/why-do-the-patients-rage-40798b8276cc?source=rss-44a0f5a8b96e------2</link>
            <guid isPermaLink="false">https://medium.com/p/40798b8276cc</guid>
            <category><![CDATA[health]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[hospital]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-analytics]]></category>
            <dc:creator><![CDATA[Abilehita Azamegbe]]></dc:creator>
            <pubDate>Thu, 05 Feb 2026 13:02:25 GMT</pubDate>
            <atom:updated>2026-02-05T13:02:25.102Z</atom:updated>
            <content:encoded><![CDATA[<h4>A Hospital Analytics Case Study</h4><p>Have you ever been in a hospital and witnessed a patient or patient guardian complain bitterly about the service?<br>Have you ever wondered why?</p><p>For hospital owners and administrators, understanding why patients complain is critical. It not only helps improve service delivery but also strengthens the hospital’s image and reputation.</p><p>In this project, I used Microsoft Excel to analyze RX DataHub Hospital data with the aim of understanding:</p><ul><li>why patients were dissatisfied, and</li><li>which operational improvements would have the greatest impact on patient experience.</li></ul><p>The analysis was divided into two dashboards:</p><ol><li>Patient Visit Overview: to understand patient flow and volume</li><li>Patient Experience and Complaint Drivers: to uncover the root causes of dissatisfaction.</li></ol><h4>Understanding Patient Volume and Flow</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2tsbZ5KCqJVD3_lYjPfK9Q.png" /><figcaption>Patient Visit Overview</figcaption></figure><p>The first dashboard focused on patient visits across time, departments, and visit types. Several key insights emerged immediately:</p><ol><li>January recorded the highest number of patient visits, with an average monthly patient visit of 833 visits across the year.</li><li>The Surgery department was the busiest, handling the largest share of patients, followed closely by the Pharmacy department.</li><li>Outpatient visits far exceeded emergency and inpatient visits, indicating a heavy reliance on routine care services.</li><li>Morning (AM) visits accounted for 60% of total visits, suggesting significant morning congestion.</li><li>Walk-in appointments (55%) were more common than scheduled visits, making patient flow harder to manage.</li></ol><p>These findings suggest that patient volume is not evenly distributed. High morning traffic, combined with walk-in and outpatient dominance and busy departments like Surgery, likely places significant pressure on hospital resources.</p><h4>Understanding Patient Experience and Dissatisfaction</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UiniFylGcMRh6GFfe5MicQ.png" /><figcaption>Patient Experience and Complaint Drivers</figcaption></figure><p>The second dashboard shifted focus from volume to experience.</p><p>At a high level:</p><ul><li>Overall satisfaction stood at 70%, while 30% of patients reported dissatisfaction.</li><li>Average waiting time was over one hour, which is very high, especially when compared to the average consultation duration of about 10 minutes.</li></ul><p>Imagine a patient waiting for over an hour just to have a 10-minute consultation. That patient is very likely to complain.</p><p>When dissatisfaction was broken down further, the main drivers became clear:</p><ul><li>Clarity of information was the top cause of dissatisfaction at 61%.</li><li>Doctor communication followed closely at 50%.</li><li>Only 8% of patients were dissatisfied with staff attitude, and just 1% with facility cleanliness.</li></ul><p>This shows that a major issue patients have with the hospital is poor understanding of the information communicated to them. This may be driven by the short consultation duration experienced by each patient, which itself may be a result of the large number of patients seen per day by consultants.</p><p>Recommendation:<br>The hospital should consider hiring more consultants to reduce workload and ensure adequate time for proper patient communication.</p><h4>Department-Level Insights</h4><p>Dissatisfaction levels were fairly consistent across departments:</p><ul><li>Laboratory and Surgery recorded the highest dissatisfaction levels at 31%.</li><li>Pediatrics and General Practice followed closely at 30%.</li><li>Pharmacy had the lowest dissatisfaction at 29%.</li></ul><p>Long waiting times were common across all departments, with most patients waiting between 65 and 95 minutes. However, consultation durations were mostly clustered between 8 and 13 minutes, regardless of how long patients waited. This imbalance (long waits followed by short consultations) likely contributes significantly to patient frustration and unmet expectations.</p><h4>Medication Availability as a Hidden Factor</h4><p>Another striking insight from the analysis was medication availability:</p><ul><li>81% of patients reported that prescribed medications were not available.</li><li>Only 19% confirmed availability.</li></ul><p>Imagine a patient who has waited for a long time to see a consultant, had a brief 10-minute consultation, and then receives a prescription for medications that are not available in the hospital. This means the patient must spend even more time sourcing medications elsewhere before treatment can begin.</p><p>This is often where patient frustration turns into anger.</p><p>This shortage significantly worsens the overall patient experience, especially after long waiting times and short consultations.</p><p>Recommendation:<br>The hospital should review and optimize its inventory control system and encourage consultants to use the hospital formulary as a guide when prescribing medications, as much as possible.</p><h3>Key Takeaways</h3><p>This analysis shows that patient complaints are not random. They are strongly influenced by:</p><ul><li>High patient volume during peak periods</li><li>Long waiting times</li><li>Short consultation durations</li><li>Poor communication and unclear information</li><li>Medication availability issues</li></ul><p>Improving patient satisfaction may not require massive infrastructure changes. Instead, better scheduling, clearer communication, improved patient education, adequate staffing, and supply chain optimization could lead to meaningful improvements in patient experience.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40798b8276cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LUNG CANCER RISK PREDICTION: A ML END-TO-END PROJECT]]></title>
            <link>https://medium.com/@azamegbesarah/lung-cancer-risk-prediction-a-ml-end-to-end-project-9102da6d8c61?source=rss-44a0f5a8b96e------2</link>
            <guid isPermaLink="false">https://medium.com/p/9102da6d8c61</guid>
            <category><![CDATA[disease-prevention]]></category>
            <category><![CDATA[random-forest-classifiers]]></category>
            <category><![CDATA[lung-cancer]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[predictive-modeling]]></category>
            <dc:creator><![CDATA[Abilehita Azamegbe]]></dc:creator>
            <pubDate>Sun, 09 Oct 2022 12:57:13 GMT</pubDate>
            <atom:updated>2022-10-09T13:09:42.478Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>INTRODUCTION</strong></p><p>Lung cancer is the build-up of too many cells in the lungs which can lead to the blockage of major airways. Usually, cells in the body die at a certain stage in their life cycle to prevent this build-up, but there are abnormal cases where cells continue to grow and multiply leading to tumors (a mass or group of abnormal cells) that can either be benign (not cancerous/harmful) or cancerous (harmful and life-threatening).</p><p>What makes cancerous tumors harmful is that they spread into, or invade nearby tissues and can travel to distant places in the body to form new tumors. Benign tumors, on the other hand, do not spread from their origin, making them easier to remove from the body.</p><p>Cancerous tumors are often called cancer. Lung cancer is the second most common cancer in the world and the leading cause of cancer deaths worldwide The World Health Organization (WHO) recorded 1.80 million lung cancer deaths in 2020. Meanwhile, breast cancer- the most common cancer in the world- caused 685,000 deaths in 2020.</p><p>In many research studies, early detection of cancers has been linked to increased chances of survival. This is the aim of this project; to aid in the early detection of lung cancer using a trained machine learning model that predicts the lung cancer risk level in patients.</p><p>In this way, the number of deaths caused by lung cancer might be reduced.</p><p><strong>DATA PREPARATION</strong></p><p>Patient data from <a href="https://data.world/cancerdatahp/lung-cancer-data">data.world</a> was used to train the model. It is a single table consisting of 1000 rows and 24 columns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*IP1HWAUgIAfblQHbWu-rOw.png" /><figcaption>A view of the data.</figcaption></figure><p>Each column contained a range of numbers except the age and gender columns which contained the age of the sample patients and two numbers (1 &amp; 2) indicating the gender of the patients, respectively.</p><p>The data was wrangled using the Pandas library in Python. I changed the gender values to strings (males and females) and converted the Genetic risk column to a categorical variable as well.</p><p>With no missing value, the data was ready for analysis.</p><p><strong>EXPLORATORY DATA ANALYSIS (EDA)</strong></p><p>The data was visualized using python packages (Seaborn, Matplotlib, Numpy) and the following key insights were seen.</p><ul><li>About 60% of the patients are males, while 40% are females.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/374/1*qFQyzeyBqDzFYvjBHVWkOA.png" /></figure><p>Most of the patients used in data collection were males.</p><ul><li>Most of the patients had a high risk of lung cancer (365 patients). Approximately 250 (70%) high-risk patients are males while about 100 (30%) are females.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*sXYsgxmiP2Tx5ygfuT88bQ.png" /></figure><p>This goes with the fact that lung cancer is the most common cancer in men but the second most common cancer in women. Historically, lung cancer is more prevalent in males than females.</p><p>Also, note the decrease in column height for females as the risk level increases and the increase in column height for males as the risk level increases.</p><ul><li>It is said that most people diagnosed with lung cancer are 65 years or older. But from the data, I saw that most patients with a high risk of lung cancer were between 35 and 40 years of age.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*HsefzvVqD0TjjxRJoj8sYA.png" /></figure><p>This could mean as they grow older, those with a high risk of lung cancer eventually develop cancer and are diagnosed. But this insight might have been influenced by the nature of the data. The overall age distribution of patients revealed that most patients fell within the 35–40 years age bracket.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*f-qYwRKsJw91dQAVc250Ww.png" /></figure><ul><li>Some patients below 20 years of age had a high risk of lung cancer.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*sMSBPXSr3JesgwhWJZWHIQ.png" /></figure><p>14-year-old patients had a medium risk of cancer. Ten 19-year-old patients had a high risk of lung cancer along with nine 18-year-olds. This shows that a high risk of lung cancer can be seen in the young and old.</p><p>At this point, you might wonder what causes lung cancer or what increases the risk of cancer. I have found that many factors contribute to the risk of developing lung cancer. Some of these factors include:</p><ol><li>Obesity: Obese people have a higher risk for cancer than other people. Research has found that obesity increases the risk for several cancers, including colorectal, breast, uterine, esophageal, kidney, and pancreatic cancers. For lung cancer, however, the story is different. Being overweight has been associated with a decreased risk of lung cancer. However, in the patient data, most of the patients were greatly obese and such patients had a high risk of lung cancer.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*tZMJGHeNLGfdBV8FmCEIAg.png" /></figure><p>This could be explained by the fact that other factors contribute to the risk of lung cancer, not just obesity alone.</p><p>2. Smoking: Smoking is the number one risk factor for lung cancer. The smoke released from burning tobacco is full of cancer-causing substances. When inhaled, these substances damage the cells that line the lungs. The body may attempt to repair this damage but with each repeated exposure, normal cells that line the lungs are increasingly damaged. Over time, the damage causes the cells to act abnormally, and eventually, cancer develops. Smokers are not the only persons endangered by tobacco smoke. Anyone who inhales this smoke is prone to lung cancer. This is called passive smoking and is also a risk factor for lung cancer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*PV4h01PvqdRK5jJvsFieZg.png" /></figure><p>With an increasing level of passive smoking, the risk level increases. Those with very high levels of passive smoking (7 and 8) all had a high risk of lung cancer.</p><p>3. Alcohol Consumption: It is generally suggested that alcohol consumption increases lung cancer risk, however, many researchers are still skeptical about this because of the high correlation between alcohol consumption and smoking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/353/1*HO0yDL6olcjRj10-aloj-A.png" /></figure><p>Most people who smoke also drink alcohol, so the question is ‘does alcohol really affect lung cancer risk, or is it simply due to the associated smoking habit?’ In certain research studies, it has been found that in non-smokers, low and moderate drinking does not increase lung cancer risk but heavy consumption (particularly beer) increases the risk of lung cancer.</p><p>Most of the patients with heavy alcohol consumption had a high risk of lung cancer. Some had a medium risk of cancer and few showed a low risk of lung cancer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*uqfMiYSd77qUCiklDiVQOQ.png" /></figure><p>4. Genetic Risk: This is another important factor that influences lung cancer risk level. It talks about the patient’s family history of lung cancer. If a person’s family has a history of lung cancer, their risk of the disease will be higher than those without such a history. However, the probability of getting lung cancer via inherited genes is still quite low. Approximately 8% of lung cancer cases are caused by inherited genes. Cancer is usually as a result of exposure to environmental factors like tobacco smoke.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*_ZOVfhd8-J3cSq0XfvCm9Q.png" /></figure><p>All high-risk patients had a family history of lung cancer.</p><p>Other factors that influence the risk of lung cancer include:</p><p>-Air pollution</p><p>-Dusty environments</p><p>-Occupational hazards etc.</p><p>Signs of future lung cancer include:</p><p>-Recurrent chronic lung diseases</p><p>-Severe chest pain</p><p>-Coughing of blood</p><p>-Fatigue</p><p>-Weight loss</p><p>-Shortness of breath</p><p>-Swallowing difficulty</p><p>-Frequent colds etc.</p><p><strong>MODELLING</strong></p><p>After exploring the data, string columns (columns with text values) like gender, risk level, and genetic risk were converted to integers. Then a heat map was plotted to show the correlation between the target column (risk level) and other columns in the dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*amcmd6aFXgJAFhKlOuZNUA.png" /></figure><p>There was a high correlation between most of the columns. Seven columns had strong relationships (&gt;= 0.70 correlation coefficients) with the target column.</p><p>To reduce the likelihood of overfitting the model, Extra Trees Classifier was used to select important features before training. The selected features were split into training and test sets and used to build five models (Gaussian Naive Bayes, Support Vector Machines, Decision Tree Classifier, Random Forest Classifier, and Logistic Regression models). The cross-validation method was adopted to estimate the performance of the models. The best-performing model (Random Forest Classifier) was used to make predictions with the test set and returned an accuracy score of 0.98, meaning the trained model is 98% accurate.</p><p>The model was deployed using Streamlit. You can access and interact with the model via this link: <a href="https://lehita-apps-lungcancerapp-osu9ed.streamlitapp.com/">Discover your lung cancer risk level here!</a></p><p>Link to code: <a href="https://github.com/Lehita/Apps">GitHub</a></p><p><strong>REFERENCES</strong></p><p>1.) <a href="https://www.wcrf.org/cancer-trends/lung-cancer-statistics/">https://www.wcrf.org/cancer-trends/lung-cancer-statistics/</a></p><p>2.) <a href="https://www.who.int/news-room/fact-sheets/detail/cancer">https://www.who.int/news-room/fact-sheets/detail/cancer</a></p><p>3.) <a href="https://www.who.int/europe/news-room/fact-sheets/item/cancer-screening-and-early-detection-of-cancer">https://www.who.int/europe/news-room/fact-sheets/item/cancer-screening-and-early-detection-of-cancer</a></p><p>4.) <a href="https://www.mayoclinic.org/diseases-conditions/lung-cancer/symptoms-causes/syc-20374620">https://www.mayoclinic.org/diseases-conditions/lung-cancer/symptoms-causes/syc-20374620</a></p><p>5.) <a href="https://drugfree.org/drug-and-alcohol-news/heavy-alcohol-consumption-linked-with-greater-lung-cancer-risk/">https://drugfree.org/drug-and-alcohol-news/heavy-alcohol-consumption-linked-with-greater-lung-cancer-risk/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9102da6d8c61" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NBA PLAYOFFS WEB SCRAPING AND EDA PROJECT]]></title>
            <link>https://medium.com/@azamegbesarah/nba-playoffs-web-scraping-and-eda-project-91fb1b9239a8?source=rss-44a0f5a8b96e------2</link>
            <guid isPermaLink="false">https://medium.com/p/91fb1b9239a8</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[nba-playoffs]]></category>
            <category><![CDATA[basketball]]></category>
            <category><![CDATA[web-scraping]]></category>
            <category><![CDATA[tableau]]></category>
            <dc:creator><![CDATA[Abilehita Azamegbe]]></dc:creator>
            <pubDate>Fri, 07 Oct 2022 12:33:20 GMT</pubDate>
            <atom:updated>2022-10-07T12:33:20.029Z</atom:updated>
            <content:encoded><![CDATA[<p>The National Basketball Association (NBA) is the most significant professional basketball league in the world in terms of popularity, salaries, talent, and level of competition. Every year, the NBA hosts regular season games that determine the teams qualifying for the playoffs. The NBA regular season begins in the last week of October and ends in mid-April. The playoffs begin in April after the conclusion of the regular season with the top eight teams in each conference (East and West) competing for the league’s championship title, the Larry O’Brien Championship Trophy.</p><p>Using Python web scraping libraries (Beautiful Soup and Requests), I scraped some data from <a href="https://www.basketball-reference.com/playoffs/">Basketball-reference.com</a>. I then performed exploratory data analysis (EDA) on the data using Tableau. I found some interesting insights which I would like to share in this post.</p><p>The scraped data has information on 41 playoffs dating from 1982 to 2022. The team with the highest count of playoff wins is Los Angeles Lakers. The Lakers have won the championship title 10 times since 1982. Coming second is the Chicago Bulls; they have won the championship title 6 times since 1982.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*BzzaDgf4PNJAOoJHGDTxxw.png" /></figure><p>The gap between the Lakers and the other teams shows the dominance of the Lakers in the NBA playoffs. The Golden State Warriors (champions of the 2022 playoffs) have had just four wins since 1982. However, in the last decade, the Warriors have had the highest count of playoff wins, even higher than the Lakers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*x5pFoy5qV5aOKgUb8A3BKw.png" /></figure><p>The Lakers have had just one win in the last decade. This suggests that most of the Lakers’ wins were made in older years and fewer in recent years. All of the Warriors’ wins were made in the last decade.</p><p>This shows a shift in team dominance between Los Angeles Lakers and Golden State Warriors.</p><p>In every playoff, the player with the most points is recognized. Over the years, the most points scored in playoffs have increased. In 1982, the most points scored by a player was approximately 400. In 2022, Jayson Tatum, a Boston Celtics player, scored the most points in that year’s playoffs. He scored a total of 615 points.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*kbIZZH18Rz5cvDG38wmdYg.png" /></figure><p>The player with the most assists is also recognized in every playoff. The trend in most assists shows a slight decrease over the years. This might suggest that players have been making fewer assists and more goals over the years.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*sArEE7IHNUt6itbE4Xk_OQ.png" /></figure><p>Lastly, the NBA awards the most valuable player at every playoff. In 2022, the award went to Stephen Curry, a Golden States Warrior. But counting from the 1982 playoffs, Michael B. Jordan has won the award most frequently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*UI50v9HvJ-glnhV4eI3HIw.png" /></figure><p>Most of his wins were in earlier years while LeBron James (the third most frequent winner) has won the award in more recent years.</p><p>Link to interactive dashboards: <a href="https://public.tableau.com/app/profile/abilehita.sarah.azamegbe/viz/NBAPLAYOFFSVIS/Dashboard1">Tableau Public Link</a></p><p>Link to web scraping code: <a href="https://github.com/Lehita/NBA-Playoffs-Analysis/blob/main/Basketball%20Web%20Scraping%20and%20Analysis%20Project.ipynb">GitHub</a></p><p>Thank you for reading thus far!</p><p>Don’t forget to leave a comment!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91fb1b9239a8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ANALYSIS ON FOOD PRODUCTION AND CONSUMPTION IN AFRICA: SOLVING GLOBAL FOOD CRISIS]]></title>
            <link>https://medium.com/@azamegbesarah/analysis-on-food-production-and-consumption-in-africa-solving-global-food-crisis-6ab9464848b0?source=rss-44a0f5a8b96e------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ab9464848b0</guid>
            <category><![CDATA[africa]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[global-food-crisis]]></category>
            <dc:creator><![CDATA[Abilehita Azamegbe]]></dc:creator>
            <pubDate>Thu, 06 Oct 2022 16:24:59 GMT</pubDate>
            <atom:updated>2022-10-06T16:24:59.702Z</atom:updated>
            <content:encoded><![CDATA[<p>The food situation in Africa has long since been dismal. Hunger and famine in the continent date back as far as the 1960s. Although blessed with many natural resources, both edible and non-edible, the continent struggles to feed its inhabitants.</p><p>An analysis was carried out on food production and consumption in 45 African countries to pinpoint the problem in food supply and offer solutions to- not just Africa’s food shortage problem- but the world at large.</p><p>The data dates from 2004 to 2013. From the analysis, 45 countries produced large quantities of food, yet the number of calories made available to each person in a day was low.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*3yfBLDnDbjNhl8CZpDFwdw.png" /></figure><p>According to the National Health Service (NHS), UK, the recommended daily intake of calories is 2000 kcal for women and 2500 kcal for men. Note that this figure largely depends on age, lifestyle, and size. Thus, in a continent as labor-intensive as Africa, I believe that calories per capita should be above average.</p><p>With a large amount of food production, consumption should be high and far from the average. However, this is not the case. Many reasons for this phenomenon come to mind. I will outline just a few.</p><p>1. Overpopulation: Africa is the second most populous continent in the world. If all the food produced were evenly distributed (which is not the case), the amount of food getting to each person would be relatively small. However, this is no excuse because China- one of the countries in the most populous continent, Asia- had 3108 kcal/person/day in 2013.</p><p>2. Economic situation: The agricultural economy employs 65–70% of Africa’s labor force and typically accounts for 30–40% of GDP (Gross Domestic Product). More than 70% of the continent poor live in rural areas, and agriculture is their most important economic activity. Agriculture is the backbone of most African economies, so much of what they produce is sold to foreign countries. This leaves little available to the local markets.</p><p>Can you think of more reasons?</p><p>In 2004, three African countries showed higher than average calorie per capita.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*jrFHXvffsR2SboDK9vqfLg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/159/1*-Dq3H_RClch69LFbBxJqNA.png" /></figure><p>Egypt, Morocco, and Tunisia had high calories per capita, not just in 2004 but in other years.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*KG8gRzdsBUDmTLrQNtwOqw.png" /></figure><p>They consistently had above 3000 kcal/person/day throughout the ten years.</p><p>While this is true and commendable, some countries had less than 2000 kcal/person/day, as seen in the box plot below (the lower whisker shows the minimum value).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*jrFHXvffsR2SboDK9vqfLg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/553/1*ePGcHOH2U3WbwWZesNyoEw.png" /></figure><p>This fact should serve as a call to attention for Non-governmental organizations(NGOs), government officials, and the world at large.</p><p>Thankfully, there is no problem without a solution, and I would offer a few.</p><ol><li>) Increase in Production: One of the ways to increase food consumption/supply is to increase production. In my analysis, I saw that three countries were notable food producers, producing large quantities while others were far behind in production.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*-jylrV-g9QHg-TICahSaTg.png" /></figure><p>The upper whiskers in all the boxes were below 50,000 kilo-tonne, which is low compared to the outlier points. The topmost outlier is significantly higher than the rest. The top three food-producing countries were Nigeria, Egypt, and South Africa.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*MOofCShHzpK-6P0JB7zFtQ.png" /></figure><p>Note that Egypt- the second most producing country- had the highest calorie per capita (above 3000 kcal/person/capita) throughout the ten years. Hence, I believe increasing production can increase the food supply.</p><p>Also, there seems to be a strong positive correlation between food production and consumption.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*fNNC7Sg7bX7A6PsVhJX8iA.png" /></figure><p>As food production increases, food consumption increases.</p><p>2.) Multiple Income: Another way to combat the food shortage worldwide is to diversify the economy. Relying so much on agricultural produce to sustain the economy is possibly why though Nigeria is the most producing country, it has a low calorie per capita. The local markets should be saturated with food before selling to foreign markets. It is well known that multiple income sources are better than one. Though Egypt relies on agriculture to fund the country, it also relies on media, petroleum imports, natural gas, and tourism. Egypt is well known for its tourist attractions, having one of the seven wonders of the world within its borders. Whereas, in Nigeria, agriculture remains a strong pillar of the country’s economy. The other pillars are oil/gas, mining, and forestry. In previous years, oil/gas value has been decreasing.</p><p>3.) Reduce Food Waste: Another possible reason for high production and low consumption is the wastage of food. Food is wasted mainly because of inefficient preparations, and inadequate storage facilities. Food supply can be increased by building more storage facilities and constructing more efficient methods of processing food for storage or transport.</p><p>4.) Feed the Nation: Based on the analysis, I recommend that food be grown to feed the community before selling out of the country. Farmers should produce cash crops when there are enough food crops in the market. There should also be programs that allow farmers to know when there is sufficient food for everyone.</p><p>5.) Improve existing infrastructure: Bad roads, poorly-maintained storage facilities, and food processing equipment can lead to food spoilage before it can get to the consumers. Improving these infrastructures will help reduce food spoilage and increase supply.</p><p>Lastly, I saw that food production and consumption increased from 2004–2013.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*0Azb3fCvMOI4wWlv9rDlWA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*O_xESLMhhuhxOKAvmqElvA.png" /></figure><p>This could be due to the positive correlation between production and consumption. So while production increases over the years, consumption will surely increase as well.</p><p>However, this increase does not signify acceptable levels of consumption. Active efforts are still required to close the gap between production and consumption in Africa and the world at large.</p><p>Food production in African countries (2013).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*7coiiMYjsSmd7sTY0M8m5g.png" /></figure><p><strong>REFERENCES</strong></p><p>1.) <a href="https://www.nhs.uk/common-health-questions/food-and-diet/what-should-my-daily-intake-of-calories-be/#:~:text=An%20ideal%20daily%20intake%20of,women%20and%202%2C500%20for%20men.">https://www.nhs.uk/common-health-questions/food-and-diet/what-should-my-daily-intake-of-calories-be/#:~:text=An%20ideal%20daily%20intake%20of,women%20and%202%2C500%20for%20men.</a></p><p>2.) <a href="https://www.statista.com/statistics/1094250/daily-per-capita-calories-supply/">https://www.statista.com/statistics/1094250/daily-per-capita-calories-supply/</a></p><p>3.) <a href="https://www.conserve-energy-future.com/causes-effects-solutions-food-insecurity.php">https://www.conserve-energy-future.com/causes-effects-solutions-food-insecurity.php</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ab9464848b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[THE SUBTLE ART OF DATA VISUALIZATION]]></title>
            <link>https://medium.com/@azamegbesarah/the-subtle-art-of-data-visualization-119b2dcbef1a?source=rss-44a0f5a8b96e------2</link>
            <guid isPermaLink="false">https://medium.com/p/119b2dcbef1a</guid>
            <category><![CDATA[colors]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[technical-writing]]></category>
            <category><![CDATA[shecodeafrica]]></category>
            <dc:creator><![CDATA[Abilehita Azamegbe]]></dc:creator>
            <pubDate>Fri, 23 Sep 2022 09:49:54 GMT</pubDate>
            <atom:updated>2022-09-23T09:51:34.695Z</atom:updated>
            <content:encoded><![CDATA[<p>Data is everywhere. It exists in various forms; numbers, text, and symbols. Even images hold data in them. With the vast amount of data available in our world, it becomes necessary to not only collect them but analyse them as well, in hopes to gain meaningful insights or information from the data.</p><p>Data visualization is the art of building pictorial representations of data (charts, graphs, maps) to communicate insights and patterns in the data. To properly communicate your data with your audience, there are some things to keep in mind. They include:</p><p><strong>1. ) IT IS A PROCESS</strong></p><p>Finding insights in your data is usually done via a process. After cleaning and prepping your data for analysis, you begin visualization by asking questions and building graphs to answer them. Then you analyse the graphs to spot insights or trends- visualization makes the data easier to read and understand. Next, you document the insights gotten from the visualization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/390/1*nu44D_znPiqu-KHIYtbJDA.png" /></figure><p>Usually, after documenting your insights, new questions begin to pop up in your head. Getting the answers to these new questions may require the addition of new columns which is the last stage in the process: transform dataset. The cycle then begins again, until you run out of questions.</p><p><strong>2. ) CHOOSE YOUR COLORS WELL</strong></p><p>The importance of colors in visualization can not be overestimated. The end goal of data visualization is to communicate your data to your audience by making it <em>easier</em> to read. Using loud and intense colors can prove to be an eye sore for your audience. The colors used in any visual should not take away the audience’s attention from the message it carries. The main focus should be on the data. Colors should complement the data.</p><p>For example, in this dashboard for a Whatsapp Group Chat Analysis, the creator used green and black to build his visuals. These colors are known to be ‘Whatsapp colors’ and properly complement the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/343/1*4GVuVEceid64uTXsGVwybg.png" /></figure><p>Also, note the uniformity in his use of colors. For uni-variate plots (plots made with a single data variable), a single color should be used whereas for bi-variate plots with multiple categories, multiple colors may be used.</p><p>For example, in the dashboard below, the two bar plots are built with different colors (orange and black) while the column chart is built with a single color (orange).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*P6S3E--nxCQcUAzAL0lOAg.png" /></figure><p>There is beauty in simplicity as well as uniformity. Use the same color palette in every visual. Do not use red and blue in one visual, then use brown and yellow in another. Let it be uniform. That way, it is more pleasing to the eye.</p><p><strong>2. ) REDUCE CHART JUNK</strong></p><p>What do I mean by chart junk? Have you ever seen a visual with a lot of ‘things’ going on in the background? I’ll give you an example.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/369/1*W5Eit2LFCOQA57cVrTYyFw.png" /></figure><p>This is a good example of a bad visual. A lot of unnecessary elements are in it. The background color and stripes do not contribute any meaning to the data. Furthermore, the excess lines blur the axis labels out, making them difficult to see. In short, anything that does not contribute meaning to the data you wish to present or make the data easier to see and understand should be removed. This example could have been better drawn as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*LLbiW7KX1dCgH3xxXu0AaQ.png" /></figure><p>A simple column chart with horizontal grid lines to help guide the viewer’s eyes to the y-axis values and no background color. Note the uniform green colour used.</p><p><strong>2. ) OPTIMIZE YOUR DATA-INK RATIO</strong></p><p>Data-ink ratio is the proportion of ink that is used to present actual data compared to the total amount of ink (or pixels) used in the entire display. It was first introduced by Edward Tufte in his book The Visual Display of Quantitative Information. It can be calculated as thus:</p><p>Data-ink ratio = elements that convey the message</p><p>Total elements in the visual</p><p>Data-ink ratio is related to chart junk. Limiting chart junk is a way to increase the data-ink ratio.</p><p><strong>3. ) DESIGN INTEGRITY</strong></p><p>Design integrity is very important. Whatever information is perceived by your audience will be used in making decisions. Hence, your visuals should neither mislead nor lie. When visualizing data, you must ensure that what your visual communicates is authentic. For example;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/413/1*KhJsHnqIS5-XnJlgkkXaCw.png" /></figure><p>The columns in the chart above are very misleading. Looking at the graph makes one think there is a huge difference between the two tax rates. However, reading the values on the columns shows that this is not the case. There is a difference of just 4.6% between the two rates, but the graph suggests a large difference. The problem in this graph came to be because the creator started the y-axis on 34 instead of the 0 mark. Your visual should be an accurate representation of your data.</p><p><strong>2. ) TELL A STORY</strong></p><p>Last, but not least, your visualizations should tell a story. The visuals you choose to present to your audience should tell a story. There should be a flow of information; a trend easily spotted by anyone who views it.</p><p>Not every chart should be in your dashboard/report.</p><p>Can you think of other things to keep in mind when building visuals? Leave them in the comment section.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=119b2dcbef1a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>