Explore BrainMass

Hypothesis Testing

Hypothesis testing is an integral topic in statistics and is conducted to test a population parameter or assertion for one or multiple samples. These hypotheses are generally based off of a theory or argument and tested using data collected from the samples.

The first step in hypothesis testing involves setting up the null and alternative hypotheses. The null hypothesis is written first and just as the name implies, this hypothesis claims that there is no difference or relationship between the observations being tested. Thus, the null hypothesis when written out numerically, always involves an equals (=) symbol.

The alternative hypothesis is written next and is the exact opposite of the null statement. Depending on the claim being tested, the alternative hypothesis can either propose a relationship in which one observation is greater than the other, less than the other, simply not equal to the other or a combination of those possibilities.

The alternative hypothesis is important for establishing whether the hypothesis test is characteristic of a left-tailed test, right-tailed test or 2-tailed test. The diagram below displays the probability density function for each type of test. 

Figure 1.  In this case, the claim is based from mean values. The null hypothesis is denoted by μ and the alternative hypothesis is represented by μo. The left hand corner diagram represents the left-tailed test, the figure in the middle is representative of the two-tailed test and the distribution curve on the right shows the claim for a right-tailed test. Please view the references for the image credit.

Once the hypotheses are constructed, the next step involves setting the criterion for testing, which essentially means the significance level. Generally the significance level is set at 5%, but it is not restricted to this value. The significance value is dependent on the situation being investigated. Note, that in a two-tailed test, this 5% significance level is shared by both tails, so each tail represents a significance level of 2.5%.

The final steps involve computing the test statistic and then making a decision on the claim. There are two decisions which can be made: the null hypothesis can either be rejected or a researcher can fail to reject it. This decision is based on the calculation of a p-value. If the p-value is less than or equal to 5%, the null hypothesis is rejected.




Image Credit: Shafer, D.S. and Zhang, Z. (2014). Small Sample Tests for a Population Mean. Retrieved from:


Categories within Hypothesis Testing

Frequentist Inference

Postings: 1,764

In the study of statistics, frequentist inference represents one of the main schools of thought in discussing the frequency and/or proportion of data from which conclusions are drawn.

Parametric Tests

Postings: 1,087

Parametric tests are statistical tests based on a set of assumptions about the probability distribution of a data set and this allows for a researcher to make inferences on the parameters of interest.

Type I and Type II Errors

Postings: 127

Type I and Type II errors are measures which are directly linked with hypothesis testing and result from a researcher assessing the claim being tested inaccurately.

Perform a hypothesis testing for one mean using t distribution

Conduct a one-tailed hypothesis test given the information below. A manufacturer wants to increase the shelf life of a line of cake mixes. Past records indicate that the average shelf life of the mix is 116 days. After a revised mix has been developed, a sample of nine boxes of cake mix had a mean of 117.333 and a standard de

hypothesis testing for two means using two paired samples t test

A company is researching the effectiveness of a new website design to decrease the time to access a website. Five website users were randomly selected and their times (in seconds) to access the website with the old and new designs were recorded. The results follow: User Old Website Design New Website Design A 30 15 B 45 20

Conduct a two-tailed hypothesis test given the information below.

ABC producing precision ball bearings. It is important that the diameters be as close as possible to an industry standard. The output from each process is sampled and the average error from the industry standard is measured in millimeters. The results are presented next. Process A Process B Sample Mean

Hypothesis testing using either t or normal distribution

1. A sample of 49 observations is selected from a normal population. The sample mean is 21, and the population standard deviation is 4. Conduct the following test of hypothesis using the 0.05 significance level. H0 : μ ≤ 20 H1 : μ > 20 a. Is this a one- or two-tailed test? "One-tailed"-the alternate hypo

Percentiles and Hypothesis Testing with Z-Tests

HOMEWORK 6 Percentiles and Hypothesis Testing with Z-Tests When submitting this file, be sure the filename includes your full name, course and section. Example: HW6_JohnDoe_354B01 Be sure you have reviewed this module/week's lesson and presentations along with the practice data analysis before proceeding to the homework exer

Chi-Square Tests and Linear Regression

5. At a school pep rally, a group of sophomore students organized a free raffle for prizes. They claimed that they put the names of all the students in the school in the basket and that they randomly drew 36 names out of this basket. Of the prize winners, 6 were freshmen, 14 were sophomores, 9 were juniors, and 7 were seniors. T

Stock Analyst Statistics

A stock analyst wants to determine whether there is a difference in the mean rate of return for three types of stock: utility, retail, and banking stocks. The following output is obtained: Picture a. Using the .05 level of significan

BMI, Caffeine Consumption, Crossover

Week 4 Problems—30 points 10 points per problem. • The mean body mass index (BMI) for boys age 12 is 23.6. An investigator wants to test if the BMI is higher in 12-year-old boys living in New York City. How many boys are needed to ensure that a two-sided test of hypothesis has 80% power to detect a difference in BMI

Excel Cake Mix

Copy the Assignment Data (i.e., cake mix data) to Sheet 1, cells A1:P32, of a new Excel workbook. Select the most appropriate hypothesis test described in Sections 4.3 and 4.5 to evaluate the following null hypothesis using this worksheet: There is no difference in mean grams of sugar between name brands and generic brands o

Hypothesis Testing using Alpha

NFL2000 Using these data, perform an appropriate test of hypothesis, at the alpha = .05 level of significance, to determine whether compensation for players in the NFL is dependent on the team for which they play. What is your conclusion? NFL salaries and bonuses 2000 season

