<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hypothesis Testing on Amit Rajan</title><link>https://amitrajan012.github.io/topics/hypothesis-testing/</link><description>Recent content in Hypothesis Testing on Amit Rajan</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 26 Nov 2018 07:26:51 +0530</lastBuildDate><atom:link href="https://amitrajan012.github.io/topics/hypothesis-testing/index.xml" rel="self" type="application/rss+xml"/><item><title>Hypothesis Testing (Part 6)</title><link>https://amitrajan012.github.io/post/detailed-hypothesis-testing_6/</link><pubDate>Mon, 26 Nov 2018 07:26:51 +0530</pubDate><guid>https://amitrajan012.github.io/post/detailed-hypothesis-testing_6/</guid><description>&lt;/br&gt;&#10;### Tests for Variances of Normal Populations :&#10;&lt;p&gt;Let \(X_1, X_2, ..., X_n\) be a simple random sample from a normal population given as \(N(\mu, \sigma^2)\). The sample variance \(s^2\) is given as:&lt;/p&gt;&#10;\[s^2 = \frac{1}{n-1}\sum_{i=1}^{n} (X_i - \overline{X})^2\]&lt;p&gt;Then the test statistic \(\frac{(n-1)s^2}{\sigma_0^2}\) follows a &lt;b&gt;chi-square distribution&lt;/b&gt; with \(n-1\) degrees of freedom. The null hypothesis can take any of the form:&lt;/p&gt;&#10;\[H_0: \sigma^2 \leq \sigma_0^2;\ \sigma^2 = \sigma_0^2;\ \sigma^2 \geq \sigma_0^2\]&lt;p&gt;&lt;b&gt;Example:&lt;/b&gt; To check the reliability of a scale in a butcher shop, a test weight known to weigh 400 grams was weighed 16 times. For the scale to be considered reliable, the variance of repeated measurements must be less than 1. The sample variance of the 16 measured weights was \(s^2\) = 0.81. Assume that the measured weights are independent and&#10;follow a normal distribution. Can we conclude that the population variance of the measurements is less than 1?&lt;/p&gt;</description></item><item><title>Hypothesis Testing (Part 5)</title><link>https://amitrajan012.github.io/post/detailed-hypothesis-testing_5/</link><pubDate>Sun, 25 Nov 2018 17:06:08 +0530</pubDate><guid>https://amitrajan012.github.io/post/detailed-hypothesis-testing_5/</guid><description>&lt;/br&gt;&#10;### Tests with Categorical Data :&#10;&lt;p&gt;A generalization of the Bernoulli trial is the &lt;b&gt;multinomial trial&lt;/b&gt;, which is an experiment that can rsult in any one of the \(k\) outcomes where \(k \geq 2\). Let the probabilities of the \(k\) outcomes be denoted by \(p_1, p_2, p_3, ..., p_k\) and the prespecified values be \(p _{01}, p _{02}, ..., p _{0k}\). We need to conduct a test to chek whether the probabilities are equal to the prespecified values or not. The null hypothesis will be&lt;/p&gt;</description></item><item><title>Hypothesis Testing (Part 4)</title><link>https://amitrajan012.github.io/post/detailed-hypothesis-testing_4/</link><pubDate>Sun, 25 Nov 2018 11:36:18 +0530</pubDate><guid>https://amitrajan012.github.io/post/detailed-hypothesis-testing_4/</guid><description>&lt;/br&gt;&#10;### Distribution-Free Tests :&#10;&lt;p&gt;The one assumption for the Student&amp;rsquo;s t tests performed above was the fact that the samples should come from the normal distribution. In &lt;b&gt;distribution-free tests&lt;/b&gt;, this restriction is relaxed, i.e. the samnples are not required to come from any specific distribution. Distribution-free tests are sometimes called as &lt;b&gt;nonparametric tests&lt;/b&gt;. Mainly, there are two types of distribution-free tests: &lt;b&gt;Wilcoxon signed-rank test&lt;/b&gt;(test for population mean) and &lt;b&gt;Wilcoxon rank-sum test / Mann-Whitney test&lt;/b&gt; (analogous to the two-sample t test).&lt;/p&gt;</description></item><item><title>Hypothesis Testing (Part 3)</title><link>https://amitrajan012.github.io/post/detailed-hypothesis-testing_3/</link><pubDate>Sat, 24 Nov 2018 01:08:17 +0530</pubDate><guid>https://amitrajan012.github.io/post/detailed-hypothesis-testing_3/</guid><description>&lt;/br&gt;&#10;### Tests for the Difference Between Two Means (Large-Sample) :&#10;&lt;p&gt;The basic idea to conduct the hypothesis test for difference between two means is to find the distribution for the difference of two means and test whether it is equal to 0 or not. Here is an example.&lt;/p&gt;&#10;&lt;p&gt;&lt;b&gt;Example:&lt;/b&gt; Suppose that a production manager for a manufacturer of industrial machinery is concerned that &lt;b&gt;ball bearings produced in environments with low ambient temperatures may have smaller diameters than those produced under higher temperatures&lt;/b&gt;. To investigate this concern, she samples 120 ball bearings that were manufactured early in the morning, before the shop was fully heated, and finds their mean diameter to be 5.068 mm and their standard deviation to be 0.011 mm. She independently samples 65 ball bearings manufactured during the afternoon and finds their mean diameter to be 5.072 mm and their standard deviation to be 0.007 mm. Can she conclude that ball bearings manufactured in the morning have smaller diameters, on average, than ball bearings manufactured in the afternoon?&lt;/p&gt;</description></item><item><title>Hypothesis Testing (Part 2)</title><link>https://amitrajan012.github.io/post/detailed-hypothesis-testing_2/</link><pubDate>Fri, 23 Nov 2018 19:38:29 +0530</pubDate><guid>https://amitrajan012.github.io/post/detailed-hypothesis-testing_2/</guid><description>&lt;/br&gt;&#10;### Tests for a Population Proportion :&#10;&lt;p&gt;The hypothesis testing for population proportion can be conducted in a similar manner. Here are some examples to depict it.&lt;/p&gt;&#10;&lt;p&gt;&lt;b&gt;Example:&lt;/b&gt; A supplier of semiconductor wafers claims that of all the wafers he supplies, no more than 10% are defective. A sample of 400 wafers is tested, and 50 of them, or 12.5%, are defective. Can we conclude that the claim is false?&lt;/p&gt;</description></item><item><title>Hypothesis Testing (Part 1)</title><link>https://amitrajan012.github.io/post/detailed-hypothesis-testing_1/</link><pubDate>Thu, 22 Nov 2018 09:17:41 +0530</pubDate><guid>https://amitrajan012.github.io/post/detailed-hypothesis-testing_1/</guid><description>&lt;/br&gt;&#10;&lt;b&gt;Hypothesis Testing&lt;/b&gt; is a method by which we can test an assumption made for a population parameter. For example, the statement $\mu &gt; 10$ is an assumption or &lt;b&gt;hypothesis&lt;/b&gt; about the population mean $\mu$. To check the validity of this hypothesis, we must conduct a &lt;b&gt;hypothesis test&lt;/b&gt;. Hypothesis tests are closely related to confidence intervals.&#10;&lt;p&gt;Prior to performing a hypothesis test, we need to formulate the &lt;b&gt;null&lt;/b&gt; and &lt;b&gt;alternate hypothesis&lt;/b&gt;. &lt;b&gt;Null hypothesis&lt;/b&gt; states that the effect indicated by the sample is only due to chance or random variation. The &lt;b&gt;alternate hypothesis&lt;/b&gt; indicates that the effect indicated by the sample is real and it accurately represents the whole population. For example, if we want to test that whether the population mean \(\mu &amp;gt; 10\) by analyzing the data from a sample, the null and alternate hypothesis will be:&lt;/p&gt;</description></item><item><title>Hypothesis testing</title><link>https://amitrajan012.github.io/post/hypothesis-testing/</link><pubDate>Mon, 29 Oct 2018 02:01:07 +0100</pubDate><guid>https://amitrajan012.github.io/post/hypothesis-testing/</guid><description>&lt;/br&gt;&#10;### Introduction :&#10;&lt;p&gt;&lt;b&gt;Hypothesis testing&lt;/b&gt; is a procedure that is used to determine that whether a made statistical statement (known as &lt;b&gt;hypothesis&lt;/b&gt;) is a reasonable one and should not be rejected, or is unreasonable and should be rejected. Hypothesis testing setup is initialized by formulating a &lt;b&gt;Null Hypothesis&lt;/b&gt; (\(H_0\)), which is the hypothesis associated with a contradiction to the theory that one would like to prove and &lt;b&gt;Alternate Hypothesis&lt;/b&gt; (\(H_A\)), which is the hypothesis associated with the theory that one would like to prove. Then an appropriate &lt;b&gt;test statistic&lt;/b&gt; and &lt;b&gt;level of significance&lt;/b&gt; is chosen.&lt;/p&gt;</description></item></channel></rss>