1 views

Uploaded by Anthony Park

Hypothesis Testing

- original skittles
- 3 - Hypothesis Testing
- Hypothesis111 - Copy.pdf
- Hypothesis Testing
- Hypothesis
- Lecture 12 Preliminary lala
- MODULE-5
- Mcq-Introduction to Research
- ΣΤΑΤΙΣΤΙΚΗ ΛΥΜΕΝΕΣ ΑΣΚΗΣΕΙΣ
- Ch. 10
- math 1040 project
- BUSINESS STATISTICS MATERIAL[323].docx
- Understanding_Type_I_and_Type_II_Error.docx
- MAST20005 Statistics Assignment 3
- Statistic
- Course Project b
- High Speed Hupotheses
- One-way Anova
- statsfinalproject
- Statistics Guidance Contaminated 2008

You are on page 1of 4

Objectives

Identify the differences between populations and samples

Define the terms related to hypothesis testing

Learn the algorithm for solving hypothesis testing problems for normally

distributed, variance-known data

Apply more complicated types of hypothesis testing, including tests on mean with

variance unknown and tests on variance

Our work thus far has been on populations, where we are considering an entire possible range

of data. Now, we will work on samples, which are manageable subsets of a population. So

before we would be considering population mean and standard deviation (µ and σ), and now

we are considering the sample mean and standard deviation (𝒙 ̅ and 𝒔).

Hypothesis Testing

In real life we will mostly be working with samples, but wanting to make inferences about

populations. This is where hypothesis testing comes in. Basically, we will create a hypothesis

about parameters of a population (generally means or variances) then use the sample

data to see if we can accept or reject the hypothesis.

The following are a list of terms having to do with hypothesis testing. Some of these terms are

not relevant to today’s lab but will be useful when we solve more complicated hypothesis testing

problems.

Null hypothesis (H0) – The statement we are testing. Generally, we will be testing

whether or not two things are equal to each other: for example, H0: µ = 100.

Alternative hypothesis (H1) – An opposite statement to the null. If the problem

statement suggests we are testing if a mean is exactly equal to a number, we use

the alternative hypothesis H1: µ ≠ 100. If the problem suggests we want to know if

a mean is less than or greater than a number, we use H1: µ < 100 or H1: µ > 100. H1

≠ µ is a two-sided hypothesis because are considering if the mean is greater than OR

less than a value, or to either side of the mean in the distribution. The other alternative

hypotheses are one-sided hypothesis because we are only considering one side of the

distribution.

Type I error – This occurs when we reject the null hypothesis, but it is actually true.

Significance level (α) – This is the probability of a type I error occurring, or the

probability of rejecting our null hypothesis even though it is true.

P-value – This is the minimum level of significance that would lead to rejecting the null

hypothesis. In other words, if the P-value is less than the significance level (α), we

will reject the null hypothesis.

Two-tailed test – We perform this test when our alternative hypothesis is two-sided. If it

is two-sided, you must consider HALF of the significance level or P-value on either end

of the distribution; for example, if your significance level is 0.5, or 5%, you divide that by

two to consider 2.5% of the data under the tail on the left and 2.5% of data under the tail

on the right.

One-tailed test – We perform this test when our alternative hypothesis is one-sided.

Type II error – This error occurs when we accept the null hypothesis (or fail to reject)

but it is actually false.

2. Normalize your data by converting your test statistic (whatever µ is compared to in your

hypotheses) into a Z value (if your variance is known – later we will consider if the

variance is unknown).

𝑥̅ − 𝜇

𝑍=

𝜎/√𝑛

3. Find the probability corresponding to this Z value using the charts in your book or Excel

functions.

4. If the P-value is less than your significance level, you can reject the null hypothesis.

Lab 5 Exercises

You want to test if the mean of your process data is equal to 100. You know that σ = 3 and n =

9.

1. State your null and alternative hypothesis. Is this a one-sided or two-sided test?

2. What is your P-value if 𝑥̅ = 103?

