Explain And Execute Statistical Design And Analysis Of Two Variable Hypothesis Dr. Nancy Agens, Head, Technical Operations, Statswork
I. INTRODUCTION In this blog, I will explain you how the statistical analysis is being applied for two independent samples. In practice, the test statistic used for comparing the two means from a population is by using the ttest because t-test shrinks the data to a single t-value and it is then compared with the significant value for the final conclusion. Now, Let us understand the theoretical background in performing the t-test for two variables. Suppose X1 and X2 be the two independent random variable and let , be the sample with size n1 and n2 from a population with mean µ1, µ2 and variance σ12, σ22 respectively. It is obvious that if the sample size is large enough then the sample mean will follow a normal distribution, (i.e) and
In addition, if the means of the two samples are said to follow normal distribution, then the difference of mean are also said to follow normal distribution. It is given by
Under the null hypothesis, H0: µ1 = µ2 which means there is no statistical significant difference between the means. The test statistic becomes
Copyright © 2020 Statswork. All rights reserved
If suppose we come across the data having the same variance then the test statistics boils down to
Once the t-value is calculated, the next step is to compare with the critical value with alpha level of significance and if the calculated t-value is less than the significant value then the conclusion is to reject the null hypothesis stating that there is a significant difference between the means of the population. (Cressie & Whitford, 1986) Imagine a marketing company has recently launched two campaigns for advertising their product. The company’s head wants to identify whether both the campaign is equally effective or not. In such case, the statistical hypothesis testing is the essential method to give a valid inference. Before performing any statistical hypothesis testing, the main task is to understand the problem statement, to frame the hypotheses of interest, to find a suitable test statistics, and finally to make a proper decision with the results. This blog will elaborate each one with the advertising example as mentioned above.
1