<?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 Dhongari Pavan on Medium]]></title>
        <description><![CDATA[Stories by Dhongari Pavan on Medium]]></description>
        <link>https://medium.com/@pavanvds-137?source=rss-591514883512------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*PpRdnvfJImRVtbMh</url>
            <title>Stories by Dhongari Pavan on Medium</title>
            <link>https://medium.com/@pavanvds-137?source=rss-591514883512------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 08:24:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pavanvds-137/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[Probability Theory and Descriptive Statistics]]></title>
            <link>https://pavanvds-137.medium.com/probability-theory-and-descriptive-statistics-eca5193aeca9?source=rss-591514883512------2</link>
            <guid isPermaLink="false">https://medium.com/p/eca5193aeca9</guid>
            <category><![CDATA[probability]]></category>
            <category><![CDATA[descriptive-statistics]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[almabetter]]></category>
            <dc:creator><![CDATA[Dhongari Pavan]]></dc:creator>
            <pubDate>Wed, 07 Jul 2021 15:48:21 GMT</pubDate>
            <atom:updated>2021-07-07T15:48:21.056Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article we will try to learn the importance of probability and descriptive statistics.</p><p><strong>Descriptive Statistics<br></strong>In Descriptive statistics, we will deal with describing data, summarizing and presenting in forms of graphs or charts, Every data will have some parameters which will help in understanding what does this data mean. The parameters are measures of central tendency and measure of variability which we will discuss in details.</p><p><strong>Measure of Central Tendency<br></strong>From the title it can be understood that we are trying to find the central/middle/average value. Yes, it is correct. In this, we have three different kinds</p><ol><li>Mean</li><li>Median</li><li>Mode</li></ol><p>For example, list = 1,2,3,4,5,1,2,1,1,2,3</p><p><strong>Mean<br></strong>Mean can be defined as sum of observations by total number of observations. For the example provided above mean will be 25/11=2.27. The point to be noted here is that mean will be affected by the outliers so mean is not robust in nature.</p><p><strong>Median<br></strong>It is the middle value of the given data. It will divide data into 50%–50% and middle element will be considered as median if number of elements is odd and average of middle two elements will be considered as median if number of elements is even. It is very less affected by outliers. So, for the above example median will be 1.</p><p><strong>Mode<br></strong>It is the most repetitive element/frequent element in a data. Mode can be applicable to categorical data to find most repeated element.</p><p><strong>Measure of Variability<br></strong>Variability defines the spread of data it means how similar or varied the data elements. Some of important measures are range, standard deviation, variance and inter quartile range. We will discuss about them in detail below.</p><p><strong>Range<br></strong>Range gives us the difference between highest element and lowest element in the data. When the range is greater the spread of data is large and vice versa.</p><p><strong>Variance<br></strong>Variance is the average squared deviation from the mean. To find out variance, each element is subtracted from the mean and squared and summed up and divided by total no of elements gives the variance. When we square, the unit of measurement changes.</p><p><strong>Standard Deviation<br></strong>Square root of variance gives us the standard deviation. The unit of measurement is same as the original data so it is easy to compare and understand. If standard deviation is low, it means that data elements tend to be nearer mean and if standard deviation is high, it means that data elements tends to spread over a wide range of area.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/264/0*9q4b4ddG6GJjE8hw.gif" /><figcaption>variance and standard deviation formula</figcaption></figure><p><strong>Inter Quartile Range (IQR)<br></strong>The interquartile range (IQR) is another measure of spread which is like the range but which is not affected by the data extremes. The quartiles divide a set of data into four quarters. They are denoted by Q1, Q2 and Q3.</p><p>Note that Q2 is just the median, while Q1 is called the lower quartile and Q3 the upper quartile. The lower quartile, the median and the upper quartile are also referred to as the 25th, 50th and 75th percentiles. The interquartile range is defined as (Q3 — Q1).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/306/0*SA_aHS905A911bYP.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*V0Hutl6GyKxMTi8x.png" /></figure><p><strong>Let’s take about Probability basics in detail<br></strong>Probability defines chances of occurrence of an event. For simplicity consider it as percentage of occurrence of event to happen. Let’s look at some of the terminology.</p><p><strong>Experiment</strong> : It could be something like tossing a coin, rolling a dice etc..</p><p><strong>Trial</strong> : Trial can be defined as each repetition of experiment.</p><p><strong>Outcome</strong> : When an experiment is performed, we will have outcome/result for each experiment trail.</p><p><strong>Event </strong>: Event is the collection of outcomes in an experiment.</p><h3>Central Limit Theorem</h3><p>If we take means of random samples from a distribution and we plot the means, the graph approaches to a normal distribution when we have taken sufficiently large number of such samples. The theorem also says that the mean of means will be approximately equal to the mean of sample means i.e. population mean.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/287/1*bCZgoNMfs7A7_qvgv-mcHg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eca5193aeca9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hypothesis Testing]]></title>
            <link>https://pavanvds-137.medium.com/hypothesis-testing-8c99e390a061?source=rss-591514883512------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c99e390a061</guid>
            <category><![CDATA[hypothesis]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[almabetter]]></category>
            <category><![CDATA[hypothesis-testing]]></category>
            <dc:creator><![CDATA[Dhongari Pavan]]></dc:creator>
            <pubDate>Wed, 07 Jul 2021 12:43:43 GMT</pubDate>
            <atom:updated>2021-07-07T12:43:43.326Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What is Hypothesis Testing?</strong></p><p>Hypothesis testing is an act in statistics whereby an analyst test an assumption regarding a population parameter. The methodology employed by the analyst depends on the nature of the data used and the reason for the analysis.</p><p><strong>How Hypothesis Testing works?</strong></p><p>In hypothesis testing, an analyst tests a statistical sample, with the goal of providing evidence on the plausibility of the null hypothesis. We use sample from the population to test two things.<br>1. NULL HYPOTHESIS<br>2. ALTERNATIVE HYPOTHESIS</p><p><strong>NULL HYPOTHESIS <br></strong>Null Hypothesis is generally called as status quo. It means that it is assumption about a population until and unless it is proven wrong.<br>Null Hypothesis is represented by <strong>H0</strong></p><p><strong>ALTERNATIVE HYPOTHESIS</strong> <br>Alternative Hypothesis is a claim which you made against status quo. When we say we want to reject null hypothesis it means that we want to accept alternative hypothesis. Alternative Hypothesis is represented by <strong>H1</strong> or <strong>HA.</strong></p><p>When we claim something, we need to prove it. For that reason we need test statistic, significance level, p value etc.. . Let’s explore them.</p><p><strong>Test Statistics and kind of test</strong></p><p><strong>Test Statistic<br></strong>We generally calculate test statistic in terms of z, chi square values. I hope everyone know what is a z value mean.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/0*dMMkBi0BR7DbBqVu.png" /><figcaption>calculating test statistic</figcaption></figure><p><strong>Kinds of test<br></strong>Depending on the arithmetic operator we use on alternative hypothesis, the kind of test changes. Let’s have a look at them in the below picture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6UiAh1nVfySmksXf.png" /></figure><p><strong>Significance Level<br></strong>Generally, significance level indicates amount of information required to reject null hypothesis. It is represented by alpha α. Alpha acts as a point between acceptance and rejection region.</p><p><strong>Critical Region<br></strong>Critical region is the set of points where we reject the null hypothesis.<br>For a normally distributed test statistic we have</p><ol><li>In a right-tailed test, the rejection region is the area under the curve for all values of Z-score &gt; the Z-score of α</li><li>In a left tailed test, the rejection region is the area under the curve for all values of Z-score &lt; the Z-score of α</li><li>In a two-tailed test, the rejection region is the area under the curve for all values of Z-score &lt; the Z-score of -α/2 and for all values of Z-score &gt; the Z-score of α/2</li></ol><p><strong>P value<br></strong>P value gives the probability of test statistic being in the rejection region. The lesser the P value, more the chances of rejecting null hypothesis.<br>If P value ≤ alpha(α) → we reject null hypothesis otherwise we accept null hypothesis.</p><h3>Type I and Type II Errors</h3><h3>Type I Error</h3><p>A Type I error is an error in which we reject a null hypothesis even though null hypothesis is true. This occurs when significance level is too large</p><h3>Type II Error</h3><p>A Type II error occurs when you fail to reject a null hypothesis even though null hypothesis is false. This occurs when significance level is too small.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MmifCnwgFRPcuPbl.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c99e390a061" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>