3. If the rejection region is defined as 𝑥̅ < 98.5 and 𝑥̅ > 101.5, what is α?

Now we want to test if the mean of the process data is less than 100 and we still know that σ =

3 and n = 9.

4. State your null and alternative hypothesis. Is this a one-sided or two-sided test?

5. What is your P-value if 𝑥̅ = 99?

Now we’ll expand to consider other tests we may do. Essentially, depending on what we are

testing and if the variance is known or unknown, we use a different statistic with a different

distribution, but the same algorithm that we learned last week to solve problems. For example,

for a test on the mean with variance known, we used the Z statistic. The various tests are

outlined below. For more information, refer to the section in the book.

Mean, variance known 4-4 𝑋̅ − 𝜇0 normsdist

𝑍= normsinv

𝜎/√𝑛

Mean, variance 4-5 𝑋̅ − 𝜇0 tdist(x,v,tails)

unknown 𝑇= tinv(p,v)

𝑆/√𝑛

x = standardized T,

using the equation to

the left

v = n-1, the degrees

of freedom

tails = 1 or 2,

depending on the

number of tails for

the alternative

hypothesis

p = probability

Variance 4-6 𝑆 2 (𝑛 − 1) chidist(x,v)

𝜒2 = chiinv(p,v)

𝜎02

x = standardized 𝜒 2 ,

using the equation to

the left

v = n-1, the degrees

of freedom

p = probability

Lab 6 Exercises

For 𝑋̅ = 61492, s = 3035, and n = 10:

1. State the appropriate hypothesis test to see if the sample mean is greater than 60000.

2. Find the P-value for this test.

3. Find the 90% upper confidence (one sided) interval bound on the mean (μ).

4. State the appropriate hypothesis test to see if the sample standard deviation is greater

than 0.02.

5. Find the P-value for this test.

6. Say the 95% confidence interval for the test is 0 ≤ 𝜎 ≤ 0.029. Does the boundary value

agree with what you expected from the P-value?

- original skittlesUploaded byapi-294814707
- 3 - Hypothesis TestingUploaded byEmRan Leghari
- Hypothesis111 - Copy.pdfUploaded byjonnydeep1970virgilio.it
- Hypothesis TestingUploaded byZerreguit Grenyl
- HypothesisUploaded byAnonymous kTVBUxr
- Lecture 12 Preliminary lalaUploaded bykushie0
- MODULE-5Uploaded byJanah Beado Pagay
- Mcq-Introduction to ResearchUploaded bynalini
- ΣΤΑΤΙΣΤΙΚΗ ΛΥΜΕΝΕΣ ΑΣΚΗΣΕΙΣUploaded byGwgw Veliou
- Ch. 10Uploaded byfour threepio
- math 1040 projectUploaded byapi-302665029
- BUSINESS STATISTICS MATERIAL[323].docxUploaded byRudra Ardur
- Understanding_Type_I_and_Type_II_Error.docxUploaded byArun Mannur
- MAST20005 Statistics Assignment 3Uploaded byAnonymous na314kKjOA
- StatisticUploaded byAizel Joy Dalangin
- Course Project bUploaded byAhmad Nijim
- High Speed HupothesesUploaded byCarlos Hurtado
- One-way AnovaUploaded byAgus Pranadi
- statsfinalprojectUploaded byapi-356646281
- Statistics Guidance Contaminated 2008Uploaded byOrla Tang
- HYUploaded byAnurag Srivastava
- Testing of Null Hypotheses in Exploratory Community Analysis-Similarity Profieles and Biota-Environment LinkageUploaded bybriologo2
- Hypothesis TestingUploaded byKalyan Dubal
- EXAM ReviewUploaded byNanban Jin
- Exam 2 Stats 212Uploaded byMartin De Haro Garcia
- ASTM E 2263 – 04Uploaded byFrancisco Guerra
- Sip Project ReportUploaded byMohit Chandra
- Chi Squared TestUploaded byminayoki
- Groupings PaperUploaded byFernanda Daza Goytia
- MBA_YEAR_1_571216NOLUploaded bydikpalak

