<?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 Miracle Oghide on Medium]]></title>
        <description><![CDATA[Stories by Miracle Oghide on Medium]]></description>
        <link>https://medium.com/@mimidaniels001?source=rss-349c1e0648f8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*tOtZ28-m6AnYUBYtznwx1g@2x.jpeg</url>
            <title>Stories by Miracle Oghide on Medium</title>
            <link>https://medium.com/@mimidaniels001?source=rss-349c1e0648f8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:02:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mimidaniels001/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[Learning a new language for Data Science]]></title>
            <link>https://medium.com/@mimidaniels001/learning-a-new-language-for-data-science-8c9401186f89?source=rss-349c1e0648f8------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c9401186f89</guid>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[data-analyst]]></category>
            <category><![CDATA[python-data-science]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Miracle Oghide]]></dc:creator>
            <pubDate>Mon, 19 May 2025 23:08:01 GMT</pubDate>
            <atom:updated>2025-05-21T21:05:28.844Z</atom:updated>
            <content:encoded><![CDATA[<p><em>To learn a language is to have one more window from which to look at the world.” — Chinese Proverb</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*DlWrRbK06cIGz26x26hzxA.png" /><figcaption>python log</figcaption></figure><p>To work with data effectively, a data scientist need a programming language to communicate with the data and extract deep insights. One of the most popular language in this regard is the Python and over the past few weeks, i have been learning it, not just as a programming language, but a tool to communicate and navigate the world of data.</p><p>Python is an open-source, general purpose and high-level programming language.It is a tool to extract, transform,analyze and visualize data in a way both humans and computer can under it. It is popular for its technical advantages and practical application in many fields like finance, econometrics, data science and machine learning. It is very useful and popular in data science because it is easy to read, it has powerful libraries (like Pandas, Numpy, Seaborn etc) and it lets you automate task, build models and derive insights quickly.</p><p>During the course of my learning, I will be using Jupyter notebook. It is a server client application that allows editing of code through a web browser. Jupyter is used in several large corporations like google because it facilitates communication between teams tremedously and it is not a text editor that opens a new window everytime you execute a part of your code, in the same file, you can have pure text that explains your code, your python code, your output that contains results, graphs, pictures etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*czl7rD2_tDMR1fLhChKS2w.png" /></figure><p>One of the first things I found very interesting about the environment is the difference between the markdown cell and comment.<br> A <strong>markdown cell</strong> uses formatting (markup) to structure, style or define text and it is used for strictly documentation while a <strong>Comment </strong>is used to explain code to humans. It is witin the code and does not run. It usually starts with #</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iIXhIfMXub8cKYXd3FHi0A.png" /></figure><p>Starting with the basics of coding; I learnt about assigning variables and the different data types like strings, integers, float and booleans. Then, data structure beginning with List. List is an ordered collection of data. it was interesting to learn that python uses zero based indexing so accessing elements wasn’t as straightforward. Slicing is used to select or access specific elements in a list.</p><pre>A = [5,10,15,20,25,30]<br>#zero indexing means that the first element 5 is number 0. to slice elements from <br>#index 1 to 3, we will use this <br> print (A[1:4])<br><br>#0UTPUT:<br># [10,15,20]</pre><p>Tuples are similar to list and they are even the default for python, but unlike list, they are immutable meaning you cannot change/delete/append after they have been created. They are wrapped in parenthesis()</p><pre>x= 40, 50, 70, 80<br>print (x)<br><br>#Output (40, 50, 70, 80)</pre><p>Another data structure is Dictionary. This stores data in a key-value pair. it is very helpful with labeled data instead of just position. it uses the curly brackets unlike list</p><pre>miracle ={&quot;name&quot;: &quot;Miracle&quot;, &quot;age&quot;: 25, &quot;City&quot;: &quot;Port-harcourt&quot;}<br><br>print(miracle[&quot;age&quot;])</pre><p>Let me quickly note that python is super big on letter case sensitivity, so it is teaching me to be detail oriented and careful.</p><p>Moving on, Comparison operators which are used to compare two variables. We have the equal to (==), not equal to (!=), less than (&lt;) and greater than (&gt;)</p><p>The Boolean operators/logical operators produces Booleans(True or False) when used to perform logical operations. we have the AND, OR and NOT</p><p>Conditional statements IF, ELSE, ELIF executes block of code based on if a condition is met. it really just automates and make analyzing data easier</p><pre>score = 85<br>if score &gt;= 70:<br>    print(&quot;Excellent&quot;)<br>elif score &gt;= 50:<br>    print(&quot;Good&quot;)<br>else:<br>    print(&quot;Fail&quot;)</pre><p>Functions are a great feature of python. They are pieces of reusuable codes designed to perform specific task. Just like functions in excel like count(), max(), sum() etc we have built in functions but also, we can define a function. defining a function really helps when you need to repeat task.</p><pre>def miracle_code(a,b,c): <br>    return a * c + b<br><br>print(miracle_code(10,20,5))<br><br>#output 70</pre><p>Loops are used to iterate or repeat actions (i.e codes to be executed) efficiently. The main types are FOR loop which is used to iterate over a sequence such as a list, dictionaries etc and WHILE loop which eexecutes code/repeat actions as long as a condition is true.</p><p>One of the things that make python such a great and popular tool is its packages/libraries. Like i earlier stated, python is a multipurpose tool. When it is used for data science, it has some important libraries that need to be imported to be able to perform analysis of data. A <strong>library</strong> is a collection of modules that is pre-written ‘code that provides functions and tools you can use to avoid writing everything from scratch. For example, Numpy(numerical python) is a library for numerical computing,Pandas (python data analysis) is a library for data manipulation and matplotlib for visualization. Every library is imported into the notebook to be able to call on it.</p><pre>import numpy as np<br>import pandas as pd<br><br>array = np.array [10, 20, 30, 40, 50]<br>print(array.sum())</pre><p>Numpy allows for efficient handling of arrays and mathematical operations.</p><p>Pandas really bring it in when you talk about data manipulation and analysis. It introduces two data structure; Series(columns with lables) and Data frame( full spreadsheet/table, with row and columns).</p><p>Dataframes can be created either by list of dictionaries(constructed by rows) or dictionaries of list (constructed by columns). In reality, due to the volume of data data analyst/scientist work with, data usually come in .csv files already a dataframe( rows &amp; cols), then it can be fed into the python notebook with code pd.read_csv</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/991/1*zyPLZPM-GKYY_RkNz0h-AQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/1*4g5dnte8x4p0nGW6dcKaKQ.png" /></figure><p>The pandas library is very powerful and essential for every data analyst/scientist. To fully get the best of pandas, we utilize other essential libraries like matplotlib and seaborn for visualization.</p><p>This is only the beginning, but learning Python has already changed how I look at data. I’m excited to keep going till i am as fluent as english.<br>i am looking to build real projects soon and flex my muscles (i meant data skills)</p><p>SEE YOU SOON!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c9401186f89" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building blocks of Data Science; Probability & Statistics.]]></title>
            <link>https://medium.com/@mimidaniels001/building-blocks-of-data-science-probability-statistics-7d3721c91af1?source=rss-349c1e0648f8------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d3721c91af1</guid>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[probability]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-analysis]]></category>
            <dc:creator><![CDATA[Miracle Oghide]]></dc:creator>
            <pubDate>Fri, 18 Apr 2025 21:55:11 GMT</pubDate>
            <atom:updated>2025-04-18T21:59:25.445Z</atom:updated>
            <content:encoded><![CDATA[<p><em>I didn’t know the extent of math and statistics required for data science but now, i will tell you for free.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cYwH_nXcx8tE_FGOU0Q42Q.jpeg" /></figure><p>Just like most people when they hear “data science”, i imagined machine learning models, AI, and Python codes. While those are important part of it, i have come to learn these past few weeks, thanks to my Data Science bootcamp course on Udemy, that the foundation and building blocks is Mathematics, specifically Probability and Statistics. It’s been intense, sometimes confusing, but ultimately eye-opening.</p><p>I’ll start with this definition of data science from my class; <strong>“Data science is the expansion of probability, statistics and programming that implements computational technology to solve more advanced questions.”</strong></p><p>The definition just put things into perspective. Because as much as we all talk about the codes and the tools, the truth is <strong>you cannot be a solid data scientist or analyst without a good foundation in math, specifically, statistics and probability.</strong></p><p>Coming from an engineering background, I’m no stranger to math but statistics has not been a focus. Now, i have been focused on learning the concepts and it has been interesting and i have come to see and respect it in a new light.</p><h3>So Why Do Probability and Statistics Matter in Data Science?</h3><p>Because they are the heart of it all. Every insight, every model, every recommendation in data science is built on a statistical backbone.<br>Numbers can lie when misunderstood but learning statistics properly helps to transforms raw data/numbers into clear, trustworthy, and actionable recommendations.</p><p>Most real world business decisions are made under uncertainty, for example, “Will we lose sales if we increase prices?”</p><p>Probability helps us deal with uncertainty. It lets us quantify how likely something is, which is key when making predictions or drawing conclusions. Statistics takes that uncertainty and gives us tools to organize, describe, interpret, and test our data. Probability and statistics help us make informed decisions with confidence.</p><h3>Some Key Concepts I’ve Learned (And Why They Matter)</h3><ul><li><strong>Probability Distributions (PDFs)</strong>: These help us understand how likely different outcomes are. They are essential for analyzing data and preparing a dataset for efficient algorithm training.</li><li><strong>Combinatorics</strong> (permutations, combinations): It teaches us the different ways events can occur — useful for everything from A/B testing sample design to machine learning algorithms.</li><li><strong>Sets and Events</strong>: Understanding how events relate (mutually exclusive, independent, etc.) set the tone for deeper statistical thinking.</li><li><strong>Bayes’ Theorem</strong>: It allows us find relationship between the different conditional probabilities. It is often used in medical or business analysis to determine which of two symptoms affects the other one more</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*PBCV9oA6TaInFcPkWCJpfQ.png" /></figure><p><strong>Types and Classification of Data</strong>: This was one of the first things I learned. Knowing if data is categorical or numerical, qualitative or quantitative determines how you clean, analyze, and visualize it.</p><p><strong>Descriptive Statistics</strong>: This is about understanding the now. It is crucial for summarizing and understanding data. They describe the behaviour and help frame the right business questions. Central tendency includes mean, median, and mode:</p><ul><li><strong>Mean</strong> provides an average value of data but it is easily affected by outliers</li><li><strong>Median</strong> divides the data into two equal parts.It is the middle number in and ordered list and is less affected by outliers.</li><li><strong>Mode</strong> represents the most frequently occurring value in the dataset.</li></ul><p><strong>Skewness and Variance</strong>: These help you understand data distribution and spread. they are important when choosing models or identifying outliers.Knowing the average is not always enough. Is the data skewed? Are outliers distorting the story?</p><p><strong><em>Generally, the measures are used together to get a better understanding of the data.</em></strong></p><p><strong>Standard Deviation and Coefficient of Variation</strong>: Knowing how spread out your data is can tell you how stable your results are. They are used to measure reliability. Is this equipment consistently underperforming, or was it just one bad month?</p><p><strong>Covariance and Correlation</strong>: These explain how variables move together. A core skill in identifying relationships within data before jumping into modeling. These metrics help answer that, especially when evaluating relationships in operational data — like temperature vs failure rate in a pump system</p><p><strong>Inferential Statistics</strong>: We move from just describing data to making predictions and assumptions about a larger population based on a sample. data scientists are able to make predictions and inferences about a larger population based on sample data. This branch of statistics uses techniques like hypothesis testing, confidence intervals, and regression analysis to conclude.</p><p><strong>Central Limit Theorem</strong>: It explains why, even with a small sample, you can still trust the normal distribution for inference. vital for hypothesis testing.</p><p><strong>Standard Error &amp; Confidence Intervals</strong>: These help you estimate how reliable your sample results are. In business decisions, this translates to how much trust you can put into your conclusions.</p><p><strong>Estimators and Estimates</strong>: Knowing the difference and how to assess estimator bias helps in model building.</p><p><strong>Hypothesis Testing</strong>: This felt like the core of statistical inference. It’s how we test assumptions and make decisions backed by data, not just intuition. It determines if there is enough evidence in a sample of data to infer a particular condition about a population</p><p><strong>Distributions</strong>: Distributions tell us how data behaves. They help answer: <em>Is this normal? Is this rare? Is this expected?. </em>Different distributions tell different stories. Understanding a distribution means I can spot outliers, detect fraud, or predict behavior. For instance, if customer purchase amounts follow a <strong>normal distribution</strong>, then I know most customers behave similarly, and I can plan promotions around the average buyer. But if the data is <strong>right-skewed</strong>, maybe a few high spenders are inflating our average and that’s a completely different business insight. Knowing the shape and type of data distribution is what helps analysts choose the right tools, avoid wrong assumptions, and provide accurate insights.</p><h3>In Summary</h3><p>Probability give us the tools to <strong>model reality with all its unpredictability, </strong>while <strong>statistics helps us make sense of what has already happened</strong> and what it might mean for the future.</p><p>Statistics and probability are the languages data scientists use to interpret the world.</p><p>This article isn’t meant to explain every concept in detail, but to share my learning journey and to show that I’m putting in the work to build a solid foundation so i can ask smarter questions, interpret data with context and just be a better scientist.</p><p>I’m still learning, but every distribution, formula, and concept is slowly starting to click into place. It’s also a reminder to myself and to anyone learning data science: <strong>Don’t skip the math</strong>.That’s how the magic happen. You don’t need to be a statistician, but you do need to understand what your tools are doing.<br>SEE YOU SOON!</p><p><em>Sneak peak into my next article: I have been coding for a while sooo you you will get to see our most loved ….Programming!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d3721c91af1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data science 101: The Basics]]></title>
            <link>https://medium.com/@mimidaniels001/data-science-101-the-basics-27ede4b94477?source=rss-349c1e0648f8------2</link>
            <guid isPermaLink="false">https://medium.com/p/27ede4b94477</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Miracle Oghide]]></dc:creator>
            <pubDate>Mon, 31 Mar 2025 19:07:12 GMT</pubDate>
            <atom:updated>2025-03-31T19:07:12.648Z</atom:updated>
            <content:encoded><![CDATA[<p><em>“If you don’t understand the basics, you’ll be building a house on sand”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/1*fI5nxF0X9ljN0FYCICDgsQ.png" /></figure><p>Hi, I’m Miracle Oghide, a Petroleum Engineering graduate, and I just started my data science journey. This is my Medium channel for documentation, and I hope you stick around.</p><p>I have a strong feeling that 95% of people have heard the words “data” and “science.” If you’re even slightly interested in tech, then terms like “data science,” “analytics,” or “analysis” are probably not new to you. But when you decide to take a real interest in data, the number of buzzwords thrown around can feel overwhelming and maybe even intimidating.</p><p>We hear all these terms in the data world, but what do they actually mean?</p><p>I believe that jumping into Data Science without understanding the basics is like building a house on sand. And you know what they say about houses built on sand (if you don’t, they crumble when the wind comes).</p><p>I’m currently taking a Data Science course on Udemy, and let me tell you, I’ve been blown away by how much I didn’t know compared to how much there is to know. The data space is packed with technical jargon, and if you’re in the job market or just reading people’s job titles, things can get confusing real quick. So, this post is all about breaking down some of the key terms you’ll hear in data.</p><p><em>(This is my understanding from my course and research. Feel free to comment — let’s learn from each other!)</em></p><h4><strong>First of all, Data</strong></h4><p>Data is a collection of values — facts, observations, numbers, symbols, or characters. I love the quote: <strong><em>“Data without context is just noise.”</em> </strong>I completely agree because anyone can compile a dataset, but without context, it’s meaningless.</p><p>Information is what you get when data is processed. Think of it like this:</p><p><strong>Data + Context = Information</strong></p><p>Data processing involves identifying patterns, extracting meaning, and turning data into something useful for decision-making. The <strong>useful information</strong> we get from this process is called <strong>Insights</strong> — a deeper understanding that helps guide decisions in businesses and organizations.</p><p>So, we have:</p><p><strong>Data → Information → Insights</strong></p><p>Let me quickly introduce<strong> Metrics and KPIs</strong></p><p>Metrics and KPIs are often thrown around interchangeably, but they are not the same thing.</p><ul><li><strong>Metrics</strong> are general <strong>quantitative measures</strong> used to track different aspects of a business, process, or operation. They give insights but don’t necessarily indicate success or failure.</li><li><strong>KPIs (Key Performance Indicators)</strong> are <strong>specific</strong> metrics that directly align with a business’s goals. They measure how well you’re achieving objectives.</li></ul><p>Example: If your business tracks website visitors, <strong>website traffic</strong> is a <strong>metric</strong>. But if your goal is to increase <strong>sales</strong>, then the <strong>conversion rate</strong> (the percentage of visitors who make a purchase) is a <strong>KPI</strong>.</p><p><strong>Insight:</strong> If your website has high traffic but a low conversion rate, you might realize that users stop at checkout due to a poor mobile experience. That’s your your <strong>insight.</strong> Your next step? Optimize your mobile checkout experience (Action plan).</p><p>Now that is clear, How do we convert that raw data to insights? DATA ANALYSIS.</p><p><strong>Data analysis</strong> is the process of collecting, transforming, cleaning and modelling raw data with the goal of discovering useful information for decision making . those decisions are called data- driven decisions.</p><h4><strong>Data Analysis vs. Data Analytics</strong></h4><p>There is a distinct difference even though they are popularly used interchangely.</p><ul><li><strong>Data Analysis</strong> is about looking at past data to understand what happened. It answers questions like <em>“Why did sales drop last month?”</em></li><li><strong>Data Analytics</strong> is broader and focuses on the future. It finds patterns and explores what could happen next. <em>“Based on past trends, how can we improve next month’s sales?”</em></li></ul><p>You can break analytics down into:</p><ul><li><strong>Qualitative Analytics</strong> — Uses intuition, experience, and past trends to make decisions. (e.g., you are able to use qualitative analytics to decide on the styles of clothes to sellon your next collection based on your analysis and experience.)</li><li><strong>Quantitative Analytics</strong> — Uses statistical tools, formulas and algorithms on numbers you have gathered from analysis to make predictions.. (e.g., Using historical sales data to forecast the best time to launch a new collection.)</li></ul><p>To keep things simple, <strong>Data Analytics</strong> is often used as an umbrella term for both analysis and analytics — but now you know the difference.</p><h4>What is Business Intelligence (BI)?</h4><p>Business Intelligence is related to Data Analysis but is a broader concept that includes <strong>data visualization, dashboards, and reporting</strong> to support strategic decisions.</p><p>After analyzing data, BI tools like <strong>Power BI and Tableau</strong> help visualize and present insights in a way that’s easy for businesses to act on. BI is also considered the <strong>preliminary stage of predictive analytics</strong> because it organizes historical data before deeper modeling takes place.</p><h3>Enter Data Science!</h3><p>Data Science is a mix of <strong>statistics, business intelligence, programming, and machine learning.</strong> It takes parts of data analysis and pushes it further using <strong>predictive analytics.</strong></p><h3>Predictive Analytics: Traditional vs. Machine Learning</h3><p>Predictive analytics is a core part of Data Science and is split into two major approaches:</p><ol><li><strong>Traditional Predictive Analytics</strong> (Statistical Methods): Uses <strong>advanced statistics</strong> and mathematical models to predict future outcomes.</li></ol><ul><li>Examples: Linear Regression, Logistic Regression, Time Series Forecasting (e.g., ARIMA models).</li></ul><p>2.<strong> Machine Learning (ML): </strong>A branch of Artificial Intelligence where computers learn from data to make predictions without being explicitly programmed.</p><ul><li><strong>Supervised Learning, Unsupervised Learning, Reinforcement Learning</strong> are the main ML techniques.</li></ul><p>Example:</p><ul><li>Traditional analytics helps forecast future sales using past data.</li><li>Machine Learning takes it a step further by <strong>learning from patterns</strong> and <strong>adapting in real time</strong> — like how Netflix predicts what you’ll want to watch next.</li></ul><h4>Where is Machine Learning Used?</h4><ul><li>Customer Retention &amp; Acquisition<strong>:</strong> Ever noticed how e-commerce sites suggest products based on your past purchases? That’s Machine Learning.</li><li>Fraud Detection: Banks use ML to flag unusual transactions.</li><li>Oil &amp; Gas Optimization (My Favorite!): In the oil &amp; gas industry, data science improves drilling efficiency. Machine Learning further optimizes real-time decisions based on data gathered from drilling operations. <em>Really intriguing stuff.</em></li></ul><p>Let’s briefly explore some popular <strong>career paths/job titles</strong>:</p><ul><li><strong>Data Analyst:</strong> Collects, processes, and analyzes data for decision-making.</li><li><strong>Data Scientist:</strong> Uses advanced analytics, machine learning, and programming to extract deeper insights.</li><li><strong>Data Engineer:</strong> Builds data pipelines and prepares big data for analysis. Big data is extremely large data characterized by volume, variety, and velocity. It often requires cloud storage and processing.</li><li><strong>BI Analyst/Consultant:</strong> Focuses on reporting, visualization, and strategic insights.</li><li><strong>Machine Learning Engineer:</strong> Develops and deploys ML models.</li></ul><p>The world of data is fascinating. <strong>Data is the new oil, and Data Science is the refinery that turns it into valuable insights.</strong></p><p>I’m on a journey to becoming a Data Scientist, and I’ll be documenting my growth here.</p><p><strong>Yayyy for my first post and my data science journey!</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27ede4b94477" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>