<?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 Usman Adesina on Medium]]></title>
        <description><![CDATA[Stories by Usman Adesina on Medium]]></description>
        <link>https://medium.com/@drjollof?source=rss-291e863e54a9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wjESpr7nZnSheGv0LpcFLg@2x.jpeg</url>
            <title>Stories by Usman Adesina on Medium</title>
            <link>https://medium.com/@drjollof?source=rss-291e863e54a9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 05:36:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@drjollof/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Feature That Passed Every Test and Still Failed]]></title>
            <link>https://medium.com/@drjollof/the-feature-that-passed-every-test-and-still-failed-8ed9248ae12c?source=rss-291e863e54a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ed9248ae12c</guid>
            <category><![CDATA[time-series-analysis]]></category>
            <category><![CDATA[product-analytics]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[econometrics]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Usman Adesina]]></dc:creator>
            <pubDate>Wed, 02 Sep 2026 21:26:45 GMT</pubDate>
            <atom:updated>2026-09-02T21:26:45.721Z</atom:updated>
            <content:encoded><![CDATA[<p>Understanding ergodicity through a simple product analytics experiment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*K1rfm_m_eQhvBZgD1z-aKg@2x.jpeg" /></figure><p>A/B testing is one of the most trusted tools in modern data science. We use it to decide which product designs to launch, which recommendation systems perform better, and which features genuinely improve user experience. If the numbers are statistically convincing, we feel confident shipping the winning variant.</p><p>But there is a subtle assumption hidden inside many experiments that is rarely discussed.</p><p>We often assume that the average behaviour of many users observed over a short period tells us what will happen to an individual user over a long period. In many systems, that assumption is perfectly reasonable. In others, it quietly fails.</p><p>This is where the idea of <strong>ergodicity</strong> becomes important.</p><p>Ergodicity asks a deceptively simple question:</p><blockquote><em>Can we replace “</em>what happens over time to one individual<em>” with “</em>what happens across many individuals at one moment in time<em>”?</em></blockquote><p>If the answer is yes, the system is ergodic. If the answer is no, then optimizing for the wrong average can lead to decisions that look successful in the short term while steadily eroding value over time.</p><p>Product analytics provides a surprisingly intuitive example.</p><h4>A convincing experiment</h4><p>Let us consider a subscription-based mobile application with a large population of free users.</p><p>The product team wants to increase premium subscriptions and proposes a seemingly straightforward change: every time a free user opens the app, they are greeted with a full-screen <strong>“Upgrade to Premium”</strong> pop-up. The pop-up highlights the benefits of the paid plan and includes a prominent upgrade button. Users who are not interested can still access the app, but only after manually dismissing the screen.</p><p>From a growth perspective, the idea is intuitive. If every free user is reminded of the premium offering each time they open the app, more users should eventually upgrade.</p><p>To evaluate the proposal, the data science team runs a standard A/B test. Half of the free users continue using the existing version of the app, while the other half receive the premium pop-up every time they launch it. The experiment runs for fourteen days across hundreds of thousands of users.</p><p>The results appear compelling. Premium conversions increase, short-term subscription revenue rises, and the result is statistically significant. Based on the available evidence, the feature is released to everyone.</p><h4>Two ways of looking at the same system</h4><p>The A/B test measured one view of the system. It tells us how a large group of users responded to the feature over a short period. This is known as the <strong>ensemble average</strong>.</p><p>But we can look at the same feature from another perspective. Instead of asking how thousands of users behaved during two weeks, we can ask what happens when <strong>one user</strong> experiences the same pop-up every time they open the app for months. This is the <strong>time average</strong>.</p><p>If both perspectives lead to the same conclusion, the system is <strong>ergodic</strong>. If they don’t, then a feature that improves the average behaviour of a population in the short term can produce a very different outcome for individuals over time.</p><h4>Why human behaviour breaks ergodicity</h4><p>To understand why this happens, focus on the users who didn’t upgrade. They make up most of the free user base, and they are just as important as the users who became premium subscribers. After all, today’s free users are tomorrow’s potential paying customers. If they leave, the pipeline for future growth becomes smaller.</p><p>For these users, closing the pop-up once isn’t a problem. Closing it every time they open the app is.</p><p>The first few times, it’s only a small annoyance. But the experience doesn’t reset every day. Each time they dismiss the pop-up, it adds a little more friction. Over weeks and months, opening the app starts to feel less enjoyable. Some users open it less often. Others stop using it completely.</p><p>Because each interaction influences the next one, following a user through time tells a different story from averaging thousands of users over a short experiment. That is exactly what makes the system non-ergodic.</p><h4>What this means for data scientists</h4><p>None of this means A/B testing is flawed. It remains one of the most useful tools we have for making product decisions.</p><p>The experiment in our example measured exactly what it was designed to measure: the average response of a large group of users during a short period. The challenge is recognising that, in some systems, this is only one perspective. When user behaviour changes through repeated interactions, the ensemble average may no longer reflect what an individual user experiences over time.</p><p>If a feature changes how people behave over time, a short experiment may only show the beginning of the story. Looking at retention, customer lifetime value, and cohort behaviour can reveal patterns that an average conversion rate cannot.</p><p>One question is worth asking after every successful experiment:</p><blockquote>What happens if the same user experiences this feature hundreds of times?</blockquote><p>If the answer gets better with repetition, the feature is probably creating lasting value. If it gets worse, the experiment may have optimized the wrong average.</p><p>Ergodicity doesn’t tell us to stop using A/B testing. It reminds us to think carefully about which average we’re optimizing and whether that average truly reflects the outcome we care about.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ed9248ae12c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Geographically Weighted Regression Taught Me About Lagos Real Estate]]></title>
            <link>https://medium.com/@drjollof/what-geographically-weighted-regression-taught-me-about-lagos-real-estate-032a1d8c52ef?source=rss-291e863e54a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/032a1d8c52ef</guid>
            <category><![CDATA[lagos]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[spatial-analysis]]></category>
            <category><![CDATA[real-estate]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Usman Adesina]]></dc:creator>
            <pubDate>Sun, 07 Jun 2026 13:11:32 GMT</pubDate>
            <atom:updated>2026-06-07T13:11:32.163Z</atom:updated>
            <content:encoded><![CDATA[<p>Why the value of an extra bedroom depends on where it exists.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vhDfbIgjqcitT-QcpGpqvQ.png" /><figcaption>The spatial variation illustrates how the value of additional bedroom space changes across neighbourhoods rather than remaining constant across the city.</figcaption></figure><p>If you’ve ever discussed Lagos real estate, you’ve probably heard some version of this advice: <em>“Buy the location, not the property.”</em></p><p>Most people accept that apartments in different parts of Lagos command different prices. That’s hardly surprising. Lagos is a city of contrasts, and the housing market reflects that reality.</p><p>But while working on a Lagos real estate project, I found myself wondering whether that familiar advice goes far enough. What if location doesn’t just affect prices? What if it changes the value of the features we’re paying for? Does an extra bedroom carry the same premium everywhere in Lagos, or could the answer depend entirely on where the apartment is located?</p><p>Finding out led me to a statistical technique called <strong>Geographically Weighted Regression (GWR)</strong>.</p><h4>When one answer isn’t enough</h4><p>Most regression models assume that the relationship between variables stays the same throughout the dataset. Suppose we’re interested in a simple question: how much does an extra bedroom increase an apartment’s asking price? A traditional model tries to provide a single answer for the entire city.</p><p>But Lagos doesn’t really function as a single housing market. The housing pressures around Shomolu differ from those in Ikorodu. Buyers in Victoria Island aren’t necessarily responding to the same constraints as buyers in more suburban areas. The more I thought about it, the more I wondered whether the question itself needed to change.</p><p>Perhaps the question wasn’t <em>“How much is an extra bedroom worth in Lagos?”</em> Maybe it was <strong>“How much is an extra bedroom worth here?”</strong></p><h4>Letting neighbourhoods speak for themselves</h4><p>To explore this idea, I used the MGWR package in Python, which reports diagnostics for both a conventional global model and a localised GWR model. Real estate prices are often largely scaled and heavily skewed by a relatively small number of expensive listings. So, before modelling, the asking prices were log-transformed. This transformation helps produce more stable regression output while allowing coefficients to be interpreted in percentage terms.</p><p>The global benchmark explained only <strong>27.8% </strong>(Adjusted R2) of the variation in apartment asking prices across Lagos, while the localised GWR model improved that figure to <strong>72.3%</strong>. Another metric, the <strong>Akaike Information Criterion (AICc), </strong>which balances model fit against unnecessary complexity, also dropped from 25,354 to 13,514, a reduction of more than 11,800 points.</p><p>Improvements of this magnitude suggest that treating Lagos as a single housing market leaves a substantial part of the story untold.</p><blockquote><em>Different parts of Lagos appear to follow different pricing rules.</em></blockquote><h4>The hidden story behind bedrooms</h4><p>The most interesting insight wasn’t that GWR produced a better-fitting model. It was what happened when I examined the localised coefficients. Because the model used log-transformed asking prices, it became possible to estimate the percentage premium associated with an additional bedroom at different locations across the city.</p><p>In some neighbourhoods, adding an extra bedroom was associated with almost no increase in asking price; the estimated premium approached −0.3%. For developers, that matters. It suggests that building larger units in those areas may not generate enough additional value to offset higher construction costs.</p><p>But other parts of Lagos told a completely different story. Neighbourhoods around <strong>Shomolu and Fadeyi </strong>for example, showed some of the strongest bedroom premiums in the city, where the model suggested that an additional bedroom was associated with asking-price premiums approaching <strong>269%</strong>. One possible interpretation is scarcity. In areas dominated by smaller units and intense housing demand, additional living space becomes more valuable. An extra bedroom isn’t just another feature on a property listing; it’s something buyers appear willing to pay more for.</p><h4>The Map Was Talking. We Just Weren’t Listening.</h4><p>People have long said that in real estate, you should buy the location, not the property. It’s good advice. But this analysis suggests it doesn’t go quite far enough.</p><p>Location doesn’t just affect what a property is worth. It affects what each feature of that property is worth. The bedroom in Shomolu and the bedroom in Ikorodu are not the same asset. They exist in different markets, respond to different pressures, and command different premiums, sometimes dramatically so.</p><p>Geographically Weighted Regression may sound like a highly complex statistical technique. But its central idea is quite intuitive. Sometimes averages tell the truth. Sometimes they hide it. Ordinary models try to summarise an entire city with a single answer. GWR allows different parts of that city to speak for themselves.</p><p>And this isn’t just a Lagos problem. Whenever we apply a single equation to a complex, varied environment, a city, a region, a market, we risk averaging away the very patterns that matter most. The map was always more detailed than the model. We just needed a method willing to follow it.</p><p><em>If you’d like to explore the methodology in more detail,</em> <em>the complete project, including data collection scripts and analysis notebook, is available on </em><a href="https://github.com/drjollof/lagos-apartment-pricing"><em>GitHub</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=032a1d8c52ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Mechanism That Keeps ETF Prices Stable]]></title>
            <link>https://medium.com/@drjollof/the-mechanism-that-keeps-etf-prices-stable-d4734ed7f916?source=rss-291e863e54a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4734ed7f916</guid>
            <category><![CDATA[money]]></category>
            <category><![CDATA[investing]]></category>
            <category><![CDATA[etf]]></category>
            <category><![CDATA[personal-finance]]></category>
            <category><![CDATA[finance]]></category>
            <dc:creator><![CDATA[Usman Adesina]]></dc:creator>
            <pubDate>Wed, 20 May 2026 09:01:01 GMT</pubDate>
            <atom:updated>2026-06-03T19:32:32.350Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u2pdLPOuy9UCGfFMothGgg.jpeg" /></figure><p>In the previous <a href="https://medium.com/@drjollof/if-etfs-hold-many-assets-then-how-are-they-priced-5bb3aafbfce7">article</a>, we mentioned how ETFs can sometimes trade slightly above or below their Net Asset Value (NAV).</p><p>That naturally raises the question.</p><blockquote>Since ETFs trade freely in the market, what stops their prices from drifting too far away from the value of the assets underneath them?</blockquote><p>The short answer is that ETFs have a mechanism operating quietly in the background that allows new ETF shares to be created when demand becomes too high and removed when demand becomes too weak.</p><p>And this mechanism is one of the reasons ETFs function so differently from ordinary stocks.</p><h4>ETF Shares Are Not Fixed</h4><p>When most people think about stocks, they usually imagine a fixed number of shares already existing in the market. You buy from someone who is selling. The total count does not change in the short term.</p><p>ETF shares work a little differently.</p><p>The number of ETF shares outstanding can expand or shrink depending on market demand.</p><p>New shares can be created, and existing shares can also be removed from circulation. This process is called <strong>creation and redemption</strong>.</p><p>But ordinary investors cannot do this directly. That job belongs to a special class of institutions known as <strong>Authorized Participants (APs).</strong></p><p>Authorized Participants are typically major banks or trading firms that have a direct relationship with the ETF issuer. Unlike everyone else, they can exchange ETF shares for the underlying basket of assets and vice versa.</p><h4>When the ETF Gets Too Expensive</h4><p>Imagine an ETF that holds a basket of stocks worth $100 per share based on its Net Asset Value (NAV).</p><p>Now, suppose strong investor demand pushes the market price up to $103.</p><p>At that point, the ETF is trading above its NAV.</p><p>An Authorized Participant notices the gap. Instead of buying the ETF shares directly from the open market at $103, the AP goes out and buys the actual underlying stocks in the exact proportions the ETF holds.</p><p>The AP then delivers that basket of stocks to the ETF issuer.</p><p>In return, the ETF issuer creates brand new ETF shares and gives them to the AP.</p><p>These newly created ETF shares are issued in large predefined blocks known as <strong>Creation Units</strong>. The exact size is determined by the ETF issuer and is usually designed to make the creation and redemption process operationally efficient.</p><p>The AP can now sell those newly created ETF shares into the market at $103, pocketing the profit.</p><p>Because new ETF shares are entering the market, the supply of ETF shares increases. And when supply increases, the ETF price is naturally pushed back down toward $100.</p><p>So the creation process helps absorb excess demand in the ETF market.</p><h4>When the ETF Gets Too Cheap</h4><p>The reverse process happens when the ETF trades below NAV.</p><p>Suppose the ETF’s underlying assets are still worth $100, but the ETF itself is trading in the market for $97.</p><p>An Authorized Participant buys up ETF shares from the market at the cheaper $97 price and then returns them to the ETF issuer.</p><p>In exchange, the ETF issuer gives the AP the underlying basket of stocks worth approximately $100.</p><p>The ETF shares are then destroyed and removed from circulation entirely by the ETF issuer.</p><p>So, unlike creation, where new ETF shares are introduced into the market, redemption causes existing ETF shares to disappear.</p><p>This reduces the number of ETF shares available in the market. And as supply decreases, the ETF price is naturally pushed back up toward $100.</p><p>The AP can then sell the underlying assets separately for a profit.</p><h4>Why This Mechanism Matters</h4><p>What makes this mechanism interesting is that it doesn’t rely on oversight or manual intervention.</p><p>No regulator is watching ETF prices every minute and issuing corrections. No ETF issuer is adjusting prices by hand. The alignment happens because Authorized Participants have a direct financial incentive to act whenever prices drift too far from NAV.</p><p>They profit from the gap. And in closing the gap, they make the market more efficient for everyone else.</p><h4>But the System Isn’t Perfect</h4><p>Even though this mechanism is highly effective, it does not guarantee perfect pricing at all times.</p><p>During periods of extreme volatility or market stress, ETF prices can still drift meaningfully away from NAV for short periods.</p><p>And things become even more complicated when the underlying assets themselves are difficult to price in real time.</p><p>For example, some bond markets trade less frequently than stock markets, and international markets may already be closed while an ETF that contains some international stocks is still actively trading elsewhere.</p><p>In situations like these, determining the “true” underlying value of the ETF becomes much harder.</p><h4>Conclusion</h4><p>An ETF may look like a simple stock on the surface, but underneath it is a structure that constantly adjusts itself through creation and redemption.</p><p>When demand becomes too high, new ETF shares are created, and when it weakens, shares are removed from circulation.</p><p>And through this process, ETF prices are usually kept relatively close to the value of the assets sitting underneath them.</p><p>Most investors will never interact with this mechanism directly. But it’s the reason ETFs function the way they do. Without it, the whole thing would look very different.</p><p>Disclaimer: This article is for educational purposes only and should not be considered financial or investment advice.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4734ed7f916" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[If ETFs Hold Many Assets, Then How Are They Priced?]]></title>
            <link>https://medium.com/@drjollof/if-etfs-hold-many-assets-then-how-are-they-priced-5bb3aafbfce7?source=rss-291e863e54a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/5bb3aafbfce7</guid>
            <category><![CDATA[investing]]></category>
            <category><![CDATA[personal-finance]]></category>
            <category><![CDATA[financial-education]]></category>
            <category><![CDATA[money]]></category>
            <category><![CDATA[etf]]></category>
            <dc:creator><![CDATA[Usman Adesina]]></dc:creator>
            <pubDate>Wed, 13 May 2026 09:01:00 GMT</pubDate>
            <atom:updated>2026-06-03T19:30:54.907Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kzDC_de6TtYLvo50idaaeg.png" /></figure><p>For a normal stock, pricing feels relatively straightforward.</p><p>A company has shares, investors buy and sell those shares, and the market settles on a price based on supply and demand.</p><p>But ETFs are slightly different.</p><p>When you buy an ETF, you’re not buying a single company. You’re buying a basket of underlying assets — sometimes stocks, sometimes bonds, commodities, or even a mix of different asset classes.</p><p>And that raises an interesting question:</p><blockquote>If an ETF contains many investments, what exactly determines its price?</blockquote><h4>The Two Values of an ETF</h4><p>At any given moment, an ETF has two different values attached to it.</p><p>The first is the <strong>market price</strong>, which is the price you see on the stock exchange while the ETF is being traded throughout the day. This price moves constantly as buyers and sellers interact with each other.</p><p>The second is the actual value of the assets sitting inside the ETF itself.</p><p>This is called the <strong>Net Asset Value (NAV).</strong></p><blockquote>NAV is what the ETF is genuinely worth based on its holdings. The market price is what investors are currently willing to pay.</blockquote><p>Most of the time, they are nearly identical, but not always. To understand why, you first need to understand how NAV itself is calculated</p><h4>How is NAV calculated or derived?</h4><p><strong>NAV</strong> represents the total value of everything the ETF holds after accounting for liabilities, divided by the number of ETF shares that currently exist.</p><pre>NAV = (Total Value of Assets - Total Liabilities) / Number of ETF Shares Outstanding</pre><p>Imagine an ETF holds shares in three companies:</p><ul><li>200 shares of Apple Inc. trading at $90 each = $18,000</li><li>100 shares of Microsoft Corporation trading at $200 each = $20,000</li><li>50 shares of NVIDIA Corporation trading at $240 each = $12,000</li></ul><p><strong>Total Value of assets in the ETF = $50,000</strong></p><p>But ETFs also have liabilities. These are obligations or costs the fund still has to pay, such as management fees, administrative expenses, trading costs, or other operational expenses involved in running the fund.</p><p>Even though investors indirectly pay these costs through the ETF, they still need to be accounted for when calculating the actual value of the fund.</p><p>Suppose this ETF has $2,000 in total liabilities.</p><p>The net assets now become: <strong>$48,000</strong></p><p>Next comes the <strong>shares outstanding</strong>.</p><p>The shares outstanding refer to the total number of ETF shares that currently exist and are held by investors in the market.</p><p>If this ETF has issued<strong> 4,800</strong> shares to investors, then each share represents a small ownership portion of the ETF’s net assets.</p><p>To calculate the <strong>NAV</strong>, you divide the net assets by the number of shares outstanding.</p><pre>NAV = 48000 /4800 = 10</pre><p>So the <strong>NAV</strong> would be <strong>$10 per share.</strong></p><p>In reality, large ETFs may hold hundreds or even thousands of assets, and those values change continuously throughout the trading day. But the core idea remains the same</p><h3>When the Market Price and NAV drift apart</h3><p>Because ETFs also trade like stocks, their market price is influenced by real-time buying and selling activity throughout the day.</p><p>If more people want to buy the ETF than sell it, the market price may rise. If selling pressure increases, the price may fall.</p><p>At the same time, the value of the underlying assets inside the ETF is also changing continuously.</p><p>This can occasionally create small gaps between what the ETF is worth and what people are willing to pay for it.</p><p>When an ETF trades above its NAV, it is said to be trading at a <strong>premium</strong>.</p><p>When it trades below its NAV, it is trading at a <strong>discount.</strong></p><p>In many cases, these differences are small and temporary. But they can still happen for several reasons.</p><p>Sometimes investor demand becomes unusually strong. In other cases, market volatility increases, and pricing becomes less efficient for short periods of time.</p><p>And occasionally, the underlying assets themselves may not update in real time.</p><p>Imagine an ETF that holds stocks from international markets that are already closed while the ETF itself is still actively trading in the United States. The ETF price may continue moving even though some of the underlying asset prices are temporarily unchanged.</p><p>This is one of the reasons ETF pricing becomes more complex than it first appears.</p><h3>So Why Don’t ETF Prices Drift Wildly Away From NAV?</h3><p>At this point, another question naturally comes up.</p><blockquote>If ETF prices are driven by market trading, what stops them from moving far away from the value of the assets in them?</blockquote><p>After all, if an ETF is really worth $100 based on its holdings, why wouldn’t market excitement push it to $120 or pull it down to $80?</p><p>In practice, large and persistent gaps usually do not last very long. There is a mechanism operating quietly in the background that helps keep ETF market prices and NAV closely aligned most of the time.</p><p>Without that mechanism, ETF pricing would become unreliable very quickly.</p><p>In the next article, we’ll look at how this mechanism works and why it plays such an important role in keeping ETF pricing stable.</p><p>Disclaimer: This article is for educational purposes only and should not be considered financial or investment advice.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5bb3aafbfce7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Picking Investments Is Hard, And How ETFs Simplify It]]></title>
            <link>https://medium.com/@drjollof/why-picking-investments-is-hard-and-how-etfs-simplify-it-a2bd7838ce0a?source=rss-291e863e54a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/a2bd7838ce0a</guid>
            <category><![CDATA[personal-finance]]></category>
            <category><![CDATA[etf]]></category>
            <category><![CDATA[investing]]></category>
            <category><![CDATA[money]]></category>
            <category><![CDATA[financial-education]]></category>
            <dc:creator><![CDATA[Usman Adesina]]></dc:creator>
            <pubDate>Fri, 08 May 2026 12:53:36 GMT</pubDate>
            <atom:updated>2026-06-03T19:26:29.801Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vc3WF4aL4PsqvxMmRtbneA.png" /><figcaption>source: <a href="https://www.ebc.com/">ebc.com</a></figcaption></figure><p>At the heart of investing, the objective sounds simple:</p><blockquote>Maximize your returns… while minimizing your risk.</blockquote><p>But the moment you try to act on that idea, it becomes clear that it’s anything but simple.</p><h4><strong>The Difficulty of Balancing Risk and Return</strong></h4><p>If you decide to invest in stocks, you’re essentially choosing which companies to own shares of.</p><p>Naturally, you’re drawn to companies that are established, stable, and have a strong track record because they feel safer. There is history, data, and a sense of confidence that your investment isn’t exposed to unnecessary surprises. But then comes the other side of the equation.</p><p>The companies with the highest potential returns are often not the most established ones. They tend to be smaller, less proven, or operating in fast-changing industries. Their prices may be lower and their upside greater, but the uncertainty surrounding them is usually much higher. So you’re faced with a choice:</p><blockquote>Do you want to lean toward safety, or chase growth?</blockquote><p>In reality, most investors don’t want to choose just one. They want both the stability of established companies and the upside of growing ones.</p><p>That instantly leads to the idea of diversification, spreading your investment across multiple assets instead of relying on a single one.</p><p>It may sound straightforward. But once you actually try to do it, the difficulty shows up quickly.</p><p>Diversification isn’t just about buying a handful of random stocks. It’s about putting together a combination that makes sense — deciding what to include, how much weight each asset should carry, and how to adjust as conditions change. Even experienced investors spend years trying to get this balance right.</p><p>An <strong>Exchange-Traded Fund (ETF)</strong> is a type of fund that holds a collection of assets and is traded on a stock exchange like a single stock.</p><p>In practical terms, instead of assembling a portfolio piece by piece, you can buy a single instrument that already represents a diversified basket.</p><p>This basket can contain many different types of assets. Some ETFs hold stocks; others hold bonds or commodities like gold or oil; and some even combine multiple asset classes.</p><p>Take the <strong>SPDR S&amp;P 500 ETF Trust</strong>, for example. It gives you exposure to hundreds of large U.S. companies at once. With this, you’re no longer relying on a single company but now participating in the broader market. Also, they are not limited to one kind of exposure. Some track broad markets, others focus on specific sectors, regions, or even smaller companies.</p><p>They don’t try to magically optimize your returns, but they give you a structured way to choose the kind of exposure and level of risk you’re comfortable with.</p><h4>The Cost of Accessing Diversification</h4><p>Even if you understand why diversification matters, there’s another concern: <strong>Cost.</strong></p><p>Building a diversified portfolio manually isn’t free. Every stock purchase comes with transaction costs, and if you’re trying to build a diversified portfolio, those costs add up quickly. Beyond that, managing a portfolio takes time, effort, and often professional input, which usually comes with additional fees.</p><p>Traditionally, many investors accessed diversification through mutual funds. But a large number of these funds are actively managed, meaning they try to outperform the market. That effort comes at a price.</p><p>Most ETFs are designed to track an index or a defined strategy rather than beat it. Because of this, they are typically passively managed and come with lower fees.</p><p>It’s not unusual for actively managed funds to charge around 1–2% annually, while many ETFs charge a fraction of that.</p><p>That difference might not seem significant at first. But over time, it compounds and quietly eats into returns year after year.</p><h4>The Inflexibility of Traditional Investment Funds</h4><p>There’s one more limitation that often goes unnoticed: <strong>Flexibility.</strong></p><p>Traditional mutual funds, while diversified, aren’t built for real-time interaction. They’re usually priced once at the end of the trading day. That means when you place an order, you don’t know the exact price you’ll get, and you can’t respond immediately to changes in the market.</p><p>For long-term investors, this might not be a dealbreaker. But it does limit how much control you have over timing.</p><p>As the name suggests, Exchange-Traded Funds are listed on stock exchanges. They can be bought and sold throughout the trading day, just like individual stocks, with prices updating continuously.</p><p>So even though an ETF represents a basket of assets, it gives you the flexibility of a single, tradable instrument.</p><p>And while many long-term investors may not rely heavily on intraday trading, that flexibility adds an extra layer of accessibility and control.</p><h4>Conclusion</h4><p>When you step back, the role of ETFs becomes clearer.</p><p>They don’t exist to guarantee exceptional returns, and they don’t remove all forms of risk. Markets can still go up or down, and ETFs move with them.</p><p>But they do change how that risk and return are experienced. This makes investing more practical and accessible for a much wider range of people.</p><p>Disclaimer: This article is for educational purposes only and should not be considered financial or investment advice.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a2bd7838ce0a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I built a Language Detection Model Using Machine Learning]]></title>
            <link>https://medium.com/@drjollof/how-i-trained-a-language-detection-model-using-machine-learning-349bfdf4bcde?source=rss-291e863e54a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/349bfdf4bcde</guid>
            <category><![CDATA[text-classification]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[language]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[nlp]]></category>
            <dc:creator><![CDATA[Usman Adesina]]></dc:creator>
            <pubDate>Fri, 07 Feb 2025 12:04:08 GMT</pubDate>
            <atom:updated>2025-02-13T19:03:06.441Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lyx60_ElTf18cJX5eI025Q.png" /><figcaption>image from <a href="https://www.journaldunet.fr/web-tech/guide-de-l-intelligence-artificielle/1501887-natural-language-processing-nlp/">journaldunet.fr</a></figcaption></figure><p>So, I wanted to work on an exciting personal project, but I soon realized there were foundational concepts I needed to understand first. One of those was Natural Language Processing (NLP). So I decided to learn the concept and its applications. After juggling through theoretical materials, it was time to get the hands dirty by working on a project.</p><p>With several potential NLP projects available, I eventually settled for language detection. It felt like the perfect starting point. The goal was to classify text into different languages using traditional machine learning algorithms, rather than transformer models. I wanted to explore how far traditional machine learning algorithms could go in this case.</p><p>In this article I will walk you through the process, from initial challenge to model improvement and validation.</p><h3>Dataset Overview and Exploration</h3><p>I found a <a href="https://raw.githubusercontent.com/amankharwal/Website-data/master/dataset.csv">dataset</a> with two columns: text, which contained sentences in different languages, and language, the corresponding labels.</p><p>Before jumping into model building, I explored the dataset and found out the dataset contains 22 different languages, each with 1,000 sentences, which makes 22,000 rows in total. This showed that the dataset was well-balanced, with each language equally represented. This was a great starting point, as I didn’t have to worry about class imbalance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*kULqV8BDqHR2QIJ65WjcKA.png" /><figcaption>language distribution</figcaption></figure><h3>Model Selection and Base Training</h3><p>For my base models, I selected four models: Multinomial Naïve Bayes, Logistic Regression, Random Forest, Support Vector Classifier (SVC) which are popular algorithms for classification problems. Since the feature column i.e. text is not in numerical form and the ML algorithms can only work with inputs in numerical form, there is a need to convert the texts to numbers (vectors).</p><p>To process these texts, I used the Count Vectorizer method which is the implementation of bag of words from the scikit-learn library. I split the data into training and test sets, transformed the training feature and trained the models to check for their performances.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/1*cUVCc6d2tIcSMj7puh7Dag.png" /><figcaption>training set metrics</figcaption></figure><p>The Naïve Bayes model performed best with 98.40% accuracy on the training test and 94.38% accuracy on the test data, compared to the other algorithms. This shows the model is performing well and generalizing reasonably to the test data. While random forest classifier and logistic regression model seem to struggle with overfitting, support vector classifier show signs of underfitting with low accuracy on the train and test set. With this I decided to proceed with the Naïve Bayes model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*mul8PT3ORlzBIfSTWBfNng.png" /><figcaption>testing set metrics</figcaption></figure><p>To analyze where the naïve bayes model failed, I examined the confusion matrix and realized that languages with similar letters were sometimes misclassified. Also the model struggled to classify Chinese and Japanese as they were mostly classified as Arabic and English. This could be because the vectorizer ignored new words in the test data that were not present in the train data during transformation. This is called Out-of-Vocabulary error and is a major disadvantage of using bag of words method compared to word embeddings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m5CF9fRG6iN3KwEo4u_0Wg.png" /><figcaption>base model confusion matrix</figcaption></figure><h3>Model improvement</h3><p>To improve the model, I tried both the one-hot encoding and TF-IDF methods of vectorization. However, the results remained similar, suggesting that out-of-vocabulary words in test data was the main reason. Then I discovered that Count Vectorizer method uses ‘word’ as the default argument for its analyzer parameter, meaning it vectorizes text by splitting it into individual words. This made it much difficult for the model to handle unseen words in the test data. To address this I changed the analyzer argument to ‘char’. This means the vectorizer will now vectorize text by characters. To further improve detection, I added n-grams parameter, which considers sequences of characters instead of individual ones. I experimented with unigrams (single characters), bigrams (two-character sequences), trigrams (three-character sequences) and quadgrams (four-character sequences) and I settled with the combinations of unigrams and quadgrams (ngram_range = (1,4)) as this will allow the model to capture the structural patterns unique to each languages up to the fourth character and also balance the dimensionality of the features.</p><p>I retrained the model and checked for the metrics. The accuracy improved to 97.91% and the confusion matrix showed better performance on the Chinese and Japanese sentences.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tcf4cy85i4tPiIixw9DQwg.png" /><figcaption>improved model metrics</figcaption></figure><h3>Validating the Model with New Data</h3><p>To ensure the model worked beyond the dataset, I generated a new dataset with 132 new sentences across the 22 languages using AI, ensuring each language had representation. I also tested single text inputs, especially for Chinese, Japanese, and Portuguese, to see if the model could correctly identify them. The confusion matrix showed a perfect prediction and the single text inputs were correctly identified.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nY7d4cmhN3TfiQZJFtsjvA.png" /><figcaption>first test dataset metrics</figcaption></figure><p>To take things further, I generated another dataset with 152 new sentences across the languages, now with short sentences. I tested the model again and the model showed an accuracy of 91.56%. The confusion matrix also showed the languages that were misclassified by the model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hg2VQwXpQRjXae9LKhniEA.png" /><figcaption>second test dataset metrics</figcaption></figure><p>I extracted a new dataframe to manually investigate where the problem lies, then I realized that short sentences have lower accuracy because the misclassified languages are very similar in pattern and they contain fewer distinguishing features. The model is able to predict those languages in long sentences and even short sentences many other times.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*5y3j1yaBHcExFiyJGHQdmg.png" /><figcaption>misclassified dataframe</figcaption></figure><h3>Final Thoughts and Lessons Learned</h3><p>Through this project, I realized the power of character-level vectorization in language detection. While word-based vectorization failed at unseen words, character n-grams captured more language patterns and character combinations, making them highly effective for multi-language classification.</p><p>Naïve Bayes, despite being a simple model, outperformed more complex algorithms due to its robustness against overfitting. It was also the fastest to train among the others. Sometimes, the best solutions are not the flashiest, they are just the ones that fit the problem best.</p><p>Traditional machine learning algorithms despite their limitations, proved to be lightweight, interpretable, and surprisingly effective. While Transformer-based models like mBERT could potentially handle out-of-vocabulary words better, they come at a higher computational cost. For this task, Naïve Bayes with character-level vectorization hit the best balance between accuracy and efficiency.</p><p>Would love to hear your thoughts! Have you worked on language detection or NLP projects before? Let’s discuss in the comments.</p><p>You can also try out the deployed version of the model <a href="https://trad-lang-detect.streamlit.app/">here</a></p><p>Let’s Connect!</p><p>If you’re interested in exploring the full code, you can check out my GitHub repository <a href="https://github.com/drjollof/language-detection-project">here</a>. I would love to connect with like-minded people, feel free to reach out on <a href="https://www.linkedin.com/in/adesinausman?utm_source=share&amp;utm_campaign=share_via&amp;utm_content=profile&amp;utm_medium=ios_app"><strong>LinkedIn</strong></a> or <a href="https://x.com/max_d_don?s=21&amp;t=5VLsXHChvNbCKP4acpuP3g"><strong>X (Twitter)</strong></a> .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=349bfdf4bcde" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Human Resources Dataset Analysis Using Microsoft Excel]]></title>
            <link>https://medium.com/@drjollof/human-resources-dataset-analysis-using-microsoft-excel-e27b66674f84?source=rss-291e863e54a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/e27b66674f84</guid>
            <category><![CDATA[hr]]></category>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[insights]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[analysis]]></category>
            <dc:creator><![CDATA[Usman Adesina]]></dc:creator>
            <pubDate>Sun, 28 Jan 2024 10:18:18 GMT</pubDate>
            <atom:updated>2024-01-28T10:20:36.852Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pmALiuA2RvJ9IRzciFPShw.png" /></figure><p><strong>INTRODUCTION</strong></p><p>Human Resources (HR) is a crucial department in every organization. HR manages workforce related functions such as recruitment, onboarding, training, and performance evaluation. For the purpose of this article I will be taking you through an interesting journey on how I performed a descriptive analysis on a HR dataset provided to me by my tutor. Without further ado, lets get started.</p><p><strong>DATASET OVERVIEW</strong></p><p>Dataset contains 115 significant entries with 12 columns. Column names are:</p><ol><li>Employee ID</li><li>Gender</li><li>Hire Date</li><li>Date of Birth</li><li>Today’s date</li><li>Age</li><li>Age Description</li><li>Length of Service</li><li>Length of Service Range</li><li>Location</li><li>Department</li><li>Job Grade</li></ol><p><strong>OBJECTIVES</strong></p><p>Assess the age distribution of the employees</p><p>Determine the number of hired employees each year</p><p>Explore the key metrics of the dataset such as total number of employees, average age of employees, and average length of service.</p><p>Assess the count of employees by gender, job role, length of service and department.</p><p><strong>TOOL USED</strong>: Microsoft Excel</p><p><strong>DATA CLEANING AND TRANSFORMATION</strong></p><p>After importing the dataset into excel. I studied the dataset for a short while and realized some things that need to be corrected. Some values were not set with the column width, some columns such as ‘Employee ID’, ‘Hire date’, ‘Date of Birth’, ‘Today’s Date’ had the wrong data type.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BUJsRuXj3nl7Z8vJZptgxQ.png" /><figcaption>first look after dataset importation</figcaption></figure><p>For the ‘Employee ID’ column, I selected the entire column and clicked on the yellow diamond shape icon that appears at the top right. From the menu that appears, I selected ‘Convert to Number’ option. For the other three columns, I selected the top values by click and drag then CTRL + SHIFT + DOWN ARROW to select all values. Then I navigated to the Number tab on the ribbon, in the format drop-down, I selected Short Date. I also checked through other columns to ensure they are all in correct data types.</p><p>To autofit the entire dataset to columns, I clicked on the first entry then selected the entire dataset using CTRL + A, then I navigated to the format tab on the ribbon and selected ‘Autofit Column Width’. I also checked for any blank cells by selecting entire dataset and then Find &amp; Select &gt; Go to Special &gt; Blanks. I also checked for duplicate values using Conditional Formatting &gt; Highlight Cell Rules &gt; Duplicate Values on the Employee ID column as it should contain only unique values.</p><p>To further aid my analysis process, I created a new column named ‘Age Group using the IFS excel function and flash filled.</p><pre>=IFS(F2&lt;= 25, &quot;18-25&quot;, F2&lt;= 35, &quot;26-35&quot;, F2&lt;= 45, &quot;36-45&quot;, F2&lt;= 55, &quot;46-55&quot;,<br> F2&lt;= 65, &quot;56 Above&quot;)</pre><p>After all these, this was how the dataset looked like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N2ct56YanmtD6IJounO9ow.png" /><figcaption>final look after cleaning and transformation</figcaption></figure><p><strong>DATASET ANALYSIS</strong></p><p>I completed the entire analysis and visualization process using Pivot Table and Pivot Chart. These two powerful excel functions are very useful for quick analysis and visualization. I highlighted the entire dataset and then navigated to INSERT &gt; PIVOT TABLE to create the pivot table. I chose to put the pivot table on a new worksheet for efficiency and ease of navigation. The pivot table worksheet looks thus with the field section showing all columns in the dataset and the layout section where columns can be placed to create the pivot table for analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Ae0XAPVLm99pqoRY6H5TQ.png" /><figcaption>pivot table view</figcaption></figure><p>Pivot Table for Key Metrics from the dataset. This shows the total number of employees, average length of service and average age of employees.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/1*wcW488Vhpc4LxaqhlocIag.png" /><figcaption>pivot table analysis for key metrics</figcaption></figure><p>Pivot table analysis and trend chart showing the increase and decrease in the number of employees hired each year.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vS0IFQre_52mVM01o04GCA.png" /><figcaption>employees hired per year</figcaption></figure><p>Pivot table analysis and pivot chart showing total number of employees in each department.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/971/1*CD8aWJMpB6Fg4Dppy-ARTQ.png" /><figcaption>total employees by department</figcaption></figure><p>Pivot table analysis and chart showing the age distribution of employees</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/905/1*h2vS-p_Fj4NVV0U_IWZiig.png" /><figcaption>total employees by age group</figcaption></figure><p>Pivot table analysis and chart showing the total number of employees by their length of service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wIX1p27X2BF_Q7lkBOTyCw.png" /><figcaption>employees by length of service</figcaption></figure><p><strong>DASHBOARD REPORT</strong></p><p>Below is the final dashboard showcasing the charts from all the analysis and the insights.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qbi3Vqso7TmdQmoZxDsRyg.png" /><figcaption>final dashboard report</figcaption></figure><p><strong>INSIGHTS</strong></p><p>Based on the analysis and dashboard, we can see that there are 115 employees in the company with more number of male employees(73). The production department has the highest number of employees (57) followed by sales department (26). This may signify a higher production rate compared to sales rate. People aged 26–45 are predominant among the employees, this tallies with the high number of employees with 8+ years of experience working in the company. The company hired the highest number of employees (16) in the year 2013 and since then haven’t top the number with the closest being 2018 with 10 employees hired.</p><p>This is the end of the HR analysis. I hope you have been able to learn one or many things from the process and also gained insights from the dataset just like did. Don’t forget to send some claps and follow me for more insightful analysis.</p><p><strong>THANKS.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e27b66674f84" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Manual Data Cleaning Process Using Microsoft Excel]]></title>
            <link>https://medium.com/@drjollof/my-manual-data-cleaning-process-using-microsoft-excel-8367440ee48d?source=rss-291e863e54a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/8367440ee48d</guid>
            <category><![CDATA[employee-data]]></category>
            <category><![CDATA[dirty-data]]></category>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[data-cleaning]]></category>
            <dc:creator><![CDATA[Usman Adesina]]></dc:creator>
            <pubDate>Thu, 25 Jan 2024 21:56:55 GMT</pubDate>
            <atom:updated>2024-01-26T05:58:42.895Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*2pjAdSQzr1hqfYpYyu3nxw.jpeg" /></figure><p><strong>INTRODUCTION</strong></p><p>Data Cleaning is a pivotal step in the entire process of analyzing any dataset. It involves identifying and correcting errors present in a dataset. Effective data cleaning ensures the data presented is reliable and suitable for analysis. Through this article I will be covering how I completed my first manual data cleaning using Basic Microsoft Excel Functions.</p><p><strong>DATASET OVERVIEW</strong></p><p>The dataset provided is a simple employee dataset with no significant headers. The dataset contains 19 rows of data and is in the TXT format.</p><p><strong>DATA EXTRACTION</strong></p><p>I launched my excel and clicked the open tab to open my file explorer. i navigated the explorer to locate the data set titled ‘dirty data’. Because the dataset is in TXT format, the explorer didn’t detect it so i ensured the explorer is set to display all files present in the folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RkUu_DU36jJJGebtQZ5Agg.png" /><figcaption>File explorer to locate the dataset</figcaption></figure><p>After importing the dataset, Excel automatically detected the file and displayed the Text import wizard. I selected ‘Delimited’ as the file type because my dataset contains delimiters as seen in the preview space and clicked Next.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q__OfkxraeqCyO_mnY7wDQ.png" /><figcaption>Text import wizard</figcaption></figure><p>I selected the delimiter as ‘semicolon’ based on the dataset and clicked next, then I selected ‘General’ for the column data format and clicked Finish. Excel loaded the data into the spreadsheet and I noticed the column width were not fit to the data. in order to rectify this, I selected the entire dataset using CTRL + A, clicked on the Format tab on the ribbon and selected ‘Autofit Column Width’ .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i4S8OO7IyWxP6WednPPfeA.png" /></figure><p><strong>DATA CLEANING</strong></p><p>I started the data cleaning process by inserting a new row to create header for the dataset. I selected the first row in the dataset and clicked the insert tab on the ribbon to insert new cells. Then I named each column “Full Name”, “Date”, “Salary”, “Department”, “Job Role” respectively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9uKYSNa3bQTfj0lgM_4RYw.png" /><figcaption>insert headers</figcaption></figure><p>I decided to change the text format of the full name from Uppercase to Proper and trim. I created a new column by selecting Column B and inserted new cells from the insert tab on the ribbon. on the new cell B2, I used the excel function =trim(proper(A2)) and flash filled the remaining cells in the column by setting the cursor on the edge of cell B2 then double tap.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6m7Th7in6Y5dyh-GpHtKwg.png" /></figure><p>I copied all entries in the column B by selecting the entire column and using CTRL + C then pasted into the Full Name column by selecting the column starting from A2 and paste special as values. This was done in order to copy only the texts without the formula. I deleted the duplicate column B after.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*McKCO1-QGHX5NfexbLKI1g.png" /><figcaption>paste special</figcaption></figure><p>I checked the data type of each of the columns and realized they were not accurate. I selected the Full Name column and clicked on the ’Number’ tab on the ribbon then selected the TEXT data type. I did similar for the date column and selected the SHORT DATE data type. The salary column was also changed to CURRENCY data type with no decimal places. While the Department and Job Role columns were changed to TEXT too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-oWTPNC-n1hmXwwMFABZ3A.png" /><figcaption>changing data types</figcaption></figure><p>In the Department column, i noticed the abbreviation MKTG, i wanted it to be in full form for understanding during analysis. i did this using Find and Replace from the ‘Find &amp;Select’ tab on the ribbon. I selected the Department column, then find ‘MKTG’ and replaced with ‘Marketing’. I did similar for ‘R &amp; D’ and replaced with Research and Development.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iQbOSGS2sScCVLYdwLCXmA.png" /><figcaption>find and replace</figcaption></figure><p>I realized the Department and Job Role columns were not in proper case. In cell H2, I used the formula =TRIM(PROPER(D2)) to trim and set proper case. I flash filled for the remaining cells and copied and pasted special as values on the column D. Similarly, In cell K2 I used the formula =TRIM(PROPER(E2)) and pasted the values on column E. I deleted the duplicate data in column H and K.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ul7ztxoizsLtDy8lUro8BA.png" /></figure><p>I selected the header row and bold the headers using the Bold tab on the Font ribbon.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YLruCgUd0CDoCGpvA7BoKw.png" /></figure><p>This shows the final look of the cleaned data. And the data is now ready for any further analysis.</p><p>THANK YOU.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8367440ee48d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>