{"id":218,"date":"2018-07-10T05:12:12","date_gmt":"2018-07-10T05:12:12","guid":{"rendered":"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/?post_type=chapter&#038;p=218"},"modified":"2018-12-07T06:40:13","modified_gmt":"2018-12-07T06:40:13","slug":"basics-of-testing-of-hypothesis","status":"publish","type":"chapter","link":"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/chapter\/basics-of-testing-of-hypothesis\/","title":{"rendered":"Basics of Testing of Hypothesis"},"content":{"raw":"<div><span style=\"float: right\"><a href=\"https:\/\/youtu.be\/lYI3myeU3Es\" target=\"_blank\" rel=\"noopener\"><img src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"epgp books\" width=\"75px\" height=\"75px;\" \/><\/a>\r\n<\/span><\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<strong>Module Structure<\/strong>\r\n\r\n&nbsp;\r\n\r\nObjectives\r\n\r\nSummary\r\n\r\n&nbsp;\r\n\r\n1.\u00a0\u00a0\u00a0\u00a0\u00a0 Introduction\r\n<p style=\"padding-left: 30px\">1.1\u00a0\u00a0 Why Test Hypothesis?<\/p>\r\n<p style=\"padding-left: 30px\">1.2\u00a0 \u00a0Type of Hypothesis and Notation<\/p>\r\n<p style=\"padding-left: 30px\">1.3\u00a0\u00a0 Errors in Hypothesis and Testing<\/p>\r\n<p style=\"padding-left: 30px\">1.4\u00a0\u00a0 Empirical Test of Hypothesis<\/p>\r\n2.\u00a0\u00a0\u00a0\u00a0\u00a0 Z-test: An Explanation\r\n\r\n3.\u00a0\u00a0\u00a0\u00a0\u00a0 Procedure Involved in Testing og Hypothesis\r\n\r\n4.\u00a0\u00a0\u00a0\u00a0\u00a0 Examples with Different Methods\r\n\r\n5.\u00a0\u00a0\u00a0\u00a0\u00a0 Use of p-Value\r\n\r\n6.\u00a0\u00a0\u00a0\u00a0\u00a0 Z-test: \u03c3 is Unknown\r\n<p style=\"padding-left: 30px\">6.1\u00a0\u00a0 Procedure for t-Test<\/p>\r\n7.\u00a0\u00a0\u00a0\u00a0\u00a0 Difference between two Populations\r\n\r\n8.\u00a0\u00a0\u00a0\u00a0\u00a0 Tests about proportions\r\n<p style=\"padding-left: 30px\">8.1\u00a0\u00a0 Difference between Two Proportions<\/p>\r\n9.\u00a0\u00a0\u00a0\u00a0\u00a0 Tests about Correlation Coefficient\r\n\r\n10. Non-Parametric Tests\r\n<p style=\"padding-left: 30px\">10.1 Chi-Square Test Degrees of freedom<\/p>\r\n<p style=\"padding-left: 30px\">10.2\u00a0 Measures of Association<\/p>\r\n<p style=\"padding-left: 30px\">10.3\u00a0 Goodness-of-Fit Test<\/p>\r\n11.Conclusion References\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n<strong>OBJECTIVES<\/strong>\r\n\r\n&nbsp;\r\n\r\n\u2022\u00a0\u00a0\u00a0\u00a0\u00a0 To study an overview of testing of hypotheses\r\n\r\n\u2022\u00a0\u00a0\u00a0\u00a0\u00a0 To study procedure\/steps in testing of hypotheses and related concepts\r\n\r\n&nbsp;\r\n\r\n<strong>SUMMARY<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Most often, the research process is incomplete without testing of hypotheses. As such there are two types of hypotheses normally referred in statistical testing viz. Null Hypothesis and Alternative Hypothesis. A research process involves:<\/p>\r\n&nbsp;\r\n\r\n1.\u00a0\u00a0\u00a0\u00a0\u00a0 Identify the general problem(s);\r\n\r\n2.\u00a0\u00a0\u00a0\u00a0\u00a0 Conduct literature search;\r\n\r\n3.\u00a0\u00a0\u00a0\u00a0\u00a0 Decide the design methodology;\r\n\r\n4.\u00a0\u00a0\u00a0\u00a0\u00a0 Collect the data either for the population or for a sample;\r\n\r\n5.\u00a0\u00a0\u00a0\u00a0\u00a0 Analyze the data;\r\n\r\n6.\u00a0\u00a0\u00a0\u00a0\u00a0 Report the result; and\r\n\r\n7.\u00a0\u00a0\u00a0\u00a0\u00a0 Refine the hypotheses.\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">It is in step 1, we generally formulate the hypotheses and in step 5, we test the hypotheses. Based on the results of testing of hypotheses, we generalize the results. The Unit 19 discusses basically the z-test, t-test and the Chi Square test.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">1 INTRODUCTION<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">Statistical analysis aims at inferring about a population based on the information\/data contained in a sample. There are methods for making inferences which are usually based on statistical tests of hypotheses. Below we discuss only those aspects concerning testing of hypothesis.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">A hypothesis is a well-defined statement. However, the word hypothesis in science generally refers to a definite interpretation of a given set of facts, which is put forth as a tentative assumptions and remain partially or wholly unverified. A simple definition of hypothesis as given by Luniberg \u201cis a tentative generalisation, the validity of which remains to be tested. In this context testing of hypothesis, with relevant statistical data becomes important either to accept or reject the tentative assumption<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">1.1 Why Test Hypothesis?<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">Science does not accept anything as valid knowledge, until satisfactory tests confirm its validity. Therefore they need to be tested through research process for their acceptance or rejection. The hypothesis is normally tested by making use of a pre-defined assertion, rule which is applied to sample data and direct the research process in deciding to accept or reject the hypothesis. The process of testing hypothesis embodies the major part of research process. A hypothesis is tested on the basis of facts.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">1.2\u00a0 Types of Hypotheses and Notations<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">The two hypotheses in a statistical test are normally referred to as:<\/span><\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\na)\u00a0\u00a0\u00a0\u00a0\u00a0 Null Hypothesis, and\r\n\r\nb)\u00a0\u00a0\u00a0\u00a0 Alternative Hypothesis.\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">a) The Null Hypothesis is a very useful tool in testing the significance of difference. In its simple form, the hypothesis asserts that there is no true difference in the sample and population in particular matter under consideration and that thedifference found is accidental, unimportant, arising out of fluctuations of sampling. A simple definition of hypothesis is that it is a hypothesis which is being tested.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">b) The Alternative hypothesis specifies those values that the researcher considers to be true, and hopes that the sample data leads to acceptance of this whole hypothesis as true. In other words, when a null hypothesis is rejected, then alternative hypothesis is likely to be accepted. For example,<\/span><\/p>\r\n\r\n<\/div>\r\n<div><\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\nH0: \u00b5 = \u00b50\r\n\r\nH1: \u00b5 \u2260 \u00b50\r\n<p style=\"text-align: justify\">where \u00b5 is the population mean and \u00b50 is the hypothesised value of the population mean.<\/p>\r\n&nbsp;\r\n\r\n<strong>1.3\u00a0 Errors in Hypothesis Testing<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">When accepting or rejecting a null hypothesis, we may commit an error. For instance, we may reject <strong>H<\/strong><strong>o<\/strong> when it is correct; and accept <strong>H<\/strong><strong>o<\/strong> when it is not correct. These two errors are called Type I error and Type II error respectively. The probability of making a Type I error is denoted by \u03b1. The probability of making a Type II error is denoted as \u03b2. This is shown in the tabular form as below:<\/p>\r\n&nbsp;\r\n<table class=\"aligncenter\" border=\"1\">\r\n<tbody>\r\n<tr>\r\n<td><strong>Conclusion of the Test<\/strong><\/td>\r\n<td><strong>H<\/strong><strong>0<\/strong><strong>\u00a0 True<\/strong><\/td>\r\n<td><strong>H<\/strong><strong>0<\/strong><strong>\u00a0 False<\/strong><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Accept H0<\/td>\r\n<td>Correct<\/td>\r\n<td>Wrong (Type II Error)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Reject H0<\/td>\r\n<td>Wrong (Type I Error)<\/td>\r\n<td>Correct<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\r\n<div><\/div>\r\n<div><strong style=\"text-align: initial;font-size: 1em\">1.4\u00a0 Empirical Test of Hypothesis<\/strong><\/div>\r\n<div>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">For the purpose of understanding the testing of hypotheses, let us discuss an experimental situation. Consider a condition of verifying the manufacturer\u2019s statement about its product. For example, let us take a case of investigating the container weights specified on the labels of wheat products of the manufacturer. In order to demonstrate the hypothesis testing procedure, let us show how a test on label accuracy could be made for the company\u2019s 2 kg packet of wheat flour.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">The first assumption is that labels are correct. This assumption or hypothesis is subjected to a test by providing evidence regarding the truth of the claim or assumption. There are three possibilities in the case of 2 k.g. wheat flour packets. It is possible that the mean weight for the population of 2 kg packets could be;<\/p>\r\n&nbsp;\r\n\r\ni)\u00a0 \u00a0 \u00a0 \u2265 2 kg or\r\n\r\nii)\u00a0\u00a0\u00a0 \u2264\u00a0 2 kg or\r\n\r\niii)\u00a0 =\u00a0 2 kg.\r\n\r\n<\/div>\r\n<div>\r\n<p style=\"text-align: justify\">In this situation, we have to determine whether or not the population mean (of wheat flour packets) <strong>\u00b5<\/strong> <strong>=<\/strong> <strong>\u00b5<\/strong><strong>0<\/strong> <strong>(say, 2).<\/strong> How to determine? This is discussed below:<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">A statement like <strong>\u00b5<\/strong> <strong>=<\/strong> <strong>\u00b5<\/strong><strong>0<\/strong> <strong><em>or<\/em><\/strong> <strong>\u00b5<\/strong> <strong>\u2265<\/strong> <strong>\u00b5<\/strong><strong>0<\/strong> <strong>or<\/strong> <strong>\u00b5<\/strong> <strong>\u2264<\/strong> <strong>\u00b5<\/strong><strong>0<\/strong> is called a hypothesis. As said in section 1.2, a hypothesis that is being tested is called the <strong>Null hypothesis<\/strong>. It is denoted by <strong>H<\/strong><strong>o<\/strong><strong>.<\/strong> The hypothesis that we are willing to accept if we do not accept the null hypothesis is called the <strong>Alternative hypothesis.<\/strong> The two hypotheses, the Null Hypothesis <em>(<\/em><strong>H<\/strong> <strong>o<\/strong><strong>)<\/strong> and the Alternative Hypothesis (<strong>H<\/strong><strong>1<\/strong> <strong>)<\/strong> are so constructed that if one is correct the other is wrong. It is denoted by <strong>H<\/strong><strong>1<\/strong> <strong>.<\/strong> Generally, the Null Hypothesis and Alternative Hypothesis for testing the mean will be shown in the following forms:<\/p>\r\n&nbsp;\r\n<table class=\"aligncenter\" border=\"1\">\r\n<tbody>\r\n<tr>\r\n<td><\/td>\r\n<td><\/td>\r\n<td>Null Hypothesis<\/td>\r\n<td><\/td>\r\n<td>Alternative Hypothesis<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u2022<\/td>\r\n<td>Case 1:<\/td>\r\n<td>H0 : <strong>\u00b5<\/strong> <strong>\u2265<\/strong> <strong>\u00b5<\/strong><strong>0<\/strong><\/td>\r\n<td><strong>or<\/strong><\/td>\r\n<td>H1 : <strong>\u00b5<\/strong> <strong>&lt;<\/strong> <strong>\u00b5<\/strong><strong>0<\/strong><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u2022<\/td>\r\n<td>Case 2:<\/td>\r\n<td>H0 : <strong>\u00b5<\/strong> <strong>\u2264<\/strong> <strong>\u00b5<\/strong><strong>0<\/strong><\/td>\r\n<td><strong>or<\/strong><\/td>\r\n<td>H1 : <strong>\u00b5<\/strong> <strong>&gt;<\/strong> <strong>\u00b5<\/strong><strong>0<\/strong><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u2022<\/td>\r\n<td>Case 3:<\/td>\r\n<td>H0 : <strong>\u00b5<\/strong> <strong>=<\/strong> <strong>\u00b5<\/strong><strong>0<\/strong><\/td>\r\n<td><strong>or<\/strong><\/td>\r\n<td>H1 : <strong>\u00b5 \u2260 \u00b5<\/strong><strong>0<\/strong><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n&nbsp;\r\n<p style=\"text-align: justify\">In establishing the critical value for a particular hypothesis testing situation, we always assume that the <strong>H<\/strong><strong>o<\/strong> <strong>holds as equality<\/strong>. This allows us to control the maximum probability of Type I error. Thus, in cases 1-3 above, the null hypotheses may be treated as H0: <strong>\u00b5<\/strong> <strong>=<\/strong> <strong>\u00b5<\/strong><strong>0.<\/strong> Now with an assumption that the null hypothesis is true, let us select a sample from the population. If the sample results do not differ significantly from the <strong>assumed null hypothesis, we accept H<\/strong><strong>0<\/strong> <strong>as being true. If the<\/strong> <strong>sample results differ <\/strong>significantly from the hypothesis, we reject<strong> H<\/strong><strong>0<\/strong> and conclude that the alternate hypothesis <strong>H<\/strong><strong>1<\/strong> is true.<\/p>\r\n&nbsp;\r\n\r\n<strong>2\u00a0\u00a0\u00a0\u00a0 Z-TEST: AN EXPLANATION<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">In z-test, the distribution of the test statistic under the null hypothesis is approximated by a normal distribution. From the central limit theorem, we know that the sample mean \u00a0follows normal distribution with mean \u00b5 and standard<\/p>\r\n&nbsp;\r\n\r\n<img class=\"alignnone wp-image-221\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-110.png\" alt=\"\" width=\"700\" height=\"167\" \/>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignnone wp-image-222\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-111.png\" alt=\"\" width=\"711\" height=\"610\" \/>\r\n<p style=\"text-align: justify\">So, while testing a hypothesis, if the computed value of z is greater than | z\u03b1\/2 | (if \u03b1 = 0.05, |z\u03b1\/2| = 1.96), the value of z falls in the critical region. Hence we reject Ho<em>.<\/em> In other words, if the experiment is conducted a number of times and follow the test procedure mentioned above, it is likely that 5% of the times, we may commit Type I error \u2014 rejecting Ho when it should have been accepted. While computing the value of z from the sample data, we may use the sample standard deviation instead of <em>z<\/em> which is usually unknown.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Most often, as mentioned earlier, we test the null hypothesis <strong>H<\/strong><strong>o<\/strong><strong>: \u00b5 = \u00b5<\/strong><strong>0<\/strong> against one of the following alternative hypothesis:<\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n<strong>1)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><strong>H <\/strong><strong>1<\/strong><strong> : \u00b5 &lt; \u00b5<\/strong><strong>0<\/strong>\r\n\r\n<strong>2)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><strong>H <\/strong><strong>1<\/strong><strong> : \u00b5 &gt; \u00b5<\/strong><strong>0<\/strong>\r\n\r\n<strong>3)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><strong>H <\/strong><strong>1<\/strong><strong> : \u00b5 \u2260 \u00b5<\/strong><strong>0<\/strong>\r\n\r\n&nbsp;\r\n\r\nIn such cases, the critical values (\u00b1z\u03b1 or \u00b1z\u03b1\/2) are given by:\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Further, if H 1 : \u00b5 &lt; \u00b50 or H 1 : \u00b5 &gt; \u00b50 , the test is also called one-sided test; otherwise, it is called two-sided test. The critical regions for the above three alternative hypotheses are shown in the following figures.<\/p>\r\n&nbsp;\r\n\r\n<img class=\"alignnone wp-image-223\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-112.png\" alt=\"\" width=\"736\" height=\"819\" \/>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignnone wp-image-224\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-113.png\" alt=\"\" width=\"652\" height=\"185\" \/>\r\n\r\n<img class=\"alignnone wp-image-225\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-114.png\" alt=\"\" width=\"639\" height=\"348\" \/>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<strong>2.1 A Confidence Interval Approach to Test a Hypothesis of the Form H<\/strong><strong>0<\/strong><strong>: \u03bc = \u03bc<\/strong><strong>0<\/strong>\r\n\r\n<strong>H<\/strong><strong>1<\/strong><strong>: \u03bc \u2260 \u03bc<\/strong><strong>0<\/strong>\r\n\r\n<img class=\"alignnone wp-image-226\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-115.png\" alt=\"\" width=\"662\" height=\"130\" \/>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<strong>3\u00a0\u00a0\u00a0\u00a0 PROCEDURE INVOLVED IN TESTING OF HYPOTHESES<\/strong>\r\n\r\n&nbsp;\r\n\r\nThe following steps are involved in a test of significance:\r\n\r\n&nbsp;\r\n\r\n<strong>Step 1: <\/strong>Formulate the null and alternative hypotheses. For example:\r\n\r\n<\/div>\r\n<div>\r\n<table class=\"aligncenter\" border=\"1\">\r\n<tbody>\r\n<tr>\r\n<td>a) H0 : \u03bc \u2265 \u03bc0<\/td>\r\n<td>H1 : \u03bc &lt; \u03bc0 or<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>b) H0 : \u03bc \u2264 \u03bc0<\/td>\r\n<td>H1 : \u03bc &gt; \u03bc0 or<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>c) H0 : \u03bc = \u03bc0<\/td>\r\n<td>H1 : \u03bc \u2260 \u03bco.<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>Step 2: <\/strong>Fix the value of \u03b1; that is, deciding, the level of significance. Usually, we fix \u03b1 = 0.5 or \u03b1 = 0.01.<\/p>\r\n&nbsp;\r\n\r\n<img class=\"alignnone wp-image-227\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-116.png\" alt=\"\" width=\"682\" height=\"466\" \/>\r\n\r\n<strong>4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><strong>EXAMPLES WITH DIFFERENT METHODS:<\/strong>\r\n\r\n<strong>\u00a0<\/strong>\r\n\r\n<strong>a)\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><strong>Example 1<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Consider a sample of 36 Units; sample mean ( ) is 2.92 and is 0.18. Test whether <strong>H<\/strong><strong>0<\/strong> <strong>:<\/strong> <strong>\u03bc \u2265 \u03bc<\/strong><strong>0<\/strong> <strong>H<\/strong><strong>1<\/strong> <strong>:<\/strong> <strong>\u03bc<\/strong> <strong>&lt;<\/strong> <strong>\u03bc<\/strong><strong>0<\/strong><strong>; \u00b5<\/strong><strong>0<\/strong> <strong>= 3.<\/strong><\/p>\r\n&nbsp;\r\n\r\n<strong><em>Method 1:<\/em><\/strong>\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignnone size-full wp-image-228\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-117.png\" alt=\"\" width=\"398\" height=\"38\" \/>\r\n\r\n<\/div>\r\n<div>\r\n\r\n\u00a0 \u00a0 Basics of Testing of Hypotheses\r\n\r\n&nbsp;\r\n\r\nc = \u00b50 - z\u03b1\/2 \u00a0= 3.0 -2.33*0.03 = 2.93.\r\n\r\n&nbsp;\r\n\r\nSince \u00a0(= 2.92) &lt; c (2.93), reject H0 that it is \u00b5 \u2265 3.\r\n\r\n&nbsp;\r\n\r\n<strong><em>Method 2<\/em><\/strong>\r\n\r\n&nbsp;\r\n\r\nLet \u03b1 = 0.01 and |z\u03b1\/2| = 2.57; \u00a0= 0.18\/ = 0.03. Then\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignnone size-full wp-image-229\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-118.png\" alt=\"\" width=\"510\" height=\"450\" \/>\r\n\r\n<strong>5\u00a0\u00a0\u00a0\u00a0 USE OF P-VALUE<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">In statistical significance testing the <strong><em>p<\/em>-value<\/strong> is the probability of obtaining a test statistic at least as extreme as the one that was actually observed, assuming that the null hypothesis is true; the p-value is the smallest value of \u03b1 for which the given sample outcome would lead to accepting H0. The decision rule is to accept H0 if the p-value \u2265 \u03b1 and reject H0 if p- value &lt; \u03b1. In the Example 1, above, the p-value is 0.0038 (i.e., P ( &gt; 2.92) which is also equivalent to P(z \u2265 2.66)); the p-value is &lt; \u03b1 and thus it leads to rejecting H0.<\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n<img class=\"alignnone wp-image-230\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-119.png\" alt=\"\" width=\"718\" height=\"597\" \/>\r\n\r\n&nbsp;\r\n\r\n<strong>6.1<\/strong>\r\n\r\n<strong>Procedure for t-test<\/strong>\r\n\r\n&nbsp;\r\n\r\n<strong><em>Step 1<\/em><\/strong><em>: <\/em>Formulate the null and alternative hypotheses. For example,\r\n\r\n&nbsp;\r\n<table class=\"aligncenter\" border=\"1\">\r\n<tbody>\r\n<tr>\r\n<td>a) H0 : \u03bc \u2265 \u03bc0<\/td>\r\n<td>H1 : \u03bc &lt; \u03bc0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>b) H0 : \u03bc \u2264 \u03bc0<\/td>\r\n<td>H1 : \u03bc &gt; \u03bc0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>c) H0 : \u03bc = \u03bc0<\/td>\r\n<td>H1 : \u03bc \u2260 \u03bc0.<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>Step 2<\/strong><em>:<\/em> Decide the level of significance (\u03b1) and determine the critical values for a given degree of freedom from the <em>t<\/em>-table. For (a) and (b), the critical value is given by | t\u03b1| such that P(|t| \u2264 |t\u03b1|)= l - \u03b1 . For (a), the critical values are given by at | t \u03b1 \/ 2 | such that <em>P<\/em>(<em>t<\/em> \u2264| <em>t<\/em><em>\u03b1<\/em> \/ 2 |)= 1 \u2212 <em>\u03b1<\/em> .<\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n<img class=\"alignnone wp-image-231\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-120.png\" alt=\"\" width=\"736\" height=\"95\" \/>\r\n\r\n&nbsp;\r\n\r\nStep 4: Accept the null hypothesis if <em>t<\/em> is less than the critical value; otherwise reject the null hypothesis.\r\n\r\n&nbsp;\r\n\r\n7.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <strong>Test of Difference between Two Population Means<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Let us now deal with two populations for which standard deviations (\u03c31 and \u03c32) are known. However, the means (\u00b51 and \u00b5 2) are not known. Under the circumstances, can we test whether or not \u00b51 = \u00b5 2; i.e., \u00b51 - \u00b52 = 0? So in such cases, usually we would like to test<\/p>\r\n&nbsp;\r\n\r\nHo : \u00b51 - \u00b52 <em>= D<\/em><em>o<\/em> against a specified alternative hypothesis. It may be any one of the following:\r\n\r\n&nbsp;\r\n\r\nH1 : \u00b51 - \u00b52 \u2260 Do\r\n\r\nH1 : \u00b51 - \u00b52 &gt; Do\r\n\r\nH1 : \u00b51 - \u00b52 &lt; Do\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">If <em>D<\/em><em>o<\/em>=0, we are actually testing whether or not \u00b51 = \u00b52<em>.<\/em> To test whether or not Ho is true against a specified H1 we consider the difference between <em>x<\/em>1 and <em>x<\/em>2 and their distribution in repeated samples. It has been shown in the probability theory that for repeated independent randomly drawn samples, <em>x<\/em>1 \u2212 <em>x<\/em>2 follows a normal<\/p>\r\n\r\n<\/div>\r\n<img class=\"alignnone wp-image-232\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-121.png\" alt=\"\" width=\"645\" height=\"403\" \/>\r\n<p style=\"text-align: justify\"><span style=\"text-align: justify;font-size: 1em\">Thus, we can use the <\/span><em style=\"text-align: justify;font-size: 1em\">z<\/em><span style=\"text-align: justify;font-size: 1em\">-test to test the null hypothesis. The procedure is similar to the z-test explained earlier. If X1 and X2 follow normal distributions and if and \u03c31 and \u03c32 are unknown, for small samples, we can use the <\/span><em style=\"text-align: justify;font-size: 1em\">t<\/em><span style=\"text-align: justify;font-size: 1em\">-test. That is,\u00a0<\/span><em style=\"text-align: initial;font-size: 1em\">t<\/em><span style=\"text-align: initial;font-size: 1em\">-statistic in this case has n1 + n2 - 2 degrees of freedom. However, for large samples, even if \u03c31 and \u03c3 2 are unknown, we can use the <\/span><em style=\"text-align: initial;font-size: 1em\">z<\/em><span style=\"text-align: initial;font-size: 1em\">-test. In this case, we use s1 and s2 instead of \u03c31 and \u03c32. That is,<\/span><\/p>\r\n\r\n<div>\r\n\r\n<img class=\"alignnone wp-image-233\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-122.png\" alt=\"\" width=\"730\" height=\"466\" \/>\r\n\r\n&nbsp;\r\n\r\n<strong>8\u00a0\u00a0\u00a0\u00a0 TESTS ABOUT PROPORTIONS<\/strong>\r\n\r\n<img class=\"alignnone wp-image-234\" style=\"text-align: initial;font-size: 1em\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-123.png\" alt=\"\" width=\"739\" height=\"307\" \/>\r\n<p style=\"text-align: justify\"><span style=\"text-align: justify;font-size: 1em\">is a standardized normal variate, wherein <\/span><em style=\"text-align: justify;font-size: 1em\">p<\/em><span style=\"text-align: justify;font-size: 1em\"> is the proportion of successes in a sample. Hence, to test the null hypothesis, we can use z-test as discussed above. The procedure involved in testing <\/span><em style=\"text-align: justify;font-size: 1em\">H<\/em><em style=\"text-align: justify;font-size: 1em\">o<\/em><span style=\"text-align: justify;font-size: 1em\"> is given below.<\/span><\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n<strong>Step 1<\/strong>: Formulate the null and alternative hypothesis; for instance\r\n\r\n&nbsp;\r\n\r\nH o : P = P o\u00a0 H 1 : P\u2260 P o\r\n\r\nH o : P \u2265 P o H 1 : P&lt; P o\r\n\r\nH o : P \u2264 P o H 1 : P&gt; P o\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>Step 2<\/strong>: Fix the \u03b1 value and then determine the critical value from the normal distribution table. | Z\u03b1\/2, | = 1.96 and 2.58 for \u03b1 = 0.05 and 0.01 respectively. | Z\u03b1 | = 1.64 and 2.33 for \u03b1 = 0.05 and 0.01 respectively.<\/p>\r\n&nbsp;\r\n\r\n<strong>Step 3<\/strong>: Compute p and q (= 1<em>-<\/em>p) for the sample data.\r\n\r\n<img class=\"alignnone size-full wp-image-235\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-124.png\" alt=\"\" width=\"502\" height=\"72\" \/>\r\n\r\n&nbsp;\r\n\r\n<strong>Step 5<\/strong>: For two-sided test, case (a). That is, reject <em>H<\/em><em>o<\/em> if |z| &gt; |z\u03b1\/2|.\r\n\r\nFor one-sided test, case (b): Reject <em>H<\/em><em>o<\/em> if z &gt; z\u03b1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 and\r\n\r\nFor one-sided test, case (c): Reject <em>H<\/em><em>o<\/em> if z &lt; - z\u03b1\r\n\r\n&nbsp;\r\n\r\n<strong>8.1 Difference between Two Proportions<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">A general hypothesis that is tested regarding the theoretical proportion of successes (in two sample cases) is that H o :P 1 - P 2 =P o against a specified alternative hypothesis. The alternative hypothesis may be any one of the following:<\/p>\r\n&nbsp;\r\n<table class=\"aligncenter\" border=\"1\">\r\n<tbody>\r\n<tr>\r\n<td>H1 : P1<\/td>\r\n<td>- P2 \u2260 P0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>H1 : P1<\/td>\r\n<td>- P2 &gt; P0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>H1 : P1<\/td>\r\n<td>- P2 &lt; P0<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p style=\"text-align: justify\">To test whether or not H o is true against a specified H 1 , we consider the difference P 1 and P 2 and their distribution in repeated samples. It has been shown in the probability theory for repeated independent randomly drawn samples, that P 1 - P 2 follows a normal distribution with mean P 1 - P 2 and variance<\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n<img class=\"alignnone wp-image-236\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-125.png\" alt=\"\" width=\"734\" height=\"617\" \/>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\"><em>n <\/em>is the size of the sample, <em>x<\/em> and <em>y<\/em> are the sample means of<em> X <\/em>and<em> Y <\/em>respectively.<em> s<\/em><em>x<\/em> and<em> s <\/em><em>y<\/em> are the sample standard deviations of<em> X <\/em>and<em> Y <\/em>respectively. We may like to test the null hypothesis that \u03c1 = 0 (where \u03c1 is the population correlation coefficient) against a specified alternative hypothesis. We are actually using <em>r<\/em> to test the hypothesis about \u03c1 since <em>r<\/em> is an estimate of \u03c1<em>.<\/em> The testing is usually done by determining the calculated value of <em>r<\/em> as significantly different from zero. This can be done by using a <em>t<\/em>-test. For the purpose of testing the null hypothesis, the follow-ing <em>t<\/em>-statistic is computed<\/p>\r\n&nbsp;\r\n\r\n<img class=\"size-full wp-image-237 aligncenter\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-126.png\" alt=\"\" width=\"109\" height=\"70\" \/>\r\n<p style=\"text-align: justify\"><span style=\"font-size: 1em;text-align: justify\">where the <\/span><em style=\"font-size: 1em;text-align: justify\">t<\/em><span style=\"font-size: 1em;text-align: justify\">-statistic is with (<\/span><em style=\"font-size: 1em;text-align: justify\">n<\/em><span style=\"font-size: 1em;text-align: justify\">\u20142) degrees of freedom. If the calculated value lies in the critical region, we have to reject the null hypothesis. If we accept the null hypothesis it means that there is no correlation between the two variables other than that due to chance.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">10\u00a0 NON-PARAMETRIC TESTS<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">The use of t-test or z-test requires an assumption that the sample data come from a normal or binomial population (or at least, the sample distribution must tend to a normal distribution for a large sample). Both the z-test and t-test are used to test the null hypothesis concerned with population means, variances and proportions. Hypotheses related to the independence of two criteria of classification, goodness-of-fit test, median of the population, etc. can be tested using the statistical tests called non-parametric tests. The non-parametric tests do not require many assumptions (like the <\/span><em style=\"font-size: 1em\">z<\/em><span style=\"font-size: 1em\">-test and <\/span><em style=\"font-size: 1em\">t<\/em><span style=\"font-size: 1em\">-test). A non-parametric tests is discussed below.<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">10.1 <\/span><strong style=\"text-align: initial;font-size: 1em\">Chi-Square Test<\/strong><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">The Chi Square test is normally applicable in situations in which determination of population parameters such as the mean and standard deviation are not an issue. The data in question falling into discrete categories and are presented in a contingency table. The entries in a contingency table are known cells. Let us consider the result of a survey of 100 adults (say, 50 females and 50 males). Let us say that it has been observed that among the 100 adults, 34 of them are library users and the rest are non-users. So, in this hypothetical example, we have two nominal variables sex and library use. On categorizing the 100 adults, using these two nominal variables, we get a contingency table like the one shown in Table below:<\/span><\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">A Typical 2 x 2 Table<\/strong><\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n<img class=\"alignnone size-full wp-image-238\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-127.png\" alt=\"\" width=\"320\" height=\"191\" \/>\r\n<p style=\"text-align: justify\"><span style=\"text-align: justify;font-size: 1em\">Let us now try to find out whether or not the two categories\u2014gender (Male or Female) and library use\u2014are independent; let us assume that there is no rela-tionship between the gender and library use. Under this assumption, compute the frequencies in each of the cells. Such frequencies are called <\/span><em style=\"text-align: justify;font-size: 1em\">theoretical frequencies.<\/em><span style=\"text-align: justify;font-size: 1em\"> They are usually referred to as the expected numbers or expected frequencies. The logic for computation of the theoretical frequencies for the data given in the above Table is as follows:<\/span><\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">We have 50 each of males and females; the ratio is 1:1. So we would expect that half of the library users are males and also half of the non-users are males, that is, out of 100 adults (<em>N<\/em>) we have 50 males (row total). Out of 34 users (column total), how many of them are males?<\/p>\r\n&nbsp;\r\n\r\nUsing the cross multiplication technique, we have:\r\n<p style=\"text-align: justify\">The number of male users = <span style=\"text-decoration: underline\">50 \u00d7 34<\/span> = 17 .<\/p>\r\n100\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Similarly, we can compute the number of male non-users, female users and female non-users. The results are shown in bold face in the corresponding cells in Table 8.1. On generalizing the above logic, we can easily prove that the following formula can be used to obtain theoretical frequencies <em>( E<\/em> <em>i j<\/em> <em>)<\/em> in each of the cells:<\/p>\r\n<em>E<\/em>\u00a0\u00a0\u00a0\u00a0\u00a0 =\u00a0 <span style=\"text-decoration: underline\"><em>r<\/em><em>i<\/em> . \u00d7<em> c<\/em>. <em>j<\/em><\/span>\r\n\r\n<em>ij<\/em>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <em>N<\/em>\r\n\r\n&nbsp;\r\n\r\n<em>r<\/em><em>i<\/em><em>. <\/em>is the total number of observations in the ith row\r\n\r\n&nbsp;\r\n\r\ncij is the total number of observations in the jth column\r\n\r\n&nbsp;\r\n\r\nEij is the expected\/theoretical frequencies in the ijth cell (ith row and jth column).\r\n\r\n&nbsp;\r\n\r\n<strong>Degree of Freedom<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Degrees of freedom are commonly discussed in relation to chi- square and other forms of hypothesis testing statistics. It is important to calculate the degree(s) of freedom when determining the significance of a chi square statistic and the validity of the null hypothesis. It is obvious that the theoretical frequencies need not necessarily be equal to the observed frequencies. If they are equal, one could perhaps conclude that there is no relationship between the two variables. If they\u00a0<span style=\"font-size: 1em;text-align: initial\">are not equal, the question is, \"Is the difference between the observed and expected frequencies statistically significant?\" To answer this question, we use a<\/span><\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n<img class=\"alignnone wp-image-239\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-128.png\" alt=\"\" width=\"760\" height=\"678\" \/>\r\n\r\n&nbsp;\r\n\r\n10.2\u00a0\u00a0\u00a0\u00a0 <strong>Measures of Association<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">The statistical significance of the null hypothesis depends both on the strength of the observed relationship and the size of the sample. Tests of statistical significance indicate only the likelihood that an observed relationship actually exists in the universe; but they do not reveal the fact as to how strong the relationship is. Further, a relationship may be statistically significant being substantially important.<\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\nThere are a few measures that will describe the strength of the association between two nominal variables. They are:\r\n\r\n<img class=\"alignnone wp-image-240\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-129.png\" alt=\"\" width=\"690\" height=\"488\" \/>\r\n\r\n&nbsp;\r\n\r\n10.3\u00a0\u00a0\u00a0\u00a0 <strong>Goodness-of-Fit Test<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">The chi-square statistic is also used to test the hypothesis that whether or not the probability distribution (of the population) is similar to that of the sample distribution. This type of test is often referred to as a goodness -of-fit test. The goodness-of-fit test is illustrated with following example. Examine whether or not the distribution of transactions follows a negative binomial distribution for the data shown below.<\/p>\r\n\r\n<table class=\"aligncenter\" border=\"1\">\r\n<tbody>\r\n<tr>\r\n<td>x<\/td>\r\n<td>f(x)<\/td>\r\n<td>x<\/td>\r\n<td>f(x)<\/td>\r\n<td>x<\/td>\r\n<td>f(x)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>0<\/td>\r\n<td>324<\/td>\r\n<td>3<\/td>\r\n<td>16<\/td>\r\n<td>6<\/td>\r\n<td>2<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>1<\/td>\r\n<td>108<\/td>\r\n<td>4<\/td>\r\n<td>7<\/td>\r\n<td>7<\/td>\r\n<td>1<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>2<\/td>\r\n<td>43<\/td>\r\n<td>5<\/td>\r\n<td>4<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\r\n<div>\r\n\r\nWe will use the goodness-of-fit test for this purpose. The procedure is:\r\n\r\n&nbsp;\r\n\r\n<strong>Step 1: <\/strong>Formulate the null and alternative hypothesis.\r\n\r\n&nbsp;\r\n\r\n<em>H<\/em><em>o<\/em>: The sample data belongs to a population which follows a negative binomial distribution.\r\n\r\n&nbsp;\r\n\r\n<em>H<\/em><em>1<\/em>: The sample data belongs to a population which does not follow a negative binomial distribution.\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>Step 2: <\/strong>Compute the parameters (such as mean, variance, etc.); estimate the parameters of the theoretical probability distribution (which is assumed in the null hypothesis). Use, as far as possible, the maximum likelihood estimators.<\/p>\r\n&nbsp;\r\n\r\n<strong>Step 3: <\/strong>Compute the probabilities under the assumption that the <em>H<\/em><em>o<\/em> is true.\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>Step 4: <\/strong>Compute the theoretical or expected frequencies (use the formula, that expected frequency is equal to <em>n<\/em><em>\u22c5<\/em><em>P(x),<\/em> where <em>n<\/em> is the sample size, and <em>P(x)<\/em> is the theoretical probability distribution function). In this case, <em>P(x)<\/em> is the mass function of the negative binomial distribution.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>Step 5<\/strong>: Decide \u03b1 and determine the critical region (for \u03b1 = 0.05). Find out <em>X<\/em><em>2<\/em> for <em>(k \u2014 <\/em>1) degrees of freedom;<em> k <\/em>is the number of frequency classes.<\/p>\r\n\r\n<\/div>\r\n<img class=\"alignnone wp-image-241\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-130.png\" alt=\"\" width=\"717\" height=\"369\" \/>\r\n<div>\r\n\r\n<img class=\"alignnone wp-image-242\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-131.png\" alt=\"\" width=\"736\" height=\"562\" \/>\r\n\r\n<span style=\"text-align: initial;font-size: 1em\">11.\u00a0<\/span><strong style=\"text-align: initial;font-size: 1em\">Conclusion<\/strong>\r\n\r\n<\/div>\r\n<div>\r\n\r\nIn this Unit, we have discussed the basics of z-test, t-test and chi square test.\r\n\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td><strong>you can view video on Basics of Testing of Hypothesis<\/strong><\/td>\r\n<td><a href=\"https:\/\/youtu.be\/lYI3myeU3Es\" target=\"_blank\" rel=\"noopener\"><img class=\"alignnone wp-image-120\" src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"\" width=\"36\" height=\"36\" \/><\/a><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<strong>REFERENCES<\/strong>\r\n\r\n&nbsp;\r\n<ul>\r\n \t<li style=\"text-align: justify\">Anderson, David R.; Sweepney, Dennis J; and Williams, Thomas. A. (1981) Statistics for Bussiness and Economics. Edition 2. International Edition. West Publishing Company. SanFrancisco.<\/li>\r\n \t<li style=\"text-align: justify\">Ravichandra Rao, I.K. (1983) Quantitative Methods for Library and Information Science. Wiley Eastern. New Delhi.<\/li>\r\n \t<li style=\"text-align: justify\">Yule, G.H. and Kendall, M.G. (1950) An introduction to theory of statistics. London, Charles Griffin and Company.<\/li>\r\n<\/ul>\r\n<\/div>","rendered":"<div><span style=\"float: right\"><a href=\"https:\/\/youtu.be\/lYI3myeU3Es\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"epgp books\" width=\"75px\" height=\"75px;\" \/><\/a><br \/>\n<\/span><\/div>\n<div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Module Structure<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Objectives<\/p>\n<p>Summary<\/p>\n<p>&nbsp;<\/p>\n<p>1.\u00a0\u00a0\u00a0\u00a0\u00a0 Introduction<\/p>\n<p style=\"padding-left: 30px\">1.1\u00a0\u00a0 Why Test Hypothesis?<\/p>\n<p style=\"padding-left: 30px\">1.2\u00a0 \u00a0Type of Hypothesis and Notation<\/p>\n<p style=\"padding-left: 30px\">1.3\u00a0\u00a0 Errors in Hypothesis and Testing<\/p>\n<p style=\"padding-left: 30px\">1.4\u00a0\u00a0 Empirical Test of Hypothesis<\/p>\n<p>2.\u00a0\u00a0\u00a0\u00a0\u00a0 Z-test: An Explanation<\/p>\n<p>3.\u00a0\u00a0\u00a0\u00a0\u00a0 Procedure Involved in Testing og Hypothesis<\/p>\n<p>4.\u00a0\u00a0\u00a0\u00a0\u00a0 Examples with Different Methods<\/p>\n<p>5.\u00a0\u00a0\u00a0\u00a0\u00a0 Use of p-Value<\/p>\n<p>6.\u00a0\u00a0\u00a0\u00a0\u00a0 Z-test: \u03c3 is Unknown<\/p>\n<p style=\"padding-left: 30px\">6.1\u00a0\u00a0 Procedure for t-Test<\/p>\n<p>7.\u00a0\u00a0\u00a0\u00a0\u00a0 Difference between two Populations<\/p>\n<p>8.\u00a0\u00a0\u00a0\u00a0\u00a0 Tests about proportions<\/p>\n<p style=\"padding-left: 30px\">8.1\u00a0\u00a0 Difference between Two Proportions<\/p>\n<p>9.\u00a0\u00a0\u00a0\u00a0\u00a0 Tests about Correlation Coefficient<\/p>\n<p>10. Non-Parametric Tests<\/p>\n<p style=\"padding-left: 30px\">10.1 Chi-Square Test Degrees of freedom<\/p>\n<p style=\"padding-left: 30px\">10.2\u00a0 Measures of Association<\/p>\n<p style=\"padding-left: 30px\">10.3\u00a0 Goodness-of-Fit Test<\/p>\n<p>11.Conclusion References<\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p><strong>OBJECTIVES<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>\u2022\u00a0\u00a0\u00a0\u00a0\u00a0 To study an overview of testing of hypotheses<\/p>\n<p>\u2022\u00a0\u00a0\u00a0\u00a0\u00a0 To study procedure\/steps in testing of hypotheses and related concepts<\/p>\n<p>&nbsp;<\/p>\n<p><strong>SUMMARY<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Most often, the research process is incomplete without testing of hypotheses. As such there are two types of hypotheses normally referred in statistical testing viz. Null Hypothesis and Alternative Hypothesis. A research process involves:<\/p>\n<p>&nbsp;<\/p>\n<p>1.\u00a0\u00a0\u00a0\u00a0\u00a0 Identify the general problem(s);<\/p>\n<p>2.\u00a0\u00a0\u00a0\u00a0\u00a0 Conduct literature search;<\/p>\n<p>3.\u00a0\u00a0\u00a0\u00a0\u00a0 Decide the design methodology;<\/p>\n<p>4.\u00a0\u00a0\u00a0\u00a0\u00a0 Collect the data either for the population or for a sample;<\/p>\n<p>5.\u00a0\u00a0\u00a0\u00a0\u00a0 Analyze the data;<\/p>\n<p>6.\u00a0\u00a0\u00a0\u00a0\u00a0 Report the result; and<\/p>\n<p>7.\u00a0\u00a0\u00a0\u00a0\u00a0 Refine the hypotheses.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">It is in step 1, we generally formulate the hypotheses and in step 5, we test the hypotheses. Based on the results of testing of hypotheses, we generalize the results. The Unit 19 discusses basically the z-test, t-test and the Chi Square test.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">1 INTRODUCTION<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">Statistical analysis aims at inferring about a population based on the information\/data contained in a sample. There are methods for making inferences which are usually based on statistical tests of hypotheses. Below we discuss only those aspects concerning testing of hypothesis.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">A hypothesis is a well-defined statement. However, the word hypothesis in science generally refers to a definite interpretation of a given set of facts, which is put forth as a tentative assumptions and remain partially or wholly unverified. A simple definition of hypothesis as given by Luniberg \u201cis a tentative generalisation, the validity of which remains to be tested. In this context testing of hypothesis, with relevant statistical data becomes important either to accept or reject the tentative assumption<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">1.1 Why Test Hypothesis?<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">Science does not accept anything as valid knowledge, until satisfactory tests confirm its validity. Therefore they need to be tested through research process for their acceptance or rejection. The hypothesis is normally tested by making use of a pre-defined assertion, rule which is applied to sample data and direct the research process in deciding to accept or reject the hypothesis. The process of testing hypothesis embodies the major part of research process. A hypothesis is tested on the basis of facts.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">1.2\u00a0 Types of Hypotheses and Notations<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">The two hypotheses in a statistical test are normally referred to as:<\/span><\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p>a)\u00a0\u00a0\u00a0\u00a0\u00a0 Null Hypothesis, and<\/p>\n<p>b)\u00a0\u00a0\u00a0\u00a0 Alternative Hypothesis.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">a) The Null Hypothesis is a very useful tool in testing the significance of difference. In its simple form, the hypothesis asserts that there is no true difference in the sample and population in particular matter under consideration and that thedifference found is accidental, unimportant, arising out of fluctuations of sampling. A simple definition of hypothesis is that it is a hypothesis which is being tested.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">b) The Alternative hypothesis specifies those values that the researcher considers to be true, and hopes that the sample data leads to acceptance of this whole hypothesis as true. In other words, when a null hypothesis is rejected, then alternative hypothesis is likely to be accepted. For example,<\/span><\/p>\n<\/div>\n<div><\/div>\n<div>\n<p>&nbsp;<\/p>\n<p>H0: \u00b5 = \u00b50<\/p>\n<p>H1: \u00b5 \u2260 \u00b50<\/p>\n<p style=\"text-align: justify\">where \u00b5 is the population mean and \u00b50 is the hypothesised value of the population mean.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>1.3\u00a0 Errors in Hypothesis Testing<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">When accepting or rejecting a null hypothesis, we may commit an error. For instance, we may reject <strong>H<\/strong><strong>o<\/strong> when it is correct; and accept <strong>H<\/strong><strong>o<\/strong> when it is not correct. These two errors are called Type I error and Type II error respectively. The probability of making a Type I error is denoted by \u03b1. The probability of making a Type II error is denoted as \u03b2. This is shown in the tabular form as below:<\/p>\n<p>&nbsp;<\/p>\n<table class=\"aligncenter\">\n<tbody>\n<tr>\n<td><strong>Conclusion of the Test<\/strong><\/td>\n<td><strong>H<\/strong><strong>0<\/strong><strong>\u00a0 True<\/strong><\/td>\n<td><strong>H<\/strong><strong>0<\/strong><strong>\u00a0 False<\/strong><\/td>\n<\/tr>\n<tr>\n<td>Accept H0<\/td>\n<td>Correct<\/td>\n<td>Wrong (Type II Error)<\/td>\n<\/tr>\n<tr>\n<td>Reject H0<\/td>\n<td>Wrong (Type I Error)<\/td>\n<td>Correct<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div><\/div>\n<div><strong style=\"text-align: initial;font-size: 1em\">1.4\u00a0 Empirical Test of Hypothesis<\/strong><\/div>\n<div>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">For the purpose of understanding the testing of hypotheses, let us discuss an experimental situation. Consider a condition of verifying the manufacturer\u2019s statement about its product. For example, let us take a case of investigating the container weights specified on the labels of wheat products of the manufacturer. In order to demonstrate the hypothesis testing procedure, let us show how a test on label accuracy could be made for the company\u2019s 2 kg packet of wheat flour.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The first assumption is that labels are correct. This assumption or hypothesis is subjected to a test by providing evidence regarding the truth of the claim or assumption. There are three possibilities in the case of 2 k.g. wheat flour packets. It is possible that the mean weight for the population of 2 kg packets could be;<\/p>\n<p>&nbsp;<\/p>\n<p>i)\u00a0 \u00a0 \u00a0 \u2265 2 kg or<\/p>\n<p>ii)\u00a0\u00a0\u00a0 \u2264\u00a0 2 kg or<\/p>\n<p>iii)\u00a0 =\u00a0 2 kg.<\/p>\n<\/div>\n<div>\n<p style=\"text-align: justify\">In this situation, we have to determine whether or not the population mean (of wheat flour packets) <strong>\u00b5<\/strong> <strong>=<\/strong> <strong>\u00b5<\/strong><strong>0<\/strong> <strong>(say, 2).<\/strong> How to determine? This is discussed below:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">A statement like <strong>\u00b5<\/strong> <strong>=<\/strong> <strong>\u00b5<\/strong><strong>0<\/strong> <strong><em>or<\/em><\/strong> <strong>\u00b5<\/strong> <strong>\u2265<\/strong> <strong>\u00b5<\/strong><strong>0<\/strong> <strong>or<\/strong> <strong>\u00b5<\/strong> <strong>\u2264<\/strong> <strong>\u00b5<\/strong><strong>0<\/strong> is called a hypothesis. As said in section 1.2, a hypothesis that is being tested is called the <strong>Null hypothesis<\/strong>. It is denoted by <strong>H<\/strong><strong>o<\/strong><strong>.<\/strong> The hypothesis that we are willing to accept if we do not accept the null hypothesis is called the <strong>Alternative hypothesis.<\/strong> The two hypotheses, the Null Hypothesis <em>(<\/em><strong>H<\/strong> <strong>o<\/strong><strong>)<\/strong> and the Alternative Hypothesis (<strong>H<\/strong><strong>1<\/strong> <strong>)<\/strong> are so constructed that if one is correct the other is wrong. It is denoted by <strong>H<\/strong><strong>1<\/strong> <strong>.<\/strong> Generally, the Null Hypothesis and Alternative Hypothesis for testing the mean will be shown in the following forms:<\/p>\n<p>&nbsp;<\/p>\n<table class=\"aligncenter\">\n<tbody>\n<tr>\n<td><\/td>\n<td><\/td>\n<td>Null Hypothesis<\/td>\n<td><\/td>\n<td>Alternative Hypothesis<\/td>\n<\/tr>\n<tr>\n<td>\u2022<\/td>\n<td>Case 1:<\/td>\n<td>H0 : <strong>\u00b5<\/strong> <strong>\u2265<\/strong> <strong>\u00b5<\/strong><strong>0<\/strong><\/td>\n<td><strong>or<\/strong><\/td>\n<td>H1 : <strong>\u00b5<\/strong> <strong>&lt;<\/strong> <strong>\u00b5<\/strong><strong>0<\/strong><\/td>\n<\/tr>\n<tr>\n<td>\u2022<\/td>\n<td>Case 2:<\/td>\n<td>H0 : <strong>\u00b5<\/strong> <strong>\u2264<\/strong> <strong>\u00b5<\/strong><strong>0<\/strong><\/td>\n<td><strong>or<\/strong><\/td>\n<td>H1 : <strong>\u00b5<\/strong> <strong>&gt;<\/strong> <strong>\u00b5<\/strong><strong>0<\/strong><\/td>\n<\/tr>\n<tr>\n<td>\u2022<\/td>\n<td>Case 3:<\/td>\n<td>H0 : <strong>\u00b5<\/strong> <strong>=<\/strong> <strong>\u00b5<\/strong><strong>0<\/strong><\/td>\n<td><strong>or<\/strong><\/td>\n<td>H1 : <strong>\u00b5 \u2260 \u00b5<\/strong><strong>0<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">In establishing the critical value for a particular hypothesis testing situation, we always assume that the <strong>H<\/strong><strong>o<\/strong> <strong>holds as equality<\/strong>. This allows us to control the maximum probability of Type I error. Thus, in cases 1-3 above, the null hypotheses may be treated as H0: <strong>\u00b5<\/strong> <strong>=<\/strong> <strong>\u00b5<\/strong><strong>0.<\/strong> Now with an assumption that the null hypothesis is true, let us select a sample from the population. If the sample results do not differ significantly from the <strong>assumed null hypothesis, we accept H<\/strong><strong>0<\/strong> <strong>as being true. If the<\/strong> <strong>sample results differ <\/strong>significantly from the hypothesis, we reject<strong> H<\/strong><strong>0<\/strong> and conclude that the alternate hypothesis <strong>H<\/strong><strong>1<\/strong> is true.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>2\u00a0\u00a0\u00a0\u00a0 Z-TEST: AN EXPLANATION<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">In z-test, the distribution of the test statistic under the null hypothesis is approximated by a normal distribution. From the central limit theorem, we know that the sample mean \u00a0follows normal distribution with mean \u00b5 and standard<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-221\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-110.png\" alt=\"\" width=\"700\" height=\"167\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-110.png 541w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-110-300x72.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-110-65x15.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-110-225x54.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-110-350x83.png 350w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-222\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-111.png\" alt=\"\" width=\"711\" height=\"610\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-111.png 562w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-111-300x257.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-111-65x56.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-111-225x193.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-111-350x300.png 350w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/p>\n<p style=\"text-align: justify\">So, while testing a hypothesis, if the computed value of z is greater than | z\u03b1\/2 | (if \u03b1 = 0.05, |z\u03b1\/2| = 1.96), the value of z falls in the critical region. Hence we reject Ho<em>.<\/em> In other words, if the experiment is conducted a number of times and follow the test procedure mentioned above, it is likely that 5% of the times, we may commit Type I error \u2014 rejecting Ho when it should have been accepted. While computing the value of z from the sample data, we may use the sample standard deviation instead of <em>z<\/em> which is usually unknown.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Most often, as mentioned earlier, we test the null hypothesis <strong>H<\/strong><strong>o<\/strong><strong>: \u00b5 = \u00b5<\/strong><strong>0<\/strong> against one of the following alternative hypothesis:<\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p><strong>1)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><strong>H <\/strong><strong>1<\/strong><strong> : \u00b5 &lt; \u00b5<\/strong><strong>0<\/strong><\/p>\n<p><strong>2)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><strong>H <\/strong><strong>1<\/strong><strong> : \u00b5 &gt; \u00b5<\/strong><strong>0<\/strong><\/p>\n<p><strong>3)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><strong>H <\/strong><strong>1<\/strong><strong> : \u00b5 \u2260 \u00b5<\/strong><strong>0<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>In such cases, the critical values (\u00b1z\u03b1 or \u00b1z\u03b1\/2) are given by:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Further, if H 1 : \u00b5 &lt; \u00b50 or H 1 : \u00b5 &gt; \u00b50 , the test is also called one-sided test; otherwise, it is called two-sided test. The critical regions for the above three alternative hypotheses are shown in the following figures.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-223\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-112.png\" alt=\"\" width=\"736\" height=\"819\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-112.png 425w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-112-270x300.png 270w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-112-65x72.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-112-225x250.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-112-350x390.png 350w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-224\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-113.png\" alt=\"\" width=\"652\" height=\"185\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-113.png 592w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-113-300x85.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-113-65x18.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-113-225x64.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-113-350x99.png 350w\" sizes=\"auto, (max-width: 652px) 100vw, 652px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-225\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-114.png\" alt=\"\" width=\"639\" height=\"348\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-114.png 584w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-114-300x163.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-114-65x35.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-114-225x123.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-114-350x191.png 350w\" sizes=\"auto, (max-width: 639px) 100vw, 639px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>2.1 A Confidence Interval Approach to Test a Hypothesis of the Form H<\/strong><strong>0<\/strong><strong>: \u03bc = \u03bc<\/strong><strong>0<\/strong><\/p>\n<p><strong>H<\/strong><strong>1<\/strong><strong>: \u03bc \u2260 \u03bc<\/strong><strong>0<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-226\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-115.png\" alt=\"\" width=\"662\" height=\"130\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-115.png 586w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-115-300x59.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-115-65x13.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-115-225x44.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-115-350x69.png 350w\" sizes=\"auto, (max-width: 662px) 100vw, 662px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>3\u00a0\u00a0\u00a0\u00a0 PROCEDURE INVOLVED IN TESTING OF HYPOTHESES<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>The following steps are involved in a test of significance:<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 1: <\/strong>Formulate the null and alternative hypotheses. For example:<\/p>\n<\/div>\n<div>\n<table class=\"aligncenter\">\n<tbody>\n<tr>\n<td>a) H0 : \u03bc \u2265 \u03bc0<\/td>\n<td>H1 : \u03bc &lt; \u03bc0 or<\/td>\n<\/tr>\n<tr>\n<td>b) H0 : \u03bc \u2264 \u03bc0<\/td>\n<td>H1 : \u03bc &gt; \u03bc0 or<\/td>\n<\/tr>\n<tr>\n<td>c) H0 : \u03bc = \u03bc0<\/td>\n<td>H1 : \u03bc \u2260 \u03bco.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>Step 2: <\/strong>Fix the value of \u03b1; that is, deciding, the level of significance. Usually, we fix \u03b1 = 0.5 or \u03b1 = 0.01.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-227\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-116.png\" alt=\"\" width=\"682\" height=\"466\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-116.png 588w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-116-300x205.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-116-65x44.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-116-225x154.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-116-350x239.png 350w\" sizes=\"auto, (max-width: 682px) 100vw, 682px\" \/><\/p>\n<p><strong>4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><strong>EXAMPLES WITH DIFFERENT METHODS:<\/strong><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<p><strong>a)\u00a0\u00a0\u00a0\u00a0\u00a0 <\/strong><strong>Example 1<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Consider a sample of 36 Units; sample mean ( ) is 2.92 and is 0.18. Test whether <strong>H<\/strong><strong>0<\/strong> <strong>:<\/strong> <strong>\u03bc \u2265 \u03bc<\/strong><strong>0<\/strong> <strong>H<\/strong><strong>1<\/strong> <strong>:<\/strong> <strong>\u03bc<\/strong> <strong>&lt;<\/strong> <strong>\u03bc<\/strong><strong>0<\/strong><strong>; \u00b5<\/strong><strong>0<\/strong> <strong>= 3.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><em>Method 1:<\/em><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-228\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-117.png\" alt=\"\" width=\"398\" height=\"38\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-117.png 398w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-117-300x29.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-117-65x6.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-117-225x21.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-117-350x33.png 350w\" sizes=\"auto, (max-width: 398px) 100vw, 398px\" \/><\/p>\n<\/div>\n<div>\n<p>\u00a0 \u00a0 Basics of Testing of Hypotheses<\/p>\n<p>&nbsp;<\/p>\n<p>c = \u00b50 &#8211; z\u03b1\/2 \u00a0= 3.0 -2.33*0.03 = 2.93.<\/p>\n<p>&nbsp;<\/p>\n<p>Since \u00a0(= 2.92) &lt; c (2.93), reject H0 that it is \u00b5 \u2265 3.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><em>Method 2<\/em><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Let \u03b1 = 0.01 and |z\u03b1\/2| = 2.57; \u00a0= 0.18\/ = 0.03. Then<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-229\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-118.png\" alt=\"\" width=\"510\" height=\"450\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-118.png 510w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-118-300x265.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-118-65x57.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-118-225x199.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-118-350x309.png 350w\" sizes=\"auto, (max-width: 510px) 100vw, 510px\" \/><\/p>\n<p><strong>5\u00a0\u00a0\u00a0\u00a0 USE OF P-VALUE<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">In statistical significance testing the <strong><em>p<\/em>-value<\/strong> is the probability of obtaining a test statistic at least as extreme as the one that was actually observed, assuming that the null hypothesis is true; the p-value is the smallest value of \u03b1 for which the given sample outcome would lead to accepting H0. The decision rule is to accept H0 if the p-value \u2265 \u03b1 and reject H0 if p- value &lt; \u03b1. In the Example 1, above, the p-value is 0.0038 (i.e., P ( &gt; 2.92) which is also equivalent to P(z \u2265 2.66)); the p-value is &lt; \u03b1 and thus it leads to rejecting H0.<\/p>\n<\/div>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-230\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-119.png\" alt=\"\" width=\"718\" height=\"597\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-119.png 480w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-119-300x249.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-119-65x54.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-119-225x187.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-119-350x291.png 350w\" sizes=\"auto, (max-width: 718px) 100vw, 718px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>6.1<\/strong><\/p>\n<p><strong>Procedure for t-test<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><em>Step 1<\/em><\/strong><em>: <\/em>Formulate the null and alternative hypotheses. For example,<\/p>\n<p>&nbsp;<\/p>\n<table class=\"aligncenter\">\n<tbody>\n<tr>\n<td>a) H0 : \u03bc \u2265 \u03bc0<\/td>\n<td>H1 : \u03bc &lt; \u03bc0<\/td>\n<\/tr>\n<tr>\n<td>b) H0 : \u03bc \u2264 \u03bc0<\/td>\n<td>H1 : \u03bc &gt; \u03bc0<\/td>\n<\/tr>\n<tr>\n<td>c) H0 : \u03bc = \u03bc0<\/td>\n<td>H1 : \u03bc \u2260 \u03bc0.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>Step 2<\/strong><em>:<\/em> Decide the level of significance (\u03b1) and determine the critical values for a given degree of freedom from the <em>t<\/em>-table. For (a) and (b), the critical value is given by | t\u03b1| such that P(|t| \u2264 |t\u03b1|)= l &#8211; \u03b1 . For (a), the critical values are given by at | t \u03b1 \/ 2 | such that <em>P<\/em>(<em>t<\/em> \u2264| <em>t<\/em><em>\u03b1<\/em> \/ 2 |)= 1 \u2212 <em>\u03b1<\/em> .<\/p>\n<\/div>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-231\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-120.png\" alt=\"\" width=\"736\" height=\"95\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-120.png 403w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-120-300x39.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-120-65x8.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-120-225x29.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-120-350x45.png 350w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Step 4: Accept the null hypothesis if <em>t<\/em> is less than the critical value; otherwise reject the null hypothesis.<\/p>\n<p>&nbsp;<\/p>\n<p>7.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <strong>Test of Difference between Two Population Means<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Let us now deal with two populations for which standard deviations (\u03c31 and \u03c32) are known. However, the means (\u00b51 and \u00b5 2) are not known. Under the circumstances, can we test whether or not \u00b51 = \u00b5 2; i.e., \u00b51 &#8211; \u00b52 = 0? So in such cases, usually we would like to test<\/p>\n<p>&nbsp;<\/p>\n<p>Ho : \u00b51 &#8211; \u00b52 <em>= D<\/em><em>o<\/em> against a specified alternative hypothesis. It may be any one of the following:<\/p>\n<p>&nbsp;<\/p>\n<p>H1 : \u00b51 &#8211; \u00b52 \u2260 Do<\/p>\n<p>H1 : \u00b51 &#8211; \u00b52 &gt; Do<\/p>\n<p>H1 : \u00b51 &#8211; \u00b52 &lt; Do<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">If <em>D<\/em><em>o<\/em>=0, we are actually testing whether or not \u00b51 = \u00b52<em>.<\/em> To test whether or not Ho is true against a specified H1 we consider the difference between <em>x<\/em>1 and <em>x<\/em>2 and their distribution in repeated samples. It has been shown in the probability theory that for repeated independent randomly drawn samples, <em>x<\/em>1 \u2212 <em>x<\/em>2 follows a normal<\/p>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-232\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-121.png\" alt=\"\" width=\"645\" height=\"403\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-121.png 394w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-121-300x187.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-121-65x41.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-121-225x140.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-121-350x219.png 350w\" sizes=\"auto, (max-width: 645px) 100vw, 645px\" \/><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: justify;font-size: 1em\">Thus, we can use the <\/span><em style=\"text-align: justify;font-size: 1em\">z<\/em><span style=\"text-align: justify;font-size: 1em\">-test to test the null hypothesis. The procedure is similar to the z-test explained earlier. If X1 and X2 follow normal distributions and if and \u03c31 and \u03c32 are unknown, for small samples, we can use the <\/span><em style=\"text-align: justify;font-size: 1em\">t<\/em><span style=\"text-align: justify;font-size: 1em\">-test. That is,\u00a0<\/span><em style=\"text-align: initial;font-size: 1em\">t<\/em><span style=\"text-align: initial;font-size: 1em\">-statistic in this case has n1 + n2 &#8211; 2 degrees of freedom. However, for large samples, even if \u03c31 and \u03c3 2 are unknown, we can use the <\/span><em style=\"text-align: initial;font-size: 1em\">z<\/em><span style=\"text-align: initial;font-size: 1em\">-test. In this case, we use s1 and s2 instead of \u03c31 and \u03c32. That is,<\/span><\/p>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-233\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-122.png\" alt=\"\" width=\"730\" height=\"466\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-122.png 572w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-122-300x191.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-122-65x41.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-122-225x144.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-122-350x223.png 350w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>8\u00a0\u00a0\u00a0\u00a0 TESTS ABOUT PROPORTIONS<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-234\" style=\"text-align: initial;font-size: 1em\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-123.png\" alt=\"\" width=\"739\" height=\"307\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-123.png 568w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-123-300x125.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-123-65x27.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-123-225x93.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-123-350x145.png 350w\" sizes=\"auto, (max-width: 739px) 100vw, 739px\" \/><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: justify;font-size: 1em\">is a standardized normal variate, wherein <\/span><em style=\"text-align: justify;font-size: 1em\">p<\/em><span style=\"text-align: justify;font-size: 1em\"> is the proportion of successes in a sample. Hence, to test the null hypothesis, we can use z-test as discussed above. The procedure involved in testing <\/span><em style=\"text-align: justify;font-size: 1em\">H<\/em><em style=\"text-align: justify;font-size: 1em\">o<\/em><span style=\"text-align: justify;font-size: 1em\"> is given below.<\/span><\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p><strong>Step 1<\/strong>: Formulate the null and alternative hypothesis; for instance<\/p>\n<p>&nbsp;<\/p>\n<p>H o : P = P o\u00a0 H 1 : P\u2260 P o<\/p>\n<p>H o : P \u2265 P o H 1 : P&lt; P o<\/p>\n<p>H o : P \u2264 P o H 1 : P&gt; P o<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>Step 2<\/strong>: Fix the \u03b1 value and then determine the critical value from the normal distribution table. | Z\u03b1\/2, | = 1.96 and 2.58 for \u03b1 = 0.05 and 0.01 respectively. | Z\u03b1 | = 1.64 and 2.33 for \u03b1 = 0.05 and 0.01 respectively.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 3<\/strong>: Compute p and q (= 1<em>&#8211;<\/em>p) for the sample data.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-235\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-124.png\" alt=\"\" width=\"502\" height=\"72\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-124.png 502w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-124-300x43.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-124-65x9.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-124-225x32.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-124-350x50.png 350w\" sizes=\"auto, (max-width: 502px) 100vw, 502px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 5<\/strong>: For two-sided test, case (a). That is, reject <em>H<\/em><em>o<\/em> if |z| &gt; |z\u03b1\/2|.<\/p>\n<p>For one-sided test, case (b): Reject <em>H<\/em><em>o<\/em> if z &gt; z\u03b1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 and<\/p>\n<p>For one-sided test, case (c): Reject <em>H<\/em><em>o<\/em> if z &lt; &#8211; z\u03b1<\/p>\n<p>&nbsp;<\/p>\n<p><strong>8.1 Difference between Two Proportions<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">A general hypothesis that is tested regarding the theoretical proportion of successes (in two sample cases) is that H o \ud83d\ude1b 1 &#8211; P 2 =P o against a specified alternative hypothesis. The alternative hypothesis may be any one of the following:<\/p>\n<p>&nbsp;<\/p>\n<table class=\"aligncenter\">\n<tbody>\n<tr>\n<td>H1 : P1<\/td>\n<td>&#8211; P2 \u2260 P0<\/td>\n<\/tr>\n<tr>\n<td>H1 : P1<\/td>\n<td>&#8211; P2 &gt; P0<\/td>\n<\/tr>\n<tr>\n<td>H1 : P1<\/td>\n<td>&#8211; P2 &lt; P0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify\">To test whether or not H o is true against a specified H 1 , we consider the difference P 1 and P 2 and their distribution in repeated samples. It has been shown in the probability theory for repeated independent randomly drawn samples, that P 1 &#8211; P 2 follows a normal distribution with mean P 1 &#8211; P 2 and variance<\/p>\n<\/div>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-236\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-125.png\" alt=\"\" width=\"734\" height=\"617\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-125.png 577w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-125-300x252.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-125-65x55.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-125-225x189.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-125-350x294.png 350w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><em>n <\/em>is the size of the sample, <em>x<\/em> and <em>y<\/em> are the sample means of<em> X <\/em>and<em> Y <\/em>respectively.<em> s<\/em><em>x<\/em> and<em> s <\/em><em>y<\/em> are the sample standard deviations of<em> X <\/em>and<em> Y <\/em>respectively. We may like to test the null hypothesis that \u03c1 = 0 (where \u03c1 is the population correlation coefficient) against a specified alternative hypothesis. We are actually using <em>r<\/em> to test the hypothesis about \u03c1 since <em>r<\/em> is an estimate of \u03c1<em>.<\/em> The testing is usually done by determining the calculated value of <em>r<\/em> as significantly different from zero. This can be done by using a <em>t<\/em>-test. For the purpose of testing the null hypothesis, the follow-ing <em>t<\/em>-statistic is computed<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-237 aligncenter\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-126.png\" alt=\"\" width=\"109\" height=\"70\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-126.png 109w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-126-65x42.png 65w\" sizes=\"auto, (max-width: 109px) 100vw, 109px\" \/><\/p>\n<p style=\"text-align: justify\"><span style=\"font-size: 1em;text-align: justify\">where the <\/span><em style=\"font-size: 1em;text-align: justify\">t<\/em><span style=\"font-size: 1em;text-align: justify\">-statistic is with (<\/span><em style=\"font-size: 1em;text-align: justify\">n<\/em><span style=\"font-size: 1em;text-align: justify\">\u20142) degrees of freedom. If the calculated value lies in the critical region, we have to reject the null hypothesis. If we accept the null hypothesis it means that there is no correlation between the two variables other than that due to chance.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">10\u00a0 NON-PARAMETRIC TESTS<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">The use of t-test or z-test requires an assumption that the sample data come from a normal or binomial population (or at least, the sample distribution must tend to a normal distribution for a large sample). Both the z-test and t-test are used to test the null hypothesis concerned with population means, variances and proportions. Hypotheses related to the independence of two criteria of classification, goodness-of-fit test, median of the population, etc. can be tested using the statistical tests called non-parametric tests. The non-parametric tests do not require many assumptions (like the <\/span><em style=\"font-size: 1em\">z<\/em><span style=\"font-size: 1em\">-test and <\/span><em style=\"font-size: 1em\">t<\/em><span style=\"font-size: 1em\">-test). A non-parametric tests is discussed below.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: initial;font-size: 1em\">10.1 <\/span><strong style=\"text-align: initial;font-size: 1em\">Chi-Square Test<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><span style=\"font-size: 1em\">The Chi Square test is normally applicable in situations in which determination of population parameters such as the mean and standard deviation are not an issue. The data in question falling into discrete categories and are presented in a contingency table. The entries in a contingency table are known cells. Let us consider the result of a survey of 100 adults (say, 50 females and 50 males). Let us say that it has been observed that among the 100 adults, 34 of them are library users and the rest are non-users. So, in this hypothetical example, we have two nominal variables sex and library use. On categorizing the 100 adults, using these two nominal variables, we get a contingency table like the one shown in Table below:<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong style=\"text-align: initial;font-size: 1em\">A Typical 2 x 2 Table<\/strong><\/p>\n<\/div>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-238\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-127.png\" alt=\"\" width=\"320\" height=\"191\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-127.png 320w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-127-300x179.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-127-65x39.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-127-225x134.png 225w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/p>\n<p style=\"text-align: justify\"><span style=\"text-align: justify;font-size: 1em\">Let us now try to find out whether or not the two categories\u2014gender (Male or Female) and library use\u2014are independent; let us assume that there is no rela-tionship between the gender and library use. Under this assumption, compute the frequencies in each of the cells. Such frequencies are called <\/span><em style=\"text-align: justify;font-size: 1em\">theoretical frequencies.<\/em><span style=\"text-align: justify;font-size: 1em\"> They are usually referred to as the expected numbers or expected frequencies. The logic for computation of the theoretical frequencies for the data given in the above Table is as follows:<\/span><\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">We have 50 each of males and females; the ratio is 1:1. So we would expect that half of the library users are males and also half of the non-users are males, that is, out of 100 adults (<em>N<\/em>) we have 50 males (row total). Out of 34 users (column total), how many of them are males?<\/p>\n<p>&nbsp;<\/p>\n<p>Using the cross multiplication technique, we have:<\/p>\n<p style=\"text-align: justify\">The number of male users = <span style=\"text-decoration: underline\">50 \u00d7 34<\/span> = 17 .<\/p>\n<p>100<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Similarly, we can compute the number of male non-users, female users and female non-users. The results are shown in bold face in the corresponding cells in Table 8.1. On generalizing the above logic, we can easily prove that the following formula can be used to obtain theoretical frequencies <em>( E<\/em> <em>i j<\/em> <em>)<\/em> in each of the cells:<\/p>\n<p><em>E<\/em>\u00a0\u00a0\u00a0\u00a0\u00a0 =\u00a0 <span style=\"text-decoration: underline\"><em>r<\/em><em>i<\/em> . \u00d7<em> c<\/em>. <em>j<\/em><\/span><\/p>\n<p><em>ij<\/em>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <em>N<\/em><\/p>\n<p>&nbsp;<\/p>\n<p><em>r<\/em><em>i<\/em><em>. <\/em>is the total number of observations in the ith row<\/p>\n<p>&nbsp;<\/p>\n<p>cij is the total number of observations in the jth column<\/p>\n<p>&nbsp;<\/p>\n<p>Eij is the expected\/theoretical frequencies in the ijth cell (ith row and jth column).<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Degree of Freedom<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Degrees of freedom are commonly discussed in relation to chi- square and other forms of hypothesis testing statistics. It is important to calculate the degree(s) of freedom when determining the significance of a chi square statistic and the validity of the null hypothesis. It is obvious that the theoretical frequencies need not necessarily be equal to the observed frequencies. If they are equal, one could perhaps conclude that there is no relationship between the two variables. If they\u00a0<span style=\"font-size: 1em;text-align: initial\">are not equal, the question is, &#8220;Is the difference between the observed and expected frequencies statistically significant?&#8221; To answer this question, we use a<\/span><\/p>\n<\/div>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-239\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-128.png\" alt=\"\" width=\"760\" height=\"678\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-128.png 567w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-128-300x268.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-128-65x58.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-128-225x201.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-128-350x312.png 350w\" sizes=\"auto, (max-width: 760px) 100vw, 760px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>10.2\u00a0\u00a0\u00a0\u00a0 <strong>Measures of Association<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The statistical significance of the null hypothesis depends both on the strength of the observed relationship and the size of the sample. Tests of statistical significance indicate only the likelihood that an observed relationship actually exists in the universe; but they do not reveal the fact as to how strong the relationship is. Further, a relationship may be statistically significant being substantially important.<\/p>\n<\/div>\n<div>\n<p>There are a few measures that will describe the strength of the association between two nominal variables. They are:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-240\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-129.png\" alt=\"\" width=\"690\" height=\"488\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-129.png 554w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-129-300x212.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-129-65x46.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-129-225x159.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-129-350x248.png 350w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>10.3\u00a0\u00a0\u00a0\u00a0 <strong>Goodness-of-Fit Test<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The chi-square statistic is also used to test the hypothesis that whether or not the probability distribution (of the population) is similar to that of the sample distribution. This type of test is often referred to as a goodness -of-fit test. The goodness-of-fit test is illustrated with following example. Examine whether or not the distribution of transactions follows a negative binomial distribution for the data shown below.<\/p>\n<table class=\"aligncenter\">\n<tbody>\n<tr>\n<td>x<\/td>\n<td>f(x)<\/td>\n<td>x<\/td>\n<td>f(x)<\/td>\n<td>x<\/td>\n<td>f(x)<\/td>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>324<\/td>\n<td>3<\/td>\n<td>16<\/td>\n<td>6<\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>108<\/td>\n<td>4<\/td>\n<td>7<\/td>\n<td>7<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>43<\/td>\n<td>5<\/td>\n<td>4<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<p>We will use the goodness-of-fit test for this purpose. The procedure is:<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 1: <\/strong>Formulate the null and alternative hypothesis.<\/p>\n<p>&nbsp;<\/p>\n<p><em>H<\/em><em>o<\/em>: The sample data belongs to a population which follows a negative binomial distribution.<\/p>\n<p>&nbsp;<\/p>\n<p><em>H<\/em><em>1<\/em>: The sample data belongs to a population which does not follow a negative binomial distribution.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>Step 2: <\/strong>Compute the parameters (such as mean, variance, etc.); estimate the parameters of the theoretical probability distribution (which is assumed in the null hypothesis). Use, as far as possible, the maximum likelihood estimators.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 3: <\/strong>Compute the probabilities under the assumption that the <em>H<\/em><em>o<\/em> is true.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>Step 4: <\/strong>Compute the theoretical or expected frequencies (use the formula, that expected frequency is equal to <em>n<\/em><em>\u22c5<\/em><em>P(x),<\/em> where <em>n<\/em> is the sample size, and <em>P(x)<\/em> is the theoretical probability distribution function). In this case, <em>P(x)<\/em> is the mass function of the negative binomial distribution.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>Step 5<\/strong>: Decide \u03b1 and determine the critical region (for \u03b1 = 0.05). Find out <em>X<\/em><em>2<\/em> for <em>(k \u2014 <\/em>1) degrees of freedom;<em> k <\/em>is the number of frequency classes.<\/p>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-241\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-130.png\" alt=\"\" width=\"717\" height=\"369\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-130.png 585w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-130-300x154.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-130-65x33.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-130-225x116.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-130-350x180.png 350w\" sizes=\"auto, (max-width: 717px) 100vw, 717px\" \/><\/p>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-242\" src=\"http:\/\/liscp10.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/19\/2018\/07\/1-131.png\" alt=\"\" width=\"736\" height=\"562\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-131.png 525w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-131-300x229.png 300w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-131-65x50.png 65w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-131-225x172.png 225w, https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-content\/uploads\/sites\/19\/2018\/07\/1-131-350x267.png 350w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/p>\n<p><span style=\"text-align: initial;font-size: 1em\">11.\u00a0<\/span><strong style=\"text-align: initial;font-size: 1em\">Conclusion<\/strong><\/p>\n<\/div>\n<div>\n<p>In this Unit, we have discussed the basics of z-test, t-test and chi square test.<\/p>\n<table>\n<tbody>\n<tr>\n<td><strong>you can view video on Basics of Testing of Hypothesis<\/strong><\/td>\n<td><a href=\"https:\/\/youtu.be\/lYI3myeU3Es\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-120\" src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"\" width=\"36\" height=\"36\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>REFERENCES<\/strong><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li style=\"text-align: justify\">Anderson, David R.; Sweepney, Dennis J; and Williams, Thomas. A. (1981) Statistics for Bussiness and Economics. Edition 2. International Edition. West Publishing Company. SanFrancisco.<\/li>\n<li style=\"text-align: justify\">Ravichandra Rao, I.K. (1983) Quantitative Methods for Library and Information Science. Wiley Eastern. New Delhi.<\/li>\n<li style=\"text-align: justify\">Yule, G.H. and Kendall, M.G. (1950) An introduction to theory of statistics. London, Charles Griffin and Company.<\/li>\n<\/ul>\n<\/div>\n","protected":false},"author":3,"menu_order":19,"template":"","meta":{"_acf_changed":false,"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":["dr-i-k-ravichandra-rao"],"pb_section_license":""},"chapter-type":[],"contributor":[58],"license":[],"class_list":["post-218","chapter","type-chapter","status-publish","hentry","contributor-dr-i-k-ravichandra-rao"],"part":3,"_links":{"self":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-json\/pressbooks\/v2\/chapters\/218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-json\/wp\/v2\/users\/3"}],"version-history":[{"count":8,"href":"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-json\/pressbooks\/v2\/chapters\/218\/revisions"}],"predecessor-version":[{"id":365,"href":"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-json\/pressbooks\/v2\/chapters\/218\/revisions\/365"}],"part":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-json\/pressbooks\/v2\/parts\/3"}],"metadata":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-json\/pressbooks\/v2\/chapters\/218\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-json\/wp\/v2\/media?parent=218"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-json\/pressbooks\/v2\/chapter-type?post=218"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-json\/wp\/v2\/contributor?post=218"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/liscp10\/wp-json\/wp\/v2\/license?post=218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}