<?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 Viji B Nambiar on Medium]]></title>
        <description><![CDATA[Stories by Viji B Nambiar on Medium]]></description>
        <link>https://medium.com/@nambiarviji4?source=rss-993113e2854c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*DxMj_Kaci5jx5knKGfYUTA.jpeg</url>
            <title>Stories by Viji B Nambiar on Medium</title>
            <link>https://medium.com/@nambiarviji4?source=rss-993113e2854c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 13:19:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nambiarviji4/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[Estimates of Variability — Statistics for Data Science (Part 2)]]></title>
            <link>https://medium.com/@nambiarviji4/estimates-of-variability-statistics-for-data-science-part-2-f7d041d8a358?source=rss-993113e2854c------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7d041d8a358</guid>
            <category><![CDATA[statistical-learning]]></category>
            <category><![CDATA[data-science-training]]></category>
            <category><![CDATA[statistical-analysis]]></category>
            <category><![CDATA[data-science-projects]]></category>
            <dc:creator><![CDATA[Viji B Nambiar]]></dc:creator>
            <pubDate>Tue, 28 May 2024 12:21:21 GMT</pubDate>
            <atom:updated>2024-05-28T12:30:29.237Z</atom:updated>
            <content:encoded><![CDATA[<h3>Estimates of Variability — Statistics for Data Science (Part 2)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*1HcXGajXP2n8xUiGREGbcQ.jpeg" /><figcaption>Photo by ‪Igor Siwanowicz</figcaption></figure><p>In the realm of statistics, variability is another dimension in summarizing data after location (Read more about it <a href="https://medium.com/@nambiarviji4/estimates-of-location-statistics-for-data-science-part-1-b0d02a9eb655">here</a>). Variability, also known as dispersion or spread, measures how much the data points in a dataset differ from each other and from the central tendency, usually the mean or median. This concept is fundamental because it provides insights into the reliability, predictability, and distribution characteristics of the dataset.</p><blockquote>Variability tells us about the spread of the data. It is important to distinguish random from real variability.</blockquote><p>There are different ways to measure variability.</p><h4>Range</h4><p>The range is the difference between the largest and the smalles numbers. However, it is not a useful general measure of dispersion in data as it is sensitive to outliers.</p><h4>Mean absolute deviation</h4><p>The most widely used estimates of variation are based on the differences, or deviations, between the estimate of location and the observed data. If we substract each value in the dataset from the mean, it would give us some idea about the spread of the data around the central value. Consider the example {1,5,9}, the mean is 5. The deviation from mean would be {-4,0,4}.</p><p>We cannot average such a value because the negative deviations would nullify the effect of the positive deviations. The average being 0 in the above case. So, a simple approach would be to take the average of the absolute values, i.e, avergae of {4,0,4}. This would gives us an average of 8/3. This is called <strong><em>mean absolute deviation</em></strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/358/1*i663Nul-b7mrPSNOnVOMAg.png" /></figure><p>where x̄ is the mean.</p><h4>Standard Deviation and Variance</h4><p>In the fascinating world of statistics, variance and standard deviation stand out as two of the most critical measures of data dispersion. Variance measures the average squared deviation of each data point from the mean of the dataset. Standard deviation is the square root of variance. It is expressed in the same units as the original data, making it more interpretable than variance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/367/1*ChEuOcF0il2X8QPfqUaHUQ.png" /></figure><p>where x̄ is the mean.</p><blockquote>Standard deviation is used describe how spread out the values are in a dataset. However, the variance can be useful when you’re using a technique like ANOVA or Regression and you’re trying to explain the total variance in a model due to specific factors.</blockquote><p>For example, imagine you’re analyzing the performance of employees in a company based on two factors: years of experience and hours of training received. You want to understand how much variability in performance scores can be attributed to these two factors.</p><p>If 40% of the variation in performance scores is due to years of experience and 60% of the variation in performance scores is due to hours of training received, that’s easy to understand. But if we use the standard deviations of 5 and 7, that’s much less intuitive and doesn’t make much sense in the context of the problem.</p><p>Mean Absolute deviation, standard deviation and variance is not robust to outliers.</p><h4>Median absolute deviation</h4><p>The median absolute deviation is robust to outliers as it is not influenced by extreme values. It is calculated as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/567/1*nvwnDw2-SYiboCcKiIPSEg.png" /></figure><p>Here, m is the median.</p><h4>Interquartile Range</h4><p>The Interquartile Range (IQR) is a robust measure of statistical dispersion and variability. Unlike other measures, such as the range or standard deviation, the IQR focuses on the middle 50% of the data, providing a clearer picture of the dataset’s core spread while minimizing the impact of outliers.</p><p>The interquartile range (IQR) is the difference between the 25th percentile and 75th percentile (percentiles discussed <a href="https://medium.com/@nambiarviji4/estimates-of-location-statistics-for-data-science-part-1-b0d02a9eb655">here</a>). The IQR is defined as the range between the first quartile (Q1) and the third quartile (Q3). Quartiles divide a ranked dataset into four equal parts:</p><ul><li>Q1 (First Quartile): The 25th percentile, below which 25% of the data lies.</li><li>Q3 (Third Quartile): The 75th percentile, below which 75% of the data lies.</li></ul><p>The formula for calculating the IQR is straightforward: IQR = 𝑄3 − 𝑄1</p><blockquote>The percentile is essentially the same as a quantile, with quantiles indexed by fractions (so the .8 quantile is the same as the 80th percentile).</blockquote><h3>Conclusion</h3><p>The choice of variability measure depends on the nature of the data and the specific analysis requirements. For example, the IQR is particularly useful for understanding the spread of the middle 50% of the data while minimizing the impact of outliers. In contrast, standard deviation is widely used due to its comprehensive nature and direct interpretability.</p><p>As data becomes increasingly complex and voluminous, mastering these fundamental concepts of variability becomes even more critical. By leveraging the appropriate measures of variability, one can enhance the quality of statistical analysis, leading to more precise and actionable insights.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7d041d8a358" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Estimates of Location — Statistics for Data Science (Part 1)]]></title>
            <link>https://medium.com/@nambiarviji4/estimates-of-location-statistics-for-data-science-part-1-b0d02a9eb655?source=rss-993113e2854c------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0d02a9eb655</guid>
            <category><![CDATA[data-science-projects]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[statistical-analysis]]></category>
            <category><![CDATA[statistics-analysis]]></category>
            <dc:creator><![CDATA[Viji B Nambiar]]></dc:creator>
            <pubDate>Sun, 26 May 2024 14:33:07 GMT</pubDate>
            <atom:updated>2024-05-26T14:33:07.617Z</atom:updated>
            <content:encoded><![CDATA[<h3>Estimates of Location — Statistics for Data Science (Part 1)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v6uEW2x_RMrxTwdOiiu3xw.jpeg" /></figure><blockquote>We are surrounded by data but starved for insights — Jay Baer</blockquote><p>If someone asked you to choose a single number to represent your data, what number would you choose?</p><p>In data science, understanding the central tendency of a dataset is crucial for summarizing and interpreting data. Estimates of location, also known as measures of central tendency, provide a single value that characterizes the center point or typical value of a dataset. It gives an estimate of where most of our data is located. These estimates are fundamental in descriptive statistics and serve as the foundation for more complex analyses.</p><p>The estimates of location, such as the mean, represents the dataset.</p><p>At first glance, summarizing data might seem fairly trivial: just take the mean of the data, while mean is easy to compute, it may not always be the best measure for a central value. Thus, we have several alternative estimates to the mean.</p><h4><strong>Mean</strong></h4><p>The most basic estimate of location is the <em>mean</em>, or the average. It is the arithmetic average of all data points. It is calculated by summing all the values and dividing by the number of values. The symbol x-bar is used to represent the mean of a sample from a population. The formula is given by</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/187/1*fFBh91Ba6aT76H2AkBHTfw.png" /></figure><blockquote>The mean is sensitive to outliers and is best used with data that is symmetrically distributed.</blockquote><p>A variation of the mean is the <strong><em>trimmed mean</em></strong><em>, </em>which is calculated by dropping a fixed number of sorted values at each end and then taking the average of the remaining values.</p><p>The formula to calculate the trimmed mean with <em>p</em> smallest and largest values omitted is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/1*Aq1BF7pPl10ZJXOA9LdI1g.png" /></figure><blockquote>Trimmed mean eliminates the influence of extreme values.</blockquote><p>The <strong><em>weighted mean</em></strong> is a measure of central tendency that takes into account the relative importance or frequency of each data point in a dataset. Unlike the simple arithmetic mean, which treats all data points equally, the weighted mean assigns different weights to different values, reflecting their significance. It is calculated as</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/310/1*70MeNO7zA2BrKsUEV4CpQw.png" /></figure><p>where:</p><ul><li><em>xᵢ</em> represents each individual value.</li><li><em>wᵢ</em> represents the weight assigned to each value.</li><li>𝑛 is the total number of values.</li></ul><h4>Median</h4><p>The middle value when the data points are sorted in ascending or descending order. If the dataset has an odd number of observations, the median is the middle number. If it has an even number, it is the average of the two middle numbers. In many cases, median is a better metric since it is less sensitive to the data.</p><p>Like the weighted mean, we can also calculate the <strong><em>weighted median</em></strong>. As with the median, we first sort the data, although each data value has an associated weight. Instead of the middle number, <em>the weighted median is a value such that the sum of the weights is equal for the lower and upper halves of the sorted list</em></p><blockquote>The median is referred to as a robust estimate of location since it is not influenced by outliers.</blockquote><p>Outliers are not necessarily erroneous. For example, if you consider the income of all people in Mumbai. We have some outliers like that of Ambani, which is an outlier but not an incorrect data point. If an outlier is the result of data errors such as mixing data of different units (kilometers versus meters) or bad readings from a sensor, the mean will result in a poor estimate of location, while the median will still be valid because the position of the middle value will remain the same. In any case, outliers should be identified and are usually worthy of further investigation.</p><blockquote>The median as well as the trimmed mean can be used as a protection against outliers.</blockquote><p>Trimming the bottom and top 10% of the data (a common approach) helps protect against outliers in all but the smallest datasets. The trimmed mean serves as a compromise between the median and the mean: it is robust to extreme values, yet it utilizes more data to calculate the estimate of location.</p><h4>Mode</h4><p>It is the value that appears most frequently in the dataset. A dataset can have one mode, more than one mode, or no mode at all if no number repeats. The mode is useful for categorical data or for understanding the most common value in a dataset.</p><p>The mode is especially useful for categorical data, where values are names or labels rather than numbers. It helps identify the most common category or label in the dataset. For example, if you’re analyzing survey responses about preferred colors, the mode will tell you the most frequently chosen color.</p><p>The mode can highlight the most common value in a dataset, which can be useful in understanding the most typical case or peak in the distribution. For instance, in retail, knowing the most frequently purchased item can inform inventory decisions.</p><h4>Percentile</h4><p>A percentile is a measure that indicates the value below which a given percentage of observations in a group falls. For example, the 25th percentile (also known as the first quartile) is the value below which 25% of the data points lie. Percentiles divide the data into 100 equal parts, allowing us to see where a particular data point lies on this scale.</p><p>Percentiles are particularly useful in skewed distributions, as they provide a better understanding of the distribution of data than measures like the mean. For example, in income data, the 50th percentile (median) gives a better sense of the typical income than the mean, which can be skewed by very high incomes.</p><p>Percentiles help determine the relative position of a value within a dataset. For instance, if a student’s test score is in the 90th percentile, it means they scored better than 90% of the students.</p><ul><li>25th Percentile (Q1): The first quartile, below which 25% of the data points lie.</li><li>50th Percentile (Q2 or Median): The median, which divides the data into two equal halves, with 50% of the data points below it.</li><li>75th Percentile (Q3): The third quartile, below which 75% of the data points lie.</li></ul><p>Percentiles can be calculated by ordering the data from smallest to largest and then determining the value below which the desired percentage of data points falls. For a dataset with 𝑛 observations, the kᵗʰ percentile can be found using the formula:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*Njz4_z7dctB3IKQUne4P0Q.png" /></figure><h4>Some other estimators</h4><ol><li><strong>Winsorized Mean</strong></li></ol><ul><li>Definition: Similar to the trimmed mean, but instead of removing the extreme values, they are replaced by the nearest remaining values.</li><li>Use: Reduces the influence of outliers without completely discarding any data points.</li><li>Example: In a dataset with 100 values, a 10% winsorized mean would cap the lowest 10 and highest 10 values to the 10th and 90th percentiles, respectively, before calculating the mean.</li></ul><p>2. <strong>Geometric Mean</strong></p><ul><li>Definition: The nth root of the product of n values, used for multiplicative data.</li><li>Use: Appropriate for data that grow exponentially, such as rates of return in finance.</li></ul><p>3. <strong>Harmonic Mean</strong></p><ul><li>Definition: The reciprocal of the arithmetic mean of the reciprocals of the data points.</li><li>Use: Useful for rates and ratios, such as speeds or densities.</li></ul><p>4. <strong>Midrange</strong></p><ul><li>Definition: The average of the maximum and minimum values in the dataset.</li><li>Use: Provides a quick and simple measure of central tendency, but is highly sensitive to outliers.</li></ul><p>5. <strong>Hodges-Lehmann Estimator</strong></p><ul><li>Definition: The median of all pairwise averages of the data points.</li><li>Use: Combines the robustness of the median with the efficiency of averaging.</li><li>Example: For a set of values {1, 2, 3}, the pairwise averages are {(1+2)/2, (1+3)/2, (2+3)/2} = {1.5, 2, 2.5}, and the Hodges-Lehmann estimator is 2.</li></ul><p>6. <strong>M-estimators</strong></p><ul><li>Definition: A general class of estimators that minimize a specified function of the residuals (differences between observed values and the estimator).</li><li>Use: More robust to outliers and skewed distributions compared to the mean.</li><li>Example: Huber’s M-estimator, which reduces the influence of outliers by using a piecewise function that combines squared residuals for small errors and absolute residuals for large errors.</li></ul><p>7. <strong>Biweight Midvariance (Tukey’s Biweight)</strong></p><ul><li>Definition: An estimator that down-weights the influence of outliers based on a biweight function.</li><li>Use: Provides a robust estimate of central location by reducing the impact of extreme values.</li><li>Example: For a set of values, each data point’s contribution is weighted by a function that decreases rapidly for points far from the center.</li></ul><p>These alternative estimators of location provide various ways to measure the central tendency of a dataset, each with its own strengths and weaknesses. The choice of estimator depends on the nature of the data, the presence of outliers, and the specific requirements of the analysis. Using a combination of these estimators can offer a more comprehensive understanding of the dataset’s central tendency.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0d02a9eb655" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Complete guide to data types in Data Science and Machine Learning -Part 1]]></title>
            <link>https://medium.com/@nambiarviji4/complete-guide-to-data-types-in-data-science-and-machine-learning-part-1-64172d9712d8?source=rss-993113e2854c------2</link>
            <guid isPermaLink="false">https://medium.com/p/64172d9712d8</guid>
            <dc:creator><![CDATA[Viji B Nambiar]]></dc:creator>
            <pubDate>Wed, 18 Oct 2023 14:05:34 GMT</pubDate>
            <atom:updated>2023-10-18T14:05:34.635Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4yJgLsclqeXJ0GHpm6Opaw.jpeg" /></figure><blockquote>If the statistics are boring, you’ve got the wrong numbers. — Edward Tufte</blockquote><p>In my previous article, we had an introduction to data science. If you haven’t read it, read it <a href="https://medium.com/@nambiarviji4/introduction-to-data-science-d3f42d715564"><strong><em>here</em></strong></a>. Now, it’s time to move to the next chapter. <em>By the end of this series, you would know everything there is to know about Data!</em></p><p>Data Science has two words — Data and Science. Understanding data science begins with understanding what data is, preprocessing it efficiently and using it effectively.</p><h4>So, <strong>what is data</strong>?</h4><p>In simple terms data is a collection of <strong>objects</strong> and <strong>characteristics</strong>. Numerically measurable characteristics are called <strong>Quantitative characteristics or variable</strong>. The characteristics which are not numerically measurable are called <strong>qualitative characteristics or attributes</strong>. For example, height, number of words in this article are all variables. Intelligence, the quality of this article are attributes.</p><h4>What are the types of data?</h4><p>Until now, we have understood that <strong>data can be quantitative(numerical) or qualitative(categorical).</strong> It’s much easier to measure quantitative data because we can do so with numbers. But what about qualitative data? Ok, I will give you a moment to think about it.</p><p>For this we need <strong>scale of measurement</strong>. Wait! What’s that? Well, it’s just a number that associates each attribute to a numerical or symbolic value. There are two scales of measurement for qualitative data:</p><ol><li><strong>Nominal scale</strong> — A number assigned for every unit for identification of different categories. Example, Roll numbers assigned to students of a college. These numbers do not measure or indicate anything as such.</li><li><strong>Ordinal Scale</strong> — Numbers assigned to observations that can be arranged in ascending or descending order. Example, ranks given to students according to their performance.</li></ol><blockquote><strong>Well, what makes these numbers different from the numbers of a quantitative data?</strong> <em>Think about it, and let me know in the comments. Or ask me about it.</em> Here’s a hint, take the average of the ranks (qualitative) and the average of age of a population (quantitative).</blockquote><p>Apart from Nominal Scale and Ordinal Scale, statisticians use two other scales <strong>Interval Scale and Ratio Scale</strong>. These two are used for quantitative data.</p><ol><li><strong>Interval Scale </strong>— Interval scales frequently record continuous data, but not always — credit and SAT scores are integers. An interval scale is a type of measurement scale that has all the properties of ordinal measurement, plus a consistent and meaningful unit of measurement. Interval data do not have a true, non-arbitrary zero point. In other words, a value of zero does not mean the complete absence of the measured quantity. Interval scales are a step higher than ordinal data as a level of measurement. This type allows you to order the values, like ordinal data, but it also allows you to assess the degree of difference between any two values. A classic example of an interval scale is the Fahrenheit temperature scale. Differences between temperatures are meaningful, but a temperature of 0°F does not represent the complete absence of heat.</li><li><strong>Ratio scale</strong> — It has all the properties of an interval scale, but it also has a true, non-arbitrary zero point, where zero represents the complete absence of the measured quantity. On a ratio scale, you can perform all mathematical operations, including addition, subtraction, multiplication, and division. This makes ratio scale data the most informative and versatile. Examples of ratio scale variables include height, weight, age, income, and many other physical and quantitative measurements.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*wiQlCDw4V9bw7XTsfmlfAA.png" /><figcaption><a href="https://statisticsbyjim.com/basics/nominal-ordinal-interval-ratio-scales/">Nominal, Ordinal, Interval, and Ratio Scales — Statistics By Jim</a></figcaption></figure><p><strong>Quantitative data can either be discrete or continuous.</strong> Thus, we have Discrete variable and Continuous variable.</p><ol><li><strong>Discrete Variable</strong> — A variable which assumes only specified values within a given range. The observations are limited. Example, the number of chocolates you eat in a day. If that is not limited, I might have to change this example.</li><li><strong>Continuous Variable</strong> — A variable which assumes all the possible values within a given range. It has infinite number of possible values within a given range. Example, temperature of a region.</li></ol><p><strong>Is there a difference between discrete data and discrete variable? </strong>I think we should be able to answer it by now. In statistics, a variable is any characteristic or attribute that can be measured. Data refers to the values or observations that are collected for a particular variable.</p><p>Ok, here’s a summary of all that we have learnt so far.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-RQeTU4_HADo7eWYJHYHlg.png" /><figcaption><a href="https://www.mygreatlearning.com/blog/types-of-data/">https://www.mygreatlearning.com/blog/types-of-data/</a></figcaption></figure><p>Phew! The basics are done! Now, as I promised I would tell you all about data. Here’s more!</p><p>Once you have data in your hand, you need to understand it. There are six general characteristics of Data Sets namely:</p><ol><li><strong>Size </strong>— This refers to the volume of data in the dataset. It can be measured in terms of the number of records (rows).</li><li><strong>Dimensionality</strong> — The dimensionality of a data set is the number of attributes that the objects in the data set have.</li><li><strong>Noise — </strong>Noise is the presence of random or irrelevant information in the data. Cleaning or preprocessing the data is often necessary to reduce noise.</li><li><strong>Sparsity</strong> — This characteristic assesses whether there are any missing values in the dataset. Missing data can affect the quality of analysis and must be handled appropriately.</li><li><strong>Dependencies — </strong>Understanding relationships and dependencies between variables in the dataset can help in feature selection and modeling.</li><li><strong>Resolution</strong> — This refers to the level of detail or granularity in any dataset. For example, if you looked at a data of evolution, you might not be able to find a pattern. But it you looked at it for millions of years, it starts making sense. If the resolution is too fine, a pattern may not be visible or may be buried in noise; if the resolution is too coarse, the pattern may disappear.</li></ol><p>Great! We have reached the end of this article. In the next one, we talk more about data, how to handle data, preprocess it and make it useful for further analysis. See you soon!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=64172d9712d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Data Science]]></title>
            <link>https://medium.com/@nambiarviji4/introduction-to-data-science-d3f42d715564?source=rss-993113e2854c------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3f42d715564</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[basics-of-data-science]]></category>
            <category><![CDATA[mathematics]]></category>
            <dc:creator><![CDATA[Viji B Nambiar]]></dc:creator>
            <pubDate>Sun, 02 Jul 2023 16:07:57 GMT</pubDate>
            <atom:updated>2024-05-26T07:05:15.506Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UZseDRUuJI3mOlwdDUad_Q.jpeg" /><figcaption>Photograph by Raghuttam Hombal</figcaption></figure><blockquote>“The best way to learn data science is to do data science.”<br> — Chanin Nantasenamat</blockquote><p>Today, more than ever, we hear so much about data science, machine learning and AI. These topics have taken the world by storm. Eleven years ago Harvard Business Review published the article “Data Scientist: Sexiest Job of the 21st Century”. So much has changed in the past few years and Data Science has only become more relevant. The question is why? And the answer is simple. DATA! Over the years the amount of data generated has grown tremendously and the need to derive information from these data has become ever so important. Companies are now wrestling with information that comes in varieties and volumes never encountered before.</p><h3><strong>But what is Data Science?</strong></h3><p>Frank Lo, the Director of Data Science at Wayfair, says this on datajobs.com: “<em>Data science is a multidisciplinary blend of data inference, algorithm development, and technology in order to solve analytically complex problems.</em>” Okay. That’s a lot of words that we might not possibly understand. So let’s break it down. Data Science as the name suggests — the science of dealing with data. Now, we can receive data in any form. Data science involves taking this data and transforming it into something that can be useful for a business. So, we take data and derive useful information from this data to better understand and help the business.</p><p>Data Science helps in identifying the sources of data, bringing structure to large quantities of unstructured data, and analyze such data to draw meaningful conclusions.</p><h3>The process of Data Science</h3><p>The process of data science consists of the following but bear in mind that this is not an exclusive list. You can add or remove the steps based on the requirements of the project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/1*r_69ZYeCkxmbu0wJ5OTzjQ.jpeg" /><figcaption>Taken from Introducing Data Science</figcaption></figure><ol><li>Setting the research goal would be the first step in any data science project where you understand the requirements of the project and make sure that all the stakeholders understand the “what”, “how” and “why” of the project. You should be able to come up with a clear research goal, a good understanding of the context, well-defined deliverables, and a plan of action with a timetable.</li><li>Data retrieval would be the next step. Here you identify the sources of data and retrieve data from such sources. The data can be internal — data stored in the company or external — data from other companies. Some open-data providers are:</li></ol><p>· Data.gov</p><p>· https://open-data.europa.eu/</p><p>· Freebase.org</p><p>· Data.worldbank.org</p><p>· Aiddata.org</p><p>· Open.fda.gov</p><p>3. The data retrieved mostly in real life would be in a form that would not make sense. You need to clean and transform the data to be able to use it in your models. This takes most of the time in any given project. The errors you might come across are mistakes during data entry, impossible values, missing values, different values of measurement and outliers. There are different ways in which you can deal with them like manual over rule, removing an observation or pay attention to what the outliers indicate. An outlier is an observation that seems to be distant from other observations or, more specifically, one observation that follows a different logic or generative process than the other observations.</p><p>4. Data exploration is one of the vital steps. You gain an in depth understanding of the data. You can use descriptive and visual techniques to better understand the data and learn from it. You now look at the statistical properties such as distributions, correlations, and outliers. You can use simple line graphs, histograms, box-plots, Sankey diagrams and network graphs.</p><p>5. Model building is the sexiest part where you gain insights from your data and make predictions using it. You may not use all the variables in the data for your models. This stage is called variable selection. Then, you need to select the model which best suits your requirements. You can choose from several programming languages to build your model. Python and R however, are the ones that are mostly used.</p><blockquote>“All models are wrong, but some are useful.”<br> — George E. P. Box</blockquote><p>6. The last step is presenting the results to the stakeholder. You need to be a good storyteller. Any data is still useless if you cannot convey the information derived from it. It is important to convince the people that your results would indeed change their business.</p><h3>Conclusion</h3><p>The process of Data Science is not linear, and you might often have to iterate or come back to some of the steps. The process might be different for different projects but keeping these steps in mind can help you charter the project with ease.</p><p>This article is an introduction to the process of data science. Each of this step will be further discussed in depth. I<em>n the next few articles, we will look at the various data types, data storages, data pre-processing, and techniques for data analysis.</em> This blog is my journey in better understanding data science. As much as I am interested in understanding the techniques, I am also interested in understanding the math behind it. <em>So, in future articles, we will try and understand how the various algorithms work.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3f42d715564" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>