Statistics Tutorials: Hypothesis Testing: How to Know What Type of Tail we Have?
One question that typically hunts students of basic statistics when attempting to solve a hypothesis testing question, be it from a homework or a test, is how to assess what type of tail a hypothesis test has.
The problem of determining the type of tail is simply reduced to the correct specification of the null and alternative hypothesis. One has correctly determined the hypotheses for a test, the problem of knowing what type of tail is the correct one (right-tailed, left-tailed or two-tailed) is simple.
In order to see the type of tail, we need to look at the alternative hypothesis. If the sign in the alternative hypothesis is "<", then we have a left-tailed test. Or if the sign in the alternative hypothesis is ">", then we have a right-tailed test. Or, on the other hand, if sign in the alternative hypothesis is "≠", then we have a two-tailed test.
LET US CONSIDER THE FOLLOWING EXAMPLE:
Assume that a simple random sample of the weights of 19 green M&Ms has a mean of 0.8635 grams, and also assume that the population standard deviation \(\sigma\) is known to be 0.0565 g. Let us use a 0.05 significance level to test the claim that the mean weight of all green M&Ms is equal to 0.8535 g, which is the mean weight required so that M&Ms have the weight printed on the package label. Do green M&Ms appear to have weights consistent with the package label?
This is how we solve it
We want to test the following null and alternative hypotheses
\[\begin{align}{{H}_{0}}:\mu {=} {0.8535}\, \\ {{H}_{A}}:\mu {\ne} {0.8535} \\ \end{align}\]
Given that the population standard deviation is known, with \(\sigma = 0.0565\) we use the normal distribution. The z-statistic is calculated as
\[z =\frac{\bar{X}-\mu }{\sigma / \sqrt{n}}\]
We know that this is two-tailed z-test (since the sign in the alternative hypothesis is "≠").
The z-statistics is computed by the following formula:
\[z =\frac{\bar{X}-\mu }{\sigma /\sqrt{n}}=\frac{{0.8635}-0.8535}{0.0565 /\sqrt{19}}={0.7715}\]
The critical value for \(\alpha = 0.05\) for this two-tailed test found to be \(z_{c} = {1.96}\). The rejection region is corresponds to
\[R=\left\{ z:\,\,\,|z|>{1.96} \right\}\]
Since \(|z| = 0.7715 {<} z_c = 1.96\), then we fail to reject the null hypothesis H0.
Thus, we don't have enough evidence to reject the claim green M&Ms appear to have weights consistent with the package label.
|
Submit your problems for a free quote and we will be back shortly (a couple of hours max). It costs you NOTHING to find out how much it would cost to solve your problems.
We provide a quality problem solving service on the following stats topics:
- Probability
- Basic Concepts: Sample Space, Events.
- Densities and Distributions.
- Descriptive statistics.
- Descriptive Analysis of data.
- Graphs and charts.
- Inferential Statistics
- Means, variances, populations, samples.
- Intervals of Confidence.
- Z-test, T-test and F-tests.
- Hypothesis Testing.
- ANOVA.
- Correlation.
- Linear and non-linear regression.
- Non-parametric Statistics.
- Sign Test.
- Wilkinson Tests.
- Kruskal-Wallis Test.
- Spearman Correlation Coefficient.
Our team is highly experienced in SPSS, Minitab, EXCEL and the majority of the statistical software packages out there. Request your free quote. We a have a satisfaction guarantee policy. If you're not satisfied, we'll refund you. Please see our terms of service for more information about the satisfaction guaranteed policy. See also a sample of our work.
Why we can help with your Stats?
Experience
We have successfully help customers online for more than 10 years now
Statistics Expertise
We can do handle any type of statistics analyis/homework/questions. Our tutors have real expertise, and big majaority of our customers are returning customers
Step-by-Step Solutions
We provide detailed, step-by-step solutions, and we strive to provide exactly what our customers want.
Free Quote
E-mail us your problems, we will review them and promptly come back to you with a free quote
Very Competitive Prices
We strive to provide the best possible prices for our services
We take pride of our work
Our tutors take pride on the work we do. We diligenty do work for our customers, and put great attention to details striving to always provide a great final product