Single-sample t-test

HOMEWORK 8 Single-Sample T-Test When submitting this file, be sure the filename includes your full name, course and section. Example: HW8_JohnDoe_354B01 ________________________________________ Part I: Concepts Questions 1-3 ________________________________________ These questions are based on the Nolan and Heinzen re

Biostat Case Study

There are seven questions at the end of this article. This assignment is worth 80 points. Place answers in this table: 1. 2. 3. 4. 5. 6. 7. BIOSTAT Case Study: Tests of Association for Categorical Data LEARNING OBJECTIVES At the completion of this Case Study, participants should be able to:  Compa

Conducting a one-way ANOVA

A medical researcher wants to determine whether there is a difference in the mean length of time it takes three types of pain relievers to provide relief from headache pain. Several headache sufferers are randomly selected and given one of three medications. Each headache sufferer records the time (in minutes) it takes the medic

Statistical Analysis Techniques: ANOVA and Post-Hoc Tests

A market researcher is interested in knowing the type of training that works best for DVD users. Thirty consumers are randomly selected from a population of known DVD owners (i.e., users). Ten users are trained by giving them the DVD user's manual and allowing them to read it. Another ten users are trained from a 30 minute DVD u

Problem on Confidence Interval of Proportion

A study was carried out to understand the amount of time put in by the students in three management institutes. One hundred students from different institutions were surveyed. Information regarding the hours put in by the students per week is summarized in the following contingency table: Institution <= 40 hours/week between

Construting a 95% confidence interval for the population mean

Question 1: Clothing for runners. Your company sells exercise clothing and equipment on the Internet. To design the clothing, you collect data on the physical characteristics of your different types of customers. Here are the weights for a sample of 24 male runners. Assume that that these runners can be viewed as a random sample

Design of Experiments: Variables, Blocking, Factors, and Effects

Explain the difference between multiple independent variables and multiple levels of independent variables. Which is better? What is blocking and how does it reduce "noise"? What is a disadvantage of blocking? What is a factor? How can the use of factors benefit a design? Explain main effects and interaction effects. How does a

Hypothesis Testing: P-Value and Null Value

This problem contains 4 parts based on the following information (also see attachment). "The Florida Home Energy Commission lists the mean annual air-conditioning (A/C) expenditure for a well-insulated Central Florida home as $1.20 per square foot. Cool Crib Insulation (a home insulation company) is working hard to

Nonparametric Statistics, Chi-Square, etc.

1. Which national park has more bears? Random samples of plots of ten square miles were taken in different parts of Yellowstone National Park, Yosemite National Park and Glacier National Park. The bear counts per square mile were recorded as shown below: Yellowstone Yosemite Glacier 2 3 8 1

Testing Hypotheses and Confidence Intervals

A random sample of size 64 has sample mean 24 and sample standard deviation 4. d. Is it appropriate to use the t distribution to compute a confidence interval for the population mean? Why or why not? e. Construct a 95% confidence interval for the population mean. f. Explain the meaning of the confidence interval you just cons


THESE ARE SOME OF THE QUESTIONS I AM WORKING ON, IF POSSIBLE CAN YOU PLEASE LET ME KNOW IF MY ANSWERS ARE CORRECT/SOLVE? THANK YOU!! For an ANOVA comparing three treatment conditons, what is stated by the null hypothesis (Ho)? * at least one of the 3 population means is different from another mean * none of these choices

Business Statistics (3 Part Questions)

Writing Hypotheses Read the situation. Then write the hypotheses in correct mathematical notation. Do not conduct any statistical tests. Just write the hypotheses. Insert your answers between the problems. Here are some things to keep in mind: 1) On the Hypothesis Testing Worksheet, all you need to do is write the null

One Factor ANOVA Using Excel

Based on the amount of time spent on Facebook, students are classified into 3 groups and their grade point averages are recorded. The following data show the typical pattern of results. FACEBOOK USE WHILE STUDYING NON-USER RARELY U


Please help me with this question if possible. Thank you! The following is hypothetical data similar to the actual research results about birds. The numbers represent relative brain size for the individual birds in each sample. NON-MIGRATING SHORT DISTANCE MIGRANTS LONG DISTANCE MIGRANTS

Step-by-Step One Way Analysis of Variance (ANOVA)

I have been working on this, Can anyone help me with this? In easy to understand terms? ANOVA (One-Way Analysis of Variance) 1. A psychologist would like to investigate the relative effectiveness of three therapeutic techniques for treating mild phobias. A sample of 15 individuals who demonstrate a moderate fear of spider

Repeated Measure Study

For which of the following situations would a repeated measures research design be appropriate? * comparing verbal solving skills for science majors vs art measures * comparing math skills for girls vs boys at age 10 * comparing pain tolerance with and without acupuncture needles ( i chose this one) * comparing self esteem f

T Test on Mean Difference and Computing R Squared

Masculine themed words are frequently used in job recruitment materials, especially for job advertisements in male-dominated areas. the same study found that these words also make the jobs less appealing to women. in a similar study, female participants were asked to read a series of job advertisements and then rate how interest

Sample Size, Sample Error, and Sum of Squares

On average, what value is expected for the t statistic when the null hypothesis is true? *1 *1.96 *0 (?) *t>1.96 What is the sample variance and the estimated standard error for a sample of n=9 scores with SS= 72? *s2=3 and sM=3 *s2 and sM= 1 *s2=9 and sM=3 (?) *s2=3 and sM=1 Which set of characteristics will produ