<?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 Yusuf Bolaji Jimoh on Medium]]></title>
        <description><![CDATA[Stories by Yusuf Bolaji Jimoh on Medium]]></description>
        <link>https://medium.com/@yusuf-b-jimoh?source=rss-22ee0906a64f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8O7L5HebzBHsX_cLwHKZpw.jpeg</url>
            <title>Stories by Yusuf Bolaji Jimoh on Medium</title>
            <link>https://medium.com/@yusuf-b-jimoh?source=rss-22ee0906a64f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 19:59:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yusuf-b-jimoh/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[DATA CLEANING AND COLUMNS RENAMING IN POWER QUERY]]></title>
            <link>https://yusuf-b-jimoh.medium.com/data-cleaning-and-columns-renaming-in-power-query-733b3d41006f?source=rss-22ee0906a64f------2</link>
            <guid isPermaLink="false">https://medium.com/p/733b3d41006f</guid>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[rename-column]]></category>
            <category><![CDATA[data-cleaning]]></category>
            <category><![CDATA[power-query]]></category>
            <dc:creator><![CDATA[Yusuf Bolaji Jimoh]]></dc:creator>
            <pubDate>Mon, 29 Sep 2025 08:53:35 GMT</pubDate>
            <atom:updated>2025-09-29T08:53:35.924Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/577/1*JKHinkbhfX2r-odcnYb8Cw.jpeg" /><figcaption><a href="https://www.tutorialspoint.com/business-analytics/images/data-cleaning-process-steps.jpg">https://www.tutorialspoint.com/business-analytics/images/data-cleaning-process-steps.jpg</a></figcaption></figure><p>OVERVIEW</p><p>The cleaning of dataset has been one of the fundamentals of analyzing data in order to have the best insightful actions and recommendations for business stakeholders and without having a proper data cleaning, business owners are prone to make bad decisions for their businesses based on the wrong insights and recommendations given to them. With this, a business dataset was sourced and downloaded in PDF and imported to Power Query for cleaning and transformation.</p><p>DATA STUDY</p><p>Before embarking on the cleaning, each column and row of the dataset were first studied in order to be conversant with variables and values as the primary form of the data is in pdf.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8D_Irdbr-EIZlhL0YBqUwQ.png" /><figcaption>pdf screenshot of the dataset during study</figcaption></figure><p>DATA IMPORT</p><p>The data was imported into the Excel Power Query using the process in the screenshot below and missing data were found, such as empty columns, null values, duplicates on rows and columns etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YrFCDXf_x8F8SqNKVpW9Hg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M4wwuZhIyj2maGV1uQq1sw.png" /><figcaption>Data imported and filled with missing values and nulls</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EYGpHhVUWKly4AR19OnsWQ.png" /><figcaption>A screenshot of the data importation process</figcaption></figure><p>COLUMNS REMANE</p><p>It was mandatory to renames the columns in order to have the data spread across fifty two (52) pages of the pdf file appended in a single Excel or CSV format after the cleaning processes. For this reason, a separate table was created for this and it was named “Name List” with two (2) columns and some rows. See the photo attached below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T0pB7vH-hoTBgM6NUObuUA.png" /><figcaption>Name List table for columns rename</figcaption></figure><p>This above table was also imported into the Power Query, drill down using the M code <strong><em>= Table.ToRows(#“Change Type”)</em></strong> to change it into a list in which the subsequent tables were renamed with the “Name List” by writing a M Code as: <strong><em>= Table.RenameColumns(#“Changed Type”, #“Name List”, MissingField.Ignore). </em></strong>See the attached photos;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ohVE6Xu3eZYCFHS9DQgl7Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nPmg3D4tQPHOqF_R3ALhFw.png" /></figure><p>After successfully renaming the columns, the next step of the cleaning processes begins with <strong>Fill Up and Down</strong> where necessary, <strong>Removing Duplicates and Unwanted columns</strong>, <strong>replacing null values with Unknown</strong>, and fact checking the number of rows in each page in order to have a distinct form.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wkjZgtsnftOZ3bJqtFQvSQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oH--MSmFKwv-B06yicTkIA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8QJhQR0gvksHPm930uHOew.png" /><figcaption>Cleaned dataset now in a single CSV file</figcaption></figure><p>Finally, the cleaned dataset pages were appended into a new Query, and exported into a single CSV file.</p><p>Thank you for reading, and hope you learn something.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=733b3d41006f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Maven Electronics Retailer Analysis]]></title>
            <link>https://yusuf-b-jimoh.medium.com/maven-electronics-retailer-analysis-3e1e2de41bc7?source=rss-22ee0906a64f------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e1e2de41bc7</guid>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[microsoft-power-query]]></category>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Yusuf Bolaji Jimoh]]></dc:creator>
            <pubDate>Mon, 08 Sep 2025 14:44:17 GMT</pubDate>
            <atom:updated>2025-10-01T08:51:39.043Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RpVkDACyrJ71cfUaC8-P2Q.png" /><figcaption>Dashboard Overview for Executives</figcaption></figure><p><strong>Overview</strong></p><p>Maven Electronics is a global retailer that sells computers, cell phones, TVs, cameras, appliances, and other consumer products through both online and in-store channels. The company operates across multiple regions and aims to improve profitability, monitor store and product performance, and enhance customer satisfaction.</p><p><strong>Objective</strong></p><p>Create a sales performance dashboard for a global electronics retailer to consolidate and analyze sales, customer, product, and store data. The dashboard will track key performance metrics, uncover sales trends, and provide actionable insights for management to make data-driven decisions.</p><p><strong>Methodology</strong></p><p><strong>Data Source, Transformation, and DAX Measure</strong></p><p>The dataset was given by Ms. Tina Okonkwo as part of the POWERBI Bootcamp project portfolio for the participants. The data was modeled as a Star Schema and some transformations were carried out in the power query such as removing duplicates, merging of dimensional tables with the fact table by their relationship. Some Dax measures were written too in order to create the Calendar table, calculate the Revenue, Profit, Customer Count, Total Quantity Sold, Profit Margin etc. Open Date was categorized into old or new Stores; customers’ ages were grouped into older or younger demographics; calculation for new unit price, new cost price, total cost, sales_amount were carried in order to effectively write the Dax measure of the KPIs.</p><p>For the Interactive Report, us this Power BI Service link: <a href="https://app.powerbi.com/links/RPGk2abq32?ctid=e485ff88-d037-4c66-8a2c-5bd6c030c6d7&amp;pbi_source=linkShare&amp;bookmarkGuid=61a17c66-1428-4f39-a08e-1123e0756495">https://app.powerbi.com/links/RPGk2abq32?ctid=e485ff88-d037-4c66-8a2c-5bd6c030c6d7&amp;pbi_source=linkShare&amp;bookmarkGuid=61a17c66-1428-4f39-a08e-1123e0756495</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RpVkDACyrJ71cfUaC8-P2Q.png" /><figcaption>Overview Dashboard</figcaption></figure><p><strong>Analysis Report</strong></p><p><strong>Overall Performance (KPI Tracking)</strong></p><p>Maven Electronics Retailer realized the sum of $52.6M as its Revenue over the year with a Profit of $30.8M, the total quantity sold was 198,000 and total unique customers were 12,000.</p><p>The company’s KPIs are growing annually compared to its target except for the year 2020 and 2021 where it had a sharp downward decline compared to its goals.</p><p><strong>Trends Over Time (Monthly Analysis)</strong></p><p>The company’s revenue, profit, quantity, and customer count started having changes in decline based on monthly analysis in 2020 except for some other months that had some positive growths. Below are the months with growths:</p><p><strong>Revenue</strong>: February was $7.39M; May was $4.49M; November was $4.49M; and in December it realized $7.06M.</p><p><strong>Profit</strong>: February was $4.35M; May was $2.64M; November was $2.65M; and December was $4.11M.</p><p><strong>Quantity</strong>: February was 26,911; May was 16,521; October was 16,258; and November was 27,114.</p><p><strong>Customer Count</strong>: In February the total number was 3,105; May 2,037, and December 3,175.</p><p>There are seasonal patterns where the company’s performance consistently drops across these months; January, March, April, June, July, August, and September. There were sharp declines across the KPIs during the aforementioned moths.</p><p><strong>Year-over-Year (YoY) Comparison</strong></p><p>The company’s performance in every current year was better than its previous years except for the years 2020 and 2021 where there were declines across.</p><p>In the year 2017, the year-over-year for Revenue was 8.0%, profit 6.9%, and customer 13.5%.</p><p>In 2018, revenue grew by 72.7%, profit by 72.3%, and customer by 63.9%.</p><p>In 2019, revenue increased by 44.1%, profit by 44.5%, and customer by 36.3%.</p><p>In 2020, there company had massive decline with revenue by -49%, profit by -49%, and customer by -40.5%.</p><p>In 2021, the revenue declined by -75.3%, profit by -75.3%, and customer by -74.9%. therefore, the company is yet to recover from this trending decline.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l2fiRlJosNqtGuLkqrOObw.png" /><figcaption>Customer Dashboard</figcaption></figure><p><strong>Customer Analysis</strong></p><p>The company’s sales based on the demographics (older or younger) was dominated by the older group as they took 66.36% ($34.87M) of the revenue share while the younger group took the remaining share of 33.64% ($17.68M).</p><p>The company had most of its quantity sold from Seven (7) States like California with the total of 11,295; Texas 7,866; Ontario 6,989; New York 6,305; Freistaat Bayern 5,376; Florida 5,362; and Illinois 4,652.</p><p>The top three (3) customers based on the quantity bought, revenue, and profit are:</p><p>i. Gaspare Tresvian with a total of124 in quantity, $33.13K in revenue, and $19.31K in profit.</p><p>ii. Fabrice Lamoureux with 123 in quantity, $26.33K in revenue, and $14.69K in profit.</p><p>iii. Vanessa Holzman with 107 in quantity, $17.71K in revenue, and $9.71K in profit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qLc4tx6e-JZ8EdyEAsapUQ.png" /><figcaption>Product Dashboard</figcaption></figure><p><strong>Product Analysis</strong></p><p>The company generated its top revenue from computer sales based on product category with sum of $18.17M and $10.62M in profit followed by home appliances, and camera and camcorders with the revenue of $10.62M, $6.17M, and profit of $5.95M, $3.71M respectively, while games and toys has the lowest revenue of $682K and profit of $373K.</p><p>Adventure Works has the largest share of the revenue based on the product brand with the sum of $11.13M, followed by comtoso $10.18M, while the phone company has the smallest revenue of $5.06M.</p><p>Movie DVD, Desktops, and Bluetooth headphone have the largest share of the quantity sold by subcategory with the figure of 28,802; 20,626; and 13,652 while air conditioners, lamps, washer and dryers have the lowest with 884; 1,164; 1,180.</p><p>More so, Desktops, televisions, projectors and screens have the highest share of the total profit by subcategory with the value of $5.28M, and $2.24M while boxed games, fans, and cellphone accessories contributed the lowest profit of $49K, $50K, and $12K respectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WKKuxk9RDeZGyezEDaeudg.png" /><figcaption>Store Dashboard</figcaption></figure><p><strong>Store &amp; Regional Analysis</strong></p><p>Among the top ten (10) states, online has the highest profit of $6.34M while others were below a $1M.</p><p>Northern territory has the lowest profit of $11.6K among the bottom 10 states of the store regional states.</p><p>All store’s states classified as physical store has a combined profit of $24.45M while online has $6.34.</p><p>Old Stores has the lowest percentage of the revenue with 6.73% while new store has largest with 93.27%.</p><p><strong>Insights</strong></p><p>i. In 2018, the company’s revenue grew by 72.7%, profit by 72.3%, and customer by 63.9%, and 79.4% in total quantity sold.</p><p>ii. The company’s KPIs are growing annually compared to its target except for the year 2020 and 2021 where it had a sharp downward decline compared to its goals. One of the factors that contributed to this was the Covid-19 and global lockdown as some businesses are yet to recover and some wind-up totally.</p><p>iii. The company made more sales from the older group as they took 66.36% ($34.87M) of the revenue share while the younger group took the remaining share of 33.64% ($17.68M).</p><p>iv. The company generated its top revenue from computer sales based on product category with sum of $18.17M and $10.62M in profit followed by home appliances, and camera and camcorders with the revenue of $10.62M, $6.17M, and profit of $5.95M, $3.71M respectively, while games and toys has the lowest revenue of $682K and profit of $373K.</p><p>v. Adventure Works has the largest share of the revenue based on the product brand with the sum of $11.13M, followed by comtoso $10.18M, while the phone company has the smallest revenue of $5.06M.</p><p>vi. Movie DVD, Desktops, and Bluetooth headphone have the largest share of the quantity sold by subcategory with the figure of 28,802; 20,626; and 13,652 while air conditioners, lamps, washer and dryers have the lowest with 884; 1,164; 1,180. More so, Desktops, televisions, projectors and screens have the highest share of the total profit by subcategory with the value of $5.28M, and $2.24M while boxed games, fans, and cellphone accessories contributed the lowest profit of $49K, $50K, and $12K respectively.</p><p>vii. Among the top ten (10) states, online has the highest profit of $6.34M while others were below a $1M.</p><p>viii. Northern territory has the lowest profit of $11.6K among the bottom 10 states of the store regional states.</p><p>ix. Old Stores has the lowest percentage of the revenue with 6.73% while new store has largest with 93.27%.</p><p><strong>Recommendations</strong></p><ol><li>The management needs to investigate the causes of the company’s poor performance in the years 2020 &amp; 2021 internally even though there is global lockdown, and also conduct a market study if there are new competitors offering discounted prices gadgets which might likely made the customers to ditch their products.</li></ol><p>2. The management needs to focus on the younger group of the customer’s demographics as they can boost the revenue generated from that class by offering weekly or monthly promo sales of some product category such as games and toys; movies, music, and audio book, as these products are best for youngsters.</p><p>3. Online store needs more expansion as more revenue can be generated in continents like Africa and Asia where the company is yet to establish its physical stores.</p><p>4. The management needs to investigate the monthly trend of the declined years as some months were given good turnover even though the poor performance is of greater share.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e1e2de41bc7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Preparation and Modelling]]></title>
            <link>https://yusuf-b-jimoh.medium.com/data-preparation-and-modelling-6310bb116fb7?source=rss-22ee0906a64f------2</link>
            <guid isPermaLink="false">https://medium.com/p/6310bb116fb7</guid>
            <category><![CDATA[data-preparation]]></category>
            <category><![CDATA[data-modeling]]></category>
            <dc:creator><![CDATA[Yusuf Bolaji Jimoh]]></dc:creator>
            <pubDate>Tue, 19 Aug 2025 14:43:02 GMT</pubDate>
            <atom:updated>2025-08-19T14:48:35.040Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s another beautiful day #PowerBI</p><p>This talk is all about data modelling (DM) and how it helps redundancy and speed up processing time.</p><p>DM is the process of breaking large tables into smaller parts with their relationships. for example, the Electrical Transformer in your community is the Large Table, the Prepaid Meters supplied to every household are the smaller parts (table) and the relationship that easily connects them are the electrical cables, without the electrical cable, there wouldn&#39;t be any power distribution the parties.</p><p>Let&#39;s get to the main discussion.</p><p>I got a CSV file named Walmart, went to my #PowerBI_Desktop &amp; imported the file using Text/CSV format, &amp; I profiled the data through Transformation after which I was satisfied with everything.</p><p>I followed the laid rules of DM, duplicated the profiled and transformed Walmart Dataset into five (5) Datasets which I renamed; Facts Table, Customer Dim, Product Dim, Calendar Dim, Location Dim.</p><p>After renaming these Datasets, I proceeded by removing the unwanted columns from the Dimension Tables, then I moved forward by removing the duplicates from the dimension tables and later created the relationships between the Dimension tables and the facts tables using the Index. @ @ @</p><p>These relationships are Primary Keys to the Dimension Tables while they are Foreign Keys to/in the Facts Table. The Relationships were established through Merge and all unwanted Columns were removed from the Facts Tables after the relationships were built successfully.</p><p>RT for a wider audience.</p><p>#PowerBI_Data_Modelling<br>#Data_Analysis #Data_Preparation</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6310bb116fb7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Effect of Rising Costs of Living on Economic Health in Africa]]></title>
            <link>https://yusuf-b-jimoh.medium.com/the-effect-of-rising-costs-of-living-on-economic-health-in-africa-f01122d738ef?source=rss-22ee0906a64f------2</link>
            <guid isPermaLink="false">https://medium.com/p/f01122d738ef</guid>
            <category><![CDATA[rising-cost-of-living]]></category>
            <category><![CDATA[business-strategy]]></category>
            <category><![CDATA[economic-growth]]></category>
            <category><![CDATA[data-analysis]]></category>
            <dc:creator><![CDATA[Yusuf Bolaji Jimoh]]></dc:creator>
            <pubDate>Sat, 23 Nov 2024 13:16:23 GMT</pubDate>
            <atom:updated>2024-11-23T15:01:21.649Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K83uhnCFFtqfGEnYs2KhOA.jpeg" /><figcaption>Image from marketing2business.com</figcaption></figure><p><strong>INTRODUCTION</strong></p><p>For any sovereign state among the African countries to be considered a developed nation, the value of her gross domestic products (GDP) must have matched countries like Luxembourg, China, Canada, and United State of Ameria etc. According to financestrategists.com, a country’s Gross Domestic Product, or GDP, is the total monetary or market value of all the goods and services produced within that country’s borders during a specified period of time, While Gross Domestic Per Capita measures the GDP per person in a country and it is associated with prosperity and standard of living. From this now, we can say standard cost of living in most African countries is one major factors in determining the economic state of that nation if we look inward i.e. within the region before comparing these countries with other countries outside the region. Therefore, some critical questions need to be asked, and answers should be given to each question such unemployment, inflation, rising price of food stuffs etc.</p><p><strong>OBJECTIVE</strong></p><p>The main objective of this project is to explore and analyze how increase in the cost of living affects businesses, contributes to overall inflationary pressure, the purchasing powers of individuals or businesses, and unemployment.</p><p><strong>LIMITATTION</strong></p><p>There is no task without challenges and one of the limitations of this analysis is unavailability data for some of the African countries as the scope of this analysis was limited to the region. Out of the 54 countries in Africa, only 24 of them have complete data of these indices: cost of living, rent, cost of living plus rent, restaurant, groceries, and local purchasing power.</p><p><strong>DATA SOURCE</strong></p><p>The dataset used for this analysis was provided by Amdor Analytics for the Interns as part of the Internship program challenges in order to show case their ability of analyzing real world data, and some data were also scrapped from the web.</p><p><strong>DATA MODELLING</strong></p><p>The tables were merged using power query, and country/entity columns are used as the connecting key since they possessed a common unique identifier which is the country name in order to have a denormalized table.</p><p><strong>ANALYSIS QUESTIONS</strong></p><ol><li>Analyze the relationship between rising cost of living and inflation</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*HwVwVufaBB-_ih5aP3Zecw.png" /></figure><p>A. In order to examine the effect of increasing living cost on inflationary pressure, the cost-of-living index (CLI) for the twenty-four African countries whose data were available was used to ascertain this effect. When the prices of consumer goods increase, its impact will spread across to other services too such as rent. Therefore, from the above chart, some of the African countries with high cost of living index and rent index were seen in display whereby Senegal, Ethiopia, and Mozambique have 44, 43.1 and 43 CLI as at 2024 topping other countries, and this show that there is positive relationship between them where r = 0.6548, which then leads to inflationary pressure within the nation or business sectors.</p><p>B. The inflationary pressure that arises from the cost of living will also affect the purchasing power of individuals who will have to cut down their demands for goods or services, economic instability will also set in because there is little capital to keep the business operations running. During the COVID-19 pandemic season, the purchasing power reduced drastically because the international market was closed down, individuals and businesses were only living on their savings because of the economic instability brought by the pandemic.</p><p>2. Explore how rising cost of living impact employment level, wage demand, and job market dynamics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*TMbU08llgS5xWulYMBsmgQ.png" /></figure><p>The top ten (10) countries in Africa with the highest number of unemployment rate were used to ascertain the relationship with rising cost of living and the result was positive where r = 0.9903. In the above chart, Zimbabwe has the highest CLI with lower rate of unemployment where, South Africa, Namibia, and Tunisia have the highest rate of CLI and Unemployment among others. Therefore, when there is increase in cost of living, workers may demand increase in wages and salary in order to meet up with their daily obligations such as transport fare, rental fee, feeding cost and what-a-view, whereas employers may not consider these factors from the employees because maximizing the profit and reducing cost are the major goals of the business and this can lead to downsizing and retrenching of some staffs who they feel were not important to keep. Let us take Nigeria as an example, in the year 2023 when the President made a statement that “fuel subsidy is gone”, fuel stations increased the price of PMS (premium motor spirit) which affect the cost of living drastically, the Nigerian Labour Congress stood up and demand for minimum increase from the Federal Government which was later increased from N30,000 to N70,000 because prices of other commodities too have change through the cost of transportation.</p><p>3. Investigate the impact on Business Operations and Investment Decision.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*w6MnKY4Ayhsfrag62jXkJQ.png" /></figure><p>For any country to attract foreign direct investment, the state of her gross domestic products will be considered which is the total monetary value of finished goods and services within a year. Looking at the post COVID-19, a lot of African countries are yet to recover from the loss it brought likewise businesses too. From 2023 GDP report, countries like Nigeria, South Africa among others have a huge decrease of their GDP as the Russia — Ukraine war set in other challenges faced in the international trades as businesses who relies on these countries for raw material such Wheat from Ukraine will be short of supplies and this will affect cost of goods and operations as they will be looking for alternative.</p><p>A. Increased cost of living affects business operations, cost structures, and investment strategies such as the removal of fuel subsidy will lead to increase in cost structures of powering the business activities. For example, a cold-room that stocks fishes, chickens will have to increase the price of goods in order to meet up with business activities. Investment strategies will be affected too because a firm with four (4) other branches apart from the main headquarter may decide to shutdown branch(es) that are performing well in order to cut the cost of operation down.</p><p>B. Retaining the business confidence and long-term economic development may somehow difficult if the cost of living, rent, purchasing power, and inflation keep going higher because lesser goods will be sold and big business such as we have Dunlop Tyre in Nigeria in the early 20s may decide to shut down its operations or leave the business environment for prosperous zone where the cost of operation is relatively low.</p><p><strong>INSIGHT</strong></p><ol><li>In the year 2024, countries like Senegal, Namibia, Cameroun have the highest cost of living which led to inflation across other commodities such as rent, groceries etc.</li><li>South Africa tops the list of countries where the rate of unemployment is increasing along with the cost of living across the region.</li><li>In 2023, Nigeria and South Africa GDP are yet to break even of the year 2018 and countries like Algeria, Ethiopia, Morrocco, Kenya, and Tunisia have already recovered from post COVID-19 with their GDP increase in 2023.</li></ol><p><strong>RECOMMENDATION</strong></p><p>In order to mitigate the challenges associated with rising cost of living:</p><ol><li>The policymakers need to support small and medium enterprises either with capital or tax holiday as this will be huge relief to the business owners, likewise, reducing cost of consumer goods.</li><li>The policymakers should look for a way of maintaining a single digit of inflation and exterminating multiple exchange rate of the country’s currency as these are part of the factors affecting the economic growth.</li><li>Businesses like Restaurants can start their farming in order to reduce the cost of getting farm produce or look for local substitute products that can be used for their productions.</li><li>The policymakers should also support the local farmers with mechanical tools which will improve the farming system and produce output, the surplus can be exported too.</li><li>The policymakers should consider exporting more of the goods in which the country has comparative advantages over others.</li><li>There should be price control of goods and services because artificial scarcity created by businesses also impact the rising cost of living.</li><li>Lastly, the policymakers should not made law that will drive away investors from the country because giving tax holiday for some period of time is one of the best ways of attracting investors apart of providing maximum security for lives and properties.</li></ol><p>Thanks for reading through</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f01122d738ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IMPACT OF FOOD PRICES ON HEALTHY DIET: A COMPARATIVE ANALYSIS OF NIGERIA AND BENIN REPUBLIC]]></title>
            <link>https://yusuf-b-jimoh.medium.com/impact-of-food-prices-on-healthy-diet-a-comparative-analysis-of-nigeria-and-benin-republic-cc6cbf12c247?source=rss-22ee0906a64f------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc6cbf12c247</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[healthy-diet]]></category>
            <category><![CDATA[excel]]></category>
            <dc:creator><![CDATA[Yusuf Bolaji Jimoh]]></dc:creator>
            <pubDate>Sat, 16 Nov 2024 17:59:24 GMT</pubDate>
            <atom:updated>2024-11-17T16:45:52.146Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>INTRODUCTION</strong></p><p>Keeping a healthy diet routine is one of the most important ways of having a healthy life but it comes with some costs. Eating too much of carbohydrates can lead to different health issues and food price is a major determinant of eating healthy. When the prices of food are higher, people tend to look for alternative means of satiating their hunger since they cannot afford it, but that might not be nutritional enough for their health and this may cause hypertension, diabetes, obesity. There are various factors affecting the prices of food in the market among them are inflation, currency exchange, demand and supply, etc.</p><p><strong>OVERVIEW</strong></p><p>This project covers the comparative analysis in food security and healthy diets between Nigeria and Benin Republic. The years covered between 2010 and 2020 in the analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ka1YVczwApNLTsFkkPl28g.png" /></figure><p><strong>OBJECTIVES</strong></p><p>The aim of the project is find how change in food prices affects the consumption of healthy diet and the possible health issues it may leads to.</p><p><strong>DATA SOURCES</strong></p><p>Part of the dataset used for this analysis was provided by Amdor Analytics for the Interns while other needed data were scrapped from online sources.</p><p><strong>Analysis Observation</strong></p><ol><li>What is the Employment Percentage over the year in the countries</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/1*fDA_GHlgK6LPWpGj3DIKww.png" /></figure><p>In Nigeria, between the years, the percentage of employment in Agriculture such as farming, fishing was 1425.58, while that of Benin Republic was 1435.17. This shows that Nigerian Government is lacking behind as such will have an effect on the food security of the nation.</p><p>2. Is the cost of a healthy diet affordable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/1*3_I7_0D4H5i6MW0GBtel5A.png" /></figure><p>From the above chart, the average yearly cost of having a healthy diet in both country is not affordable based on the average minimum wage on yearly basis which were $86 USD in Nigeria and $68 USD in Benin Republic.</p><p>3. Is there a correlation between undernourishment and the price of food (cost of healthy diet)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/477/1*2x1W8VF_9svrLRWVJJwtYA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/549/1*KZnjG3y-b0oGwd0F52mDRA.png" /></figure><p>There was perfect positive correlation between undernourishment and cost of healthy diet where r = 1. This means that a large number of the population was malnourished across both countries with Nigeria having the highest total number of the percentage over years.</p><p>4. What are possible health issues faced due to unaffordable diets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*hOTYSU8CnAedt2bZkdQ9zQ.png" /></figure><p>From this above graph, 463.2% of female within the age of 30–79yrs suffered prevalence of hypertension, 434.1% were male of adult age. This shows a big vacuum between Nigeria and Benin, and this was a result of unaffordability of healthy diet.</p><p>5. What are key factors influencing the food price in the countries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/1*TNvqUQiTuNRsvI_5II9B-g.png" /></figure><p>There are several factors influencing the price of food and among them is inflation, this inflation is calculated based on year-on-year increase of the food prices across the years. The graph on the left-hand side represents the Benin Republic inflation effecting the price of food at 0.930126 which shows a strong positive correlation while that on the right-hand side represents Nigeria at 0.902837 which was also positive.</p><p><strong>INSIGHTS</strong></p><ol><li>In Nigeria, there was low employment of labor in the agricultural sector of the economy which led to the increase in unaffordability of healthy diet by the people and also resulted in shortfall of food security.</li><li>The minimum wages of these countries were not enough to purchase the required healthy foods as there were other expenditures to be fulfilled from the little earning.</li><li>The population percentage of undernourished individuals is much higher than that of the neighboring country.</li></ol><p><strong>RECOMMENDATION</strong></p><ol><li>The Nigerian government should invest more in her agricultural sector in order to have enough food security and possibly export the surplus so that her currency exchange will also be stronger compared to her counterpart.</li><li>The government should find a way of subsidizing some products such as oil and gas as they are part of the effect on price increase of consumer goods.</li><li>The government should educate the people more about healthy diets and how it will make them fit and free from health related deficiency.</li></ol><p>Thanks for reading through.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc6cbf12c247" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bank of America consumer complaints Analysis]]></title>
            <link>https://yusuf-b-jimoh.medium.com/bank-of-america-consumer-complaints-analysis-2cd0077d63f8?source=rss-22ee0906a64f------2</link>
            <guid isPermaLink="false">https://medium.com/p/2cd0077d63f8</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[consumer-complaints]]></category>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[data-visualisation]]></category>
            <dc:creator><![CDATA[Yusuf Bolaji Jimoh]]></dc:creator>
            <pubDate>Fri, 08 Nov 2024 01:35:45 GMT</pubDate>
            <atom:updated>2024-12-30T23:43:57.138Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>OVERVIEW</strong></p><p>Bank of America (BoA), a financial institution based in the United States, has received numerous customer complaints over the years. To address this, BoA has decided to analyze consumer complaints related to its financial products and services from 2017 to 2023. A comprehensive dataset has been provided, containing detailed information on each complaint, including submission and receipt dates, associated products and issues, and BoA’s responses. This case study invites analysts and policymakers to explore the dataset to uncover insights and develop strategies for addressing customer complaints more effectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PUIkt8HlWRPacNIbJrLoMw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6bmqhOcga9xj32DIbigfxA.jpeg" /></figure><p><strong>OBJECTIVE</strong></p><p>The primary goal of this case study is to analyze the data, identify patterns, and propose informed, data-driven recommendations that BoA can implement to effectively address and reduce customer complaints.</p><p><strong>DATA SOURCE</strong></p><p>This Dataset was given by Amdor Analytic as part of the internship training to their interns to analyze.</p><p><strong>Data types and Variables</strong></p><p>This dataset comprises of 12 fields and 62,516 records. these fields are explained below.</p><ol><li>Complaint ID: this is a unique identifier for each consumer’s complaint about company’s products.</li><li>Submitted via: this explains the various means the consumers used to reach back with company concerning the challenges faced.</li><li>Date Submitted: this is the date in which the complaint was sent by the consumer.</li><li>Date Received: this is the date in which the company acknowledged the receipt of the complaints.</li><li>State code: this is the columns that gives the state code/abbreviation of each state in the United State of America.</li><li>Products: this tells us about the various type of products offered by the company.</li><li>Sub-product: explains about the other classes of products.</li><li>Issues: these are challenges faced by consumers and they were of classes.</li><li>Sub-issues: these explains various classes of issue of the main issues.</li><li>Company public response: this tells us whether the chooses to respond publicly or not.</li><li>company response to consumer: this explains how the company tends to resolve and manage this issue of each complaints.</li><li>Timely response: it shows whether the company responded to complaints in time or not.</li></ol><p><strong>Analyzing the Dataset</strong></p><ol><li><strong>How many times does an issue occur over the years</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/1*Iy01jWN95BqbavqcqrEPlA.png" /></figure><p>From the above line graph, checking account has 39.69% of the total overall percentage across the years, followed credit card 25.91%, credit reporting 12.33%, debt collection 4.32%, money transfer 5.52%, mortgage 10.56%, payday loan 0.53%, student loan 0.06%, and vehicle loan 1.01%.</p><p>2. <strong>How many days does it take the company to acknowledge the receipt of consumer complaints.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/1*-KLJEBRGqQQMuISxU3LQGQ.png" /></figure><p>It is very clear that there is wider gap between the submission and received date and this also impacts on the responses the company gives back to the consumers about the products. Between the year 2017–2023, it took the company 76,575 days to response to 62,516 consumers complaints.</p><p>3. <strong>What are the top 10 States by consumers complaints.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/1*5i8xlo34qXNYVbcOBYeVkg.png" /></figure><p>These are the top 10 State in the United State where complaints mostly come from where California has 13,709; Florida 6,488; Texas 4,686 and so on.</p><p>4. <strong>The Bottom 10 States by consumer complaints.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/475/1*ayU3dSTjQqfQCws9epjKwQ.png" /></figure><p>From the above chart, Wyoming and North Dakota are the States with lowest number of complaints so far with 22 spread across 6years.</p><p>5. <strong>What is the most used medium for consumer’s complaints.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*EZv0LoaN7ODJMNMqhEThNg.png" /></figure><p>Over the years, Web was the most used platform to log complaints by consumers with a total number of 45,423; Referral 10,766; Phone 4,684; Post mail 1,318; Fax 233; Web referral 90; and Email 2.</p><p>6. <strong>How does the company resolve the consumer’s complaint.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/457/1*TxpBvJahEe7jXyzqnyxTEg.png" /></figure><p>From the above chart, the company resolved 41,044 complaints with explanations, 14,697 issues were closed with monetary relief, 5,273 were resolved with non-monetary relief, 1,494 issues were yet to be resolved, and 8 complaints closed.</p><p>7. Did the company respond to consumer’s complaints publicly or not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*Bj3ARjrBJ5ETnV22XHwIJw.png" /></figure><p>The responded to 60,311 issues without a public response, there were no information available for 2,175 complaints from the company, and the remaining 30 complaints were addressed based on the company’s discretion, authorized law, and fact presented in the complaints.</p><p>8. <strong>Did the company give a timely response to consumer’s complaints.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/391/1*ZY8H0cWyVo9gD_6HNhIGGQ.png" /></figure><p>The company gave a timely response to 58,619 complaints, 2,403 were not given, and no available information for 1,494.</p><p><strong>Insight on YoY growth about consumers complaints (Products)</strong></p><p>In 2107, Bank of America (BOA) offered a number of seven (7) products, there were a total number of 2032 complaints on Checking/Savings Account, and Credit/Prepaid Cards 1123, Credit reporting 465, Debt collection 285, Money transfer 141, Mortgage 1236, Payday loan 33, Student loan 8 and Vehicle loan 46.</p><p>In 2018, savings account complaints rose by 56.39% of previous year, credit cards by 60.73%, credit reporting by 63.66%, debt collection by 45.96%, money transfer by 116.31%, mortgage by 5.34%, payday loan by 24.24%, student loan by 37.5%, vehicle loan by 41.30%.</p><p>In 2019, consumers complaints on savings accounts dropped by 3.15% of the year before, credit cards by 0.89%, credit reporting by 17.48%, money transfer by 8.85%, mortgage by 36.09%, payday loan by 24.394%, student loan by 63.64%, while debt collection and vehicle loan increased by 26.68% and 16.92% respectively.</p><p>In the year 2020, complaints on savings account increased by 5.49%, credit cards by 42.26%, credit reporting by 66.08%, debt collection by15.74%, money transfer by 30.72%, mortgage by 37.62%, payday loan by 109.68%, student loan by 50%, and vehicle loan by 38.16% of the previous year.</p><p>In the year 2021, complaints on savings account increased by 23.13%, credit cards by 21.22%, credit reporting by 57.14%, debt collection by 89.80%, money transfer by 73.37%, payday loan by 16.92%, and vehicle loan by 9.73%, while mortgage dropped by 17.03%, student loan by 16.67% of the year before.</p><p>In 2022, complaints on savings account increased by 29.54%, credit cards by 11.51%, credit reporting by 13.42%, money transfer by 73.37%, mortgage by 37.62%, and vehicle loan by 9.73%, while debt collection dropped by 30.89%, payday loan by 17.11%, and student loan by 40% of the previous year.</p><p>In 2023, there were decrease of consumers complaints on products such as savings account by 20.80% of previous year, credit cards by 29.79%, credit reporting by 29.26%, debt collection by 47.30%, money transfer by 41.16%, mortgage by 53.04%, payday loan by 61.90%, student loan by 33.33%, vehicle loan by 16.13%.</p><p>This year 2023 gave positive improvement about the BOA responses and treatment of consumers complaints across the products because there have no reports of massive dropped down like this in the years before 2023.</p><p><strong>RECOMMENDATION</strong></p><ol><li>The company should work on how to reduce the number of days in which complaints are being received such as employing the use of automatic responder with AI, creating an online customer service support where minor complaints can be easily resolved without put on a hold for too long.</li><li>The bottom states shows that the residents of those areas are not well informed about the company’s products, therefore, more awareness campaign should be directed toward those populace</li><li>The top states need maximum attention such as establishing a customer care unit in those areas in order to reduce the high influx of complaints from those regions.</li><li>The failure of the company for not providing a public response to 2,175 complaints is worrisome and the management should their best in making sure things like this doesn’t occur in the future again.</li></ol><p>Thanks for reading through.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2cd0077d63f8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Telco Customer Churn — SQL Analysis]]></title>
            <link>https://yusuf-b-jimoh.medium.com/telco-customer-churn-sql-analysis-8d9cef0055a6?source=rss-22ee0906a64f------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d9cef0055a6</guid>
            <category><![CDATA[data-analysis-using-sql]]></category>
            <dc:creator><![CDATA[Yusuf Bolaji Jimoh]]></dc:creator>
            <pubDate>Thu, 24 Oct 2024 15:17:26 GMT</pubDate>
            <atom:updated>2024-10-26T07:50:45.415Z</atom:updated>
            <content:encoded><![CDATA[<h3>Telcom Customer Churn — SQL Analysis</h3><p><strong><em>INTRODUCTION</em></strong></p><p><em>All businesses want to retain her customers in order to increase profit and revenue, minimize loss, and maintain her existence in the competitive market through customers retention and continuous patronage of her products or services at every given opportunity. However, churn rate is major factor to consider when analyzing the customers data in order to ask and answer the questions “what and why”, and “how” is the management going to tackle the problem. In order to understand what we mean by churn in the context of telecommunication, it refers to the rate at which customers close their contracts or subscriptions with a service provider company in any given time period. When the customers churn rate is low, less the management worries and vice versa.</em></p><p><strong><em>DATASET OVERVIEW</em></strong></p><p><em>This dataset was source from Kaggle, and it contains some of the information about every customer such the customer_id, demograpghics, payment_methods, churn_status, etc.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fYGKIIARr3Q67-kI0x0DqA.png" /><figcaption>A quick of the uncleaned data</figcaption></figure><p><strong><em>Variables in the Dataset</em></strong><em>.</em></p><p><strong><em>a. CustomerID</em></strong><em>: unique identifier for each customer.</em></p><p><strong><em>b. Gender</em></strong><em>: customer sex either Male/Female.</em></p><p><strong><em>c. CitizenStatus, PartnerStatus, DependantStatus, PhoneService, PaperlessBilling, ChurnStatus</em></strong><em> were classified with Yes/No.</em></p><p><strong><em>d. YearofService</em></strong><em>: it was converted from month to years basis, such as 0–11months represent &lt; 1yrs; 12–23months represent &lt; 2yrs and so on.</em></p><p><strong><em>e. MultippleLines, OnlineSecurity, OnlineBackup, DeviceProtection, TechSupport, StreamingTV, StreamingMovies </em></strong><em>were classified with Yes, No, N/A.</em></p><p><strong><em>f. Contract: </em></strong><em>this passed the information about the customer’s agreement with service provider either on monthly or yearly basis. it was classified into Month — Month, One year, Two years.</em></p><p><strong><em>g. PaymentMethod</em></strong><em>: it shows the different payment form used by customers such as credit card, bank transfer, mail check, and electronic check.</em></p><p><strong><em>h. MonthlyCharges:</em></strong><em> amount due to be paid by each customer at the end of every month for those who subscribed to monthly use charges.</em></p><p><strong><em>i. YearlyCharges:</em></strong> <em>this was calculated by multiplying the monthlycharges by 12.</em></p><p><strong><em>Data Cleaning:</em></strong> <em>This data was cleaned using the SQL server, and here are the queries written to do so.</em></p><p><strong><em>d. YearofService</em></strong><em>: it was converted from month to years basis, such as 0–11months represent &lt; 1yrs; 12–23months represent &lt; 2yrs and so on.</em></p><p><strong><em>e. MultippleLines, OnlineSecurity, OnlineBackup, DeviceProtection, TechSupport, StreamingTV, StreamingMovies </em></strong><em>were classified with Yes, No, N/A.</em></p><p><strong><em>f. Contract: </em></strong><em>this passed the information about the customer’s agreement with service provider either on monthly or yearly basis. it was classified into Month — Month, One year, Two years.</em></p><p><strong><em>g. PaymentMethod</em></strong><em>: it shows the different payment form used by customers such as credit card, bank transfer, mail check, and electronic check.</em></p><p><strong><em>h. MonthlyCharges:</em></strong><em> amount due to be paid by each customer at the end of every month for those who subscribed to monthly use charges.</em></p><p><strong><em>i. YearlyCharges:</em></strong> <em>this was calculated by multiplying the monthlycharges by 12.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fYGKIIARr3Q67-kI0x0DqA.png" /></figure><p><em>The data was cleaned using the SQL server, and here are the queries written to do so.</em></p><pre>SELECT  CustomerID, gender AS Gender,<br>   CASE WHEN SeniorCitizen = 0 THEN &#39;No&#39; ELSE &#39;Yes&#39; END AS CitizenStatus,<br>   CASE WHEN Partner = 0 THEN &#39;No&#39; ELSE &#39;Yes&#39; END AS PartnerStatus,<br>   CASE WHEN Dependents = 0 THEN &#39;No&#39; ELSE &#39;Yes&#39; END AS DependantStatus,<br>   CASE WHEN tenure BETWEEN 0 AND 11 THEN &#39;0yr&#39;<br>     WHEN tenure BETWEEN 12 AND 23 THEN &#39;1yr&#39;<br>     WHEN tenure BETWEEN 24 AND 35 THEN &#39;2yr&#39;<br>     WHEN tenure BETWEEN 36 AND 47 THEN &#39;3yr&#39;<br>     WHEN tenure BETWEEN 48 AND 59 THEN &#39;4yr&#39;<br>     WHEN tenure BETWEEN 60 AND 71 THEN &#39;5yr&#39;<br>     ELSE &#39;6yrs&#39; END AS YearofService,<br>   CASE WHEN PhoneService = 0 THEN &#39;No&#39; ELSE &#39;Yes&#39; END AS PhoneService,<br>   CASE WHEN MultipleLines = 0 THEN &#39;No&#39;<br>     WHEN MultipleLines = 1 THEN &#39;Yes&#39;<br>     WHEN MultipleLines IS NULL THEN &#39;N/A&#39; END AS MultipleLines,<br>   CASE WHEN InternetService = &#39;DSL&#39; THEN &#39;DSL&#39;<br>     WHEN InternetService = &#39;Fiber optic&#39; THEN &#39;Fiber optic&#39;<br>     ELSE &#39;N/A&#39; END AS InternetService,<br>   CASE WHEN OnlineSecurity = 0 THEN &#39;No&#39;<br>     WHEN OnlineSecurity = 1 THEN &#39;Yes&#39;<br>     ELSE &#39;N/A&#39; END AS OnlineSecurity,<br>   CASE WHEN OnlineBackup = 0 THEN &#39;No&#39;<br>     WHEN OnlineBackup = 1 THEN &#39;Yes&#39;<br>     ELSE &#39;N/A&#39; END AS OnlineBackup,<br>   CASE WHEN DeviceProtection = 0 THEN &#39;No&#39;<br>     WHEN DeviceProtection = 1 THEN &#39;Yes&#39;<br>     ELSE &#39;N/A&#39; END AS DeviceProtection,<br>   CASE WHEN TechSupport = 0 THEN &#39;No&#39;<br>     WHEN TechSupport = 1 THEN &#39;Yes&#39;<br>     ELSE &#39;N/A&#39; END AS TechSupport,<br>   CASE WHEN StreamingTV = 0 THEN &#39;No&#39;<br>     WHEN StreamingTV = 1 THEN &#39;Yes&#39;<br>     ELSE &#39;N/A&#39; END AS StreamingTV,<br>   CASE WHEN StreamingMovies = 0 THEN &#39;No&#39;<br>     WHEN StreamingMovies = 1 THEN &#39;Yes&#39;<br>     ELSE &#39;N/A&#39; END AS StreamingMovies,<br>   Contract,<br>   CASE WHEN PaperlessBilling = 0 THEN &#39;No&#39; ELSE &#39;Yes&#39; END AS PaperlessBilling,<br>   CASE WHEN PaymentMethod = &#39;Mailed Check&#39; THEN &#39;Mailed Check&#39;<br>     WHEN PaymentMethod = &#39;Electronic Check&#39; THEN &#39;Electronic Check&#39;<br>     WHEN PaymentMethod = &#39;Credit card (automatic)&#39; THEN &#39;Credit card &#39;<br>     WHEN PaymentMethod = &#39;Bank transfer (automatic)&#39; THEN &#39;Bank transfer&#39; END AS PaymentMethod,<br>   ROUND((MonthlyCharges), 2) AS MonthlyCharges,<br>   ROUND((MonthlyCharges), 2) * 12 AS YearlyCharges,<br>   CASE WHEN Churn = 0 THEN &#39;No&#39; ELSE &#39;Yes&#39; END AS ChurnStatus<br>FROM  Churn</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ep4M8c24LI_-JeYffRCUIw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YqQkSnhelF5fpj-MrZ0mBQ.png" /><figcaption><em>Full Display of the Cleaned Dataset</em></figcaption></figure><p><strong><em>Analysis insights questions;</em></strong></p><ol><li><strong><em>Calculate the churn rate for each payment method.</em></strong></li></ol><pre>SELECT     COUNT(CustomerID) AS TotalCustomers, PaymentMethod,  <br>           CASE WHEN Churn = 0 THEN &#39;No&#39; ELSE &#39;Yes&#39; END AS Churn_Case<br>FROM       Telecom<br>GROUP BY   PaymentMethod, Churn<br>ORDER BY   Churn_Case DESC</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*jf28CrNtFuE8a-Dz0tOB8w.png" /><figcaption>Tabular Result of the Executed Query 1.</figcaption></figure><p><em>this result show that out of 7043 customers, 1071 customers using electronic check left the Telcom, followed by mailed check, bank transfer, credit card with respective numbers 308, 258, and 232.</em></p><p><strong><em>2. Returns the average monthly charges for customers, their contract type. Additionally, include the total number of customers in each contract type.</em></strong></p><pre>SELECT  COUNT(CustomerID) AS TotalCustomers, ROUND(AVG(MonthlyCharges), 2) AS AvgChargesPerMonth,<br>   Contract AS Contracttype<br>FROM  Telecom<br>GROUP BY Contract</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*QA_3aiZYt5PHcJDiP2SqcA.png" /><figcaption>Image caption of the result in tabular form</figcaption></figure><p><em>About 3875 customers on monthly contract type were paying 66.4 as their average charges, while 1473 customers on one year contract pay 65.05 as their average charges, and 1695 customers on two years contract type pay 60.77. This shows that the variance in the average charges was tied to the contract type of each customer.</em></p><p><strong>3. <em>Find the top 10 customers who have churned and have the highest yearly charges. Return the Customer_ID, Total_Charges_Yearly, and Payment_Method.</em></strong></p><pre>SELECT  TOP(10) CustomerID, ROUND(MAX(TotalChargesYearly), 2) AS HighestYearlyCharges, PaymentMethod,<br>   CASE WHEN Churn = 0 THEN &#39;No&#39; ELSE &#39;Yes&#39; END AS Churn_Case<br>FROM  Telecom<br>WHERE  Churn = 1<br>GROUP BY CustomerID, Churn, PaymentMethod <br>ORDER BY HighestYearlyCharges DESC</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*HhfNqopfZWoBVfEYNAbZ3g.png" /></figure><p><em>The top 10 customers who left the Telcom service were screened out based on their payment method and total yearly charges as seen in the picture displayed above.</em></p><p><strong><em>4. Find all customers who have been with the service for more than 3 years but pay less than the average monthly charge. Return the Customer_ID, Tenure_Year, and Monthly_Charges.</em></strong></p><pre>SELECT  CustomerID, Tenure_Year, ROUND((MonthlyCharges), 2) AS MonthlyCharges<br>FROM  Telecom<br>WHERE  Tenure_Year &gt; &#39;3yrs&#39; AND MonthlyCharges &lt; (SELECT ROUND(AVG(MonthlyCharges), 2) AS AVGMonthly FROM Telecom)<br>GROUP BY CustomerID, Tenure_Year, MonthlyCharges, Contract</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*PM_o-pETcwog4TtLUFS11Q.png" /><figcaption>tabular view of 4th query result.</figcaption></figure><p><em>This result shows a total number of 783 customers out 7043 who have spent above 3yrs as their tenure year along with monthly charges and ID.</em></p><p><strong><em>5. Find the percentage of churned senior citizens (i.e., Senior_Citizen = Yes) among all churned customers. Return the percentage.</em></strong></p><pre>-- First created a CitizenStatus Table which has the Total Number grouped by Citizens Status &quot;Yes/No&quot; ---<br>SELECT  COUNT(SeniorCitizen) AS TotalCitizens,<br>   CASE WHEN SeniorCitizen = 0 THEN &#39;No&#39; ELSE &#39;Yes&#39; END AS CitizenStatus<br>INTO  CitizenStatus<br>FROM  Telecom<br>GROUP BY SeniorCitizen<br><br>-- Calculating the Citizens Percentages based on the grouping of &quot;Yes/No&quot; ---<br>SELECT  TotalCitizens, TotalCitizens * 100 / <br>   (SELECT(SUM(Totalcitizens)) FROM CitizenStatus) AS PercentageofCitizens<br>FROM  CitizenStatus</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*94PNvVz1oHqEzbLYqxgQFQ.png" /><figcaption>Pictorial View of the result</figcaption></figure><p><em>The total number of 5901 citizens contributed 83% to the telcom churned rate while the remaining 1142 citizens who were about 16% maintained their contracts with the company.</em></p><p><strong><em>6. Compare the average monthly charges between customers using DSL and those using Fiber Optic as their internet service. Return the average monthly charge for each internet service type.</em></strong></p><pre>SELECT  InternetService, ROUND(AVG(MonthlyCharges), 2) AS AvgMonthlyCharges<br>FROM  Telecom<br>WHERE  InternetService &lt;&gt; &#39;N/A&#39;<br>GROUP BY InternetServices</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/1*VGFRBcgVTzv0V0Hx_0HnfQ.png" /><figcaption>average monthly charges for internet service</figcaption></figure><p><em>The Customer who uses internet service with Fibre optic pays an average of 91.5 on monthly basis while customer with DSL pays 58.1 based on the services provided by the Telcom company.</em></p><p><strong><em>7. Find all customers who do not have dependents and have yearly charges greater than the average yearly charge for all customers. Return their Customer_ID, Total_Charges_Yearly, and Payment_Method.</em></strong></p><pre>SELECT  CustomerID, ROUND((TotalchargesYearly), 2) AS TotalchargesYearly, PaymentMethod<br>FROM  Telecom<br>WHERE  TotalchargesYearly &gt; (SELECT ROUND(AVG(TotalchargesYearly), 2) AS AVGMonthly FROM Telecom)<br>GROUP BY CustomerID, TotalchargesYearly, PaymentMethod<br>ORDER BY TotalchargesYearly DESC</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*zvtOnowSTM_7xV6x7vDhmA.png" /><figcaption>Tabular photo of the query result</figcaption></figure><p><em>Out of 7043 customers of the telcom, 3923 were found to be having no dependents and their total yearly charges are greater than total average monthly charges of (</em>777.14) <em>as seen in the picture above.</em></p><p><strong><em>8. Find the percentage of customers who use both streaming TV and streaming movies services, grouped by whether they have churned or not. Return the Churn status and the percentage of customers for each.</em></strong></p><pre>-- Creation of StreamTotal Table based on the customers who use both streaming TV and streaming movies services ---<br>SELECT  COUNT(StreamingTV) AS TotalStream,<br>   CASE WHEN StreamingTV = 0 THEN &#39;No&#39; ELSE &#39;Yes&#39; END AS StreamingTV,<br>   CASE WHEN StreamingMovies = 0 THEN &#39;No&#39; ELSE &#39;Yes&#39; END AS StreamingMovies,<br>   CASE WHEN Churn = 0 THEN &#39;No&#39; ELSE &#39;Yes&#39; END AS ChurnStatus<br>INTO  StreamTotal<br>FROM  Telecom<br>WHERE  (StreamingTV IS NOT NULL AND StreamingTV = 1) AND StreamingMovies = 1 <br>GROUP BY StreamingTV, StreamingMovies, Churn<br><br>-- calculating the Percentage of customers who use both streaming TV and streaming movies services ---<br>SELECT  TotalStream, ChurnStatus, StreamingMovies, StreamingTV, TotalStream * 100 /<br>   (SELECT(SUM(TotalStream)) FROM StreamTotal) AS PercentageofCustomers<br>FROM  StreamTotal</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*4S9OhwSWyvIlVkkBh7Yu-Q.png" /><figcaption>tabular image view of the outcome</figcaption></figure><p><em>The total number of 1369 customers still retain their services with the telcom company and used to stream movies and TV, they contributed 70% based on the churned status while 571 customers left the services and had 29% of the total percentage.</em></p><p><strong><em>9. Find the average monthly charges of customers who have churned and are using Fibre Optic as their internet service.</em></strong></p><pre>SELECT  ROUND(AVG(MonthlyCharges), 2) AS AvgMonthlyCharges, InternetService,<br>   CASE WHEN Churn = 0 THEN &#39;No&#39; ELSE &#39;Yes&#39; END AS ChurnStatus<br>FROM  Telecom<br>WHERE  (InternetService &lt;&gt; &#39;DSL&#39; AND InternetService &lt;&gt; &#39;N/A&#39;) AND Churn = 1<br>GROUP BY Churn, MonthlyCharges, InternetService</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*_BlyPWJhjS6AxfejGA3CLQ.png" /></figure><p><em>A total number of churned customers is 591 with average monthly charges between min of 67.75 and max of 118.35 using only Fibre Optic for their internet service.</em></p><p><strong><em>10. From customers who have not churned, find those who have been with the service for more than 2years, have multiple lines, and are not using any online security services, returns customer_ID, Tenure_Year, and Monthly charges.</em></strong></p><pre>SELECT  CustomerID, Tenure_Year, ROUND((MonthlyCharges), 2) AS MonhlyCharges,<br>   CASE WHEN Churn = 0 THEN &#39;No&#39; ELSE &#39;Yes&#39; END AS ChurnStatus<br>FROM  Telecom<br>WHERE  Tenure_Year &gt; &#39;2yrs&#39; AND Churn = 0<br>GROUP BY CustomerID, Tenure_Year, MonthlyCharges, Churn</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/1*Z_pqi5IhTLXuSp9HhNwZ3A.png" /></figure><p><em>From above tabular result, a total number of 2683 customers have not left the service and have been using it for more than 2yrs as tenure year with each unique ID.</em></p><p><strong><em>11. List the top 5 customers who are paying the highest total yearly charges but are not using any tech support or device protection services.</em></strong></p><pre>SELECT  TOP 5 ROUND((TotalChargesYearly), 2) AS TotalChargesYearly, CustomerID,<br>   CASE WHEN DeviceProtection = 0 THEN &#39;No&#39; ELSE &#39;Yes&#39; END AS DeviceProtectioStatus<br>FROM  Telecom<br>WHERE  CustomerID IN (SELECT CustomerID FROM Telecom WHERE DeviceProtection &lt;&gt; 1)<br>ORDER BY TotalChargesYearly DESC</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*-MSZvpeJn8jQP8vHfZd4jA.png" /><figcaption>Tabular view of the query result</figcaption></figure><p><em>The top 5 customers were selected based on the fact that they have not used any device protection and are among the highest yearly charges subscribers of the telcom company.</em></p><p><strong><em>Recommendations<br>a. The telcom company should find a way of bringing back young customers who have no dependents as they are likely to subscribe more to the internet service because they have fewer domestic responsibilities, through this, they increase the customer base of the market shares.</em></strong></p><p><em>b. The telcom management should look for a way of giving more discount charges to customers using Fibre Optic in order to retain and reduce the churning rate as they contribute some amount to the revenue of the company.</em></p><p><em>c. Having 29% of churned customers who used streaming platform is of no benefits to the company and creating a new marketing strategy for this will have great impact on the profit generation.</em></p><p><em>Thanks for reading</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d9cef0055a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>