2024-02-01

What is Hypothesis Testing?

Hypothesis testing is a mixture of methods to prove or disprove a null hypothesis. In other words when given statistical information and/or a set of data you can compare it to another and determine if there is a significant difference. For example, Hypothesis testing can be used to determine if a medication has a significant effect on patients by comparing a set of data with the medication and a set of data without.

The method of Hypothesis testing that this power point will focus on will be the t-test.

Note: There are many methods for hypothesis testing that are not addressed. Please research them to learn more about Hypothesis testing.

T distribution table

This is the table that the rest of the power point will be utilizing:

Key Words

Null Hypothesis: Symbolized by \(H_0\) is the assumption that there is no significant effect.

Alternate Hypothesis: Symbolized by \(H_a\) is the hypothesis proposes a significant effect.

Significance level: Symbolized by \(\alpha\) is the value that determines if the \(H_0\) is rejected.

Practice

Example: A doctor is trying to determine if a new medication is effective. What is the null hypothesis and the alternative hypothesis?

\(H_0\)= The medication does not have a substantial effect on the patients

\(H_a\)=The medication does have a substantial effect on the patients

T test

There are two types of t test:

1 tailed: Used when \(H_a\) needs to be either greater than or less than the critical point in the T distribution table.

T test

2 tailed: Used when \(H_a\) simply needs to be substantially different. In other words the t-test value needs to be within either critical zones to be significant enough to reject \(H_a\).

Important equations

T-Test \[ t = \frac{\bar{X} - \mu}{s / \sqrt{n}} \]

Degrees of freedom \[df=(n-1)\]

Example question

A new medication is being tested that increases mathematical ability. Twenty-five participants took the medication for six months before the test and the mean of those results is 85 with a standard deviation of 6. The rest of the student population received a mean of 80. Perform a hypothesis test with a significance level of \(\alpha\)=.01 to determine if there is enough evidence to conclude that the medication improved the participants performance.

Step 1

Step 1: Identify the \(H_0\), \(H_a\), and the \(\alpha\)

\(H_0\): The mean exam score after the medication is equal to 80

\(H_a\): The mean exam score after the medication is greater than 80

\(\alpha\)=.01

Step 2

Calculate the T test \[ t = \frac{\bar{X} - \mu}{s / \sqrt{n}} \] \(\bar{X}\) sample mean=85

\(\mu\) population mean=80

s sample standard deviation=6

n sample size=25 students \[t=\frac{85-80}{6/\sqrt{25}}=4.167\]

Step 3

Identify the degree of freedom = df=(n-1)=(25-1)=24

Find the critical t value using \(\alpha\) and df to determine the t-statistic value

The critical-t value=2.492

Step 4

Represent the critical value and the t test value on a t distribution table:

Final step

Does the results of the hypothesis test reject the \(H_0\)?

The answer is yes there is a sufficient amount of evidence to reject the \(H_0\). Since the t test value equals 4.167 and is within the critical region then there is sufficient evidence to reject \(H_0\).

Conclusion

Hopefully this power point has provided insight into Hypothesis testing and the T test method.

It is highly recommended that to get a good grasp on Hypothesis testing you should practice as many problems as possible.

Thank you