- Pasteurization Process Energy Optimization for a Milk Dairy Plant by Energy Audit ApproachUploaded byIJSTR Research Publication
- 1-s2.0-S0010482519300526-mainUploaded byAnthony Park
- Diana Wynne Jones - The Tough Guide to Fantasy LandUploaded byDaniel Wakefield
- Diana Wynne Jones - The Tough Guide to Fantasy LandUploaded byDaniel Wakefield
- TBI Quantitative Data GenerationUploaded byAnthony Park
- Reological%20Methods%20in%20Food%20Processing.pdfUploaded byuapaza
- Syllabus TLI521 Drug Development Spring 2019-APUploaded byAnthony Park
- Law Professor Cashin Makes Case for Building Affirmative Action AnewUploaded byAnthony Park
- The mechanism and function of circular RNAs in human diseasesUploaded byAnthony Park
- RulebookUploaded bymiguel barros
- RulebookUploaded bymiguel barros
- Economics - Adam Smith - The Wealth of Nations (Complete and Unabridged) - Mcgraw-HillUploaded bypbmbuss
- NISTperiodic TableUploaded byquelle1
- Reological%20Methods%20in%20Food%20Processing.pdfUploaded byuapaza
- Written Assignment #1 DraftUploaded byAnthony Park
- 64 Interview QuestionsUploaded byshivakumar N
- Final Deliverable ABE 301Uploaded byAnthony Park
- Machiavelli, Niccolò - Selected Political Writings (Hackett, 1994)Uploaded byTomislav Mijatov
- Why Start With WhyUploaded byAnthony Park
- Spence, Jonathan D. - The Search for Modern China (1990)Uploaded byTian Yan
- Machiavelli, Niccolò - Discourses on Livy (2007)Uploaded byauto3871
- Requiem-Manual.pdfUploaded byJoão Machado

- SPSS Regression Models 13.0Uploaded byrajarajkumar543
- first tier managementUploaded byKhurram Chohan
- Forecasting Methods PPTUploaded byryan cappas
- HotelUploaded byPraveen Mishra
- I360 Quality Monitoring US 0810Uploaded byMura László
- homework7-1Uploaded byapi-253978194
- MATLAB Course CatalogUploaded byRonald George
- Ashutosh Bhosle ResumeUploaded byAshutosh Bhosle
- Ch11 SolutionsUploaded byMoon Mint
- Kew Windows for Kew6315 ManualUploaded byKokoOkey
- Writing A Computer Forensic Technical ReportUploaded bycatalinolopez
- d7bc1Home Assignment 1Uploaded byMayank Mittal
- 420S-2_2Uploaded byMuhammad Enam ul Haq
- Data Driven Healthcare Organizations Use Big Data Analytics for Big GainsUploaded byelmamoun1
- Polynomial Curve FittingUploaded byHector Ledesma III
- Syllabus Economics 220Uploaded bySeyranMammadov
- DQE Data Discovery Installation Guide V3.3.4 en-USUploaded byJoyce Shi
- Artikel 4 Gasal 2017-2018Uploaded byLola Debora
- Statistics HciUploaded bysaxycb
- Anxiety of StudentsUploaded bySyed Bilal Ahmad
- Modeling basketball match scores through team specific strength factors.Uploaded byMateo Restrepo Mejía
- Microsoft Power-BI Passo a Passo.pdfUploaded byDouglas Barduzzi
- vts i pre post vts stat calcsUploaded byapi-221168645
- Range BreakoutUploaded byRushaank Shukla
- Introduction to SPSS-01!07!11Uploaded byYasir Irfan
- Analisis ClusterUploaded byinvestigador316
- Multivariate QualityUploaded bychapadany
- Practical PCA Methods in RUploaded bysundar29
- M 2 Data Analytics LifecycleUploaded bybhuvangates
- IT Project ManagerUploaded byapi-78646405