Statistics Chapter 9 - Part C Chi-Square

Similar documents
1. What is the critical value for this 95% confidence interval? CV = z.025 = invnorm(0.025) = 1.96

Calculating P-Values. Parkland College. Isela Guerra Parkland College. Recommended Citation

Understand the role that hypothesis testing plays in an improvement project. Know how to perform a two sample hypothesis test.

Lesson 1: Comparison of Population Means Part c: Comparison of Two- Means

Class 19: Two Way Tables, Conditional Distributions, Chi-Square (Text: Sections 2.5; 9.1)

Section 7.1. Introduction to Hypothesis Testing. Schrodinger s cat quantum mechanics thought experiment (1935)

Study Guide for the Final Exam

2 Sample t-test (unequal sample sizes and unequal variances)

Chapter Study Guide. Chapter 11 Confidence Intervals and Hypothesis Testing for Means

November 08, S8.6_3 Testing a Claim About a Standard Deviation or Variance

8 6 X 2 Test for a Variance or Standard Deviation

Introduction. Hypothesis Testing. Hypothesis Testing. Significance Testing

Regression Analysis: A Complete Example

Independent t- Test (Comparing Two Means)

Hypothesis Testing --- One Mean

Comparing Two Groups. Standard Error of ȳ 1 ȳ 2. Setting. Two Independent Samples

LAB 4 INSTRUCTIONS CONFIDENCE INTERVALS AND HYPOTHESIS TESTING

Statistics 2014 Scoring Guidelines

This can dilute the significance of a departure from the null hypothesis. We can focus the test on departures of a particular form.

HYPOTHESIS TESTING: POWER OF THE TEST

Chapter 8: Hypothesis Testing for One Population Mean, Variance, and Proportion

Non-Parametric Tests (I)

Chapter 7 Notes - Inference for Single Samples. You know already for a large sample, you can invoke the CLT so:

Business Statistics, 9e (Groebner/Shannon/Fry) Chapter 9 Introduction to Hypothesis Testing

Lecture Notes Module 1

STAT 350 Practice Final Exam Solution (Spring 2015)

Unit 26 Estimation with Confidence Intervals

individualdifferences

HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as...

Descriptive Statistics

Chapter 2. Hypothesis testing in one population

Final Exam Practice Problem Answers

Hypothesis Testing: Two Means, Paired Data, Two Proportions

DDBA 8438: The t Test for Independent Samples Video Podcast Transcript

Review #2. Statistics

Testing Research and Statistical Hypotheses

CHAPTER 14 NONPARAMETRIC TESTS

Two Related Samples t Test

1.5 Oneway Analysis of Variance

3.4 Statistical inference for 2 populations based on two samples

EXAM #1 (Example) Instructor: Ela Jackiewicz. Relax and good luck!

Two-Sample T-Tests Assuming Equal Variance (Enter Means)

Chapter 5 Analysis of variance SPSS Analysis of variance

Math 108 Exam 3 Solutions Spring 00

HYPOTHESIS TESTING (ONE SAMPLE) - CHAPTER 7 1. used confidence intervals to answer questions such as...

Comparing Means in Two Populations

CONTINGENCY TABLES ARE NOT ALL THE SAME David C. Howell University of Vermont

Unit 31 A Hypothesis Test about Correlation and Slope in a Simple Linear Regression

statistics Chi-square tests and nonparametric Summary sheet from last time: Hypothesis testing Summary sheet from last time: Confidence intervals

12.5: CHI-SQUARE GOODNESS OF FIT TESTS

Statistics I for QBIC. Contents and Objectives. Chapters 1 7. Revised: August 2013

Standard Deviation Estimator

Introduction to Hypothesis Testing. Hypothesis Testing. Step 1: State the Hypotheses

Density Curve. A density curve is the graph of a continuous probability distribution. It must satisfy the following properties:

BA 275 Review Problems - Week 6 (10/30/06-11/3/06) CD Lessons: 53, 54, 55, 56 Textbook: pp , ,

Measures of Central Tendency and Variability: Summarizing your Data for Others

2 ESTIMATION. Objectives. 2.0 Introduction

Lecture 8. Confidence intervals and the central limit theorem

AP: LAB 8: THE CHI-SQUARE TEST. Probability, Random Chance, and Genetics

CHI-SQUARE: TESTING FOR GOODNESS OF FIT

ELEMENTARY STATISTICS

Comparing Multiple Proportions, Test of Independence and Goodness of Fit

Testing a claim about a population mean

1 Nonparametric Statistics

Bivariate Statistics Session 2: Measuring Associations Chi-Square Test

Chapter 7 Section 7.1: Inference for the Mean of a Population

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Lesson 7 Z-Scores and Probability

Paired 2 Sample t-test

CHAPTER 11 CHI-SQUARE AND F DISTRIBUTIONS

THE KRUSKAL WALLLIS TEST

Chapter 3 RANDOM VARIATE GENERATION

Online 12 - Sections 9.1 and 9.2-Doug Ensley

Chapter 4. Probability and Probability Distributions

II. DISTRIBUTIONS distribution normal distribution. standard scores

CALCULATIONS & STATISTICS

EPS 625 INTERMEDIATE STATISTICS FRIEDMAN TEST

Odds ratio, Odds ratio test for independence, chi-squared statistic.

Randomized Block Analysis of Variance

Week 3&4: Z tables and the Sampling Distribution of X

Statistics Review PSY379

Part 2: Analysis of Relationship Between Two Variables

Stats Review Chapters 9-10

HYPOTHESIS TESTING WITH SPSS:

Appendix 2 Statistical Hypothesis Testing 1

Opgaven Onderzoeksmethoden, Onderdeel Statistiek

University of Chicago Graduate School of Business. Business 41000: Business Statistics

NCSS Statistical Software

" Y. Notation and Equations for Regression Lecture 11/4. Notation:

Chapter 9. Two-Sample Tests. Effect Sizes and Power Paired t Test Calculation

Non-Inferiority Tests for Two Means using Differences

Consider a study in which. How many subjects? The importance of sample size calculations. An insignificant effect: two possibilities.

Principles of Hypothesis Testing for Public Health

You have data! What s next?

CHAPTER 13 SIMPLE LINEAR REGRESSION. Opening Example. Simple Regression. Linear Regression

Chapter 3. The Normal Distribution

Friedman's Two-way Analysis of Variance by Ranks -- Analysis of k-within-group Data with a Quantitative Response Variable

Simple Linear Regression Inference

How To Test For Significance On A Data Set

Transcription:

Due Date: Name: The Chi-Square Distribution. Statistics Chapter 9 - Part C Chi-Square Set: Doing a test on the mean does not tell us about how much variation there is in a process or distribution. Knowing that a machine puts an average of 6 oz. of pop in a bottle is not very helpful if sometimes it puts 0 oz. and sometimes it puts 22 oz. In this case we want to know the variance (or the standard deviation), to know if the process is working correctly. The chi-square (pronounced ki-square, as in kite) distribution allows us to make inferences about the variance of a normal population. Like the Student's t-distribution, the chi-square distribution is a family of distributions, each one identified by the degrees of freedom (n - ). The critical values for the chi-square distribution are found in Table 8 in Appendix B (Page 583). As the chi-square is not symmetrical, the values for the right hand tail and the left hand tail must be given separately. Note that the chi-square distribution is always positive. It is impossible to get a negative variance (or standard deviation). Question.) Exercise 9.05 & 9.06 Find the chi-square critical value using Table 8 in Appendix B. The chi-square is presented with the degrees of freedom, df, and the value of alpha. X^2(df,alpha) Always assume alpha is in the right hand tail, unless the question specifies that alpha is in the left hand tail. X^2(,0.0) Find the chi-square critical value using Table 8 in Appendix B. alpha = 0.9 (Alpha is in the right hand tail.) Sample size, n = 5 Find the chi-square critical value using Table 8 in Appendix B. alpha = 0.25 (Alpha is in the left hand tail, but chi-square cannot be negativ Sample size, n = 7 Find the chi-square critical value using Table 8 in Appendix B. Sample size, n = 2 alpha = 0. (This is a 2-tail test, so alpha must be divided over the two tails.) A chi-square two tail test will have two different values, because the chi-square is not symmetrical. Present the value for the left hand tail first, then the right hand tail. Page #

Question 2.) Exercise 9.07 & 9.08 What value of chi-square for 9 degrees of freedom subdivides the area under the distribution curve such that 99.5% is to the right and 0.5% is to the left? (3 points) What is the value of the 5th percentile for the chi-square distribution with 28 degrees of freedom? (3 points) The central 50% of the chi-square distribution with 5 degrees of freedom lies between what two values? Question 3.) Exercise 9.09 & 9.0 For a chi-square distribution with 2 degrees of freedom, find the area under the curve for chi-square values ranging from 20.34 to 4.4. Round your answer to 3 decimal places. For a chi-square distribution with 3 degrees of freedom, find the area under the curve between X^2(3, 0.995) and X^2(3, 0.05). Round your answer to 3 decimal places. Page #2

Question 4.) Exercise 9. When testing hypotheses about the chi-square, the Null Hypothesis and the Alternate Hypothesis must both be in terms of sigma or sigma^2 instead of mu or p. The Null Hypothesis must still contain, "=", the equals sign. Depending upon the situation, the Alternate Hypothesis can contain either "greater than", >, "less than", <, or "not equal to" <>. The value stated in the Alternate Hypothesis is always the same as the value stated in the Null Hypothesis. For each of the following situations chose the letter which represents the Alternate Hypothesis that would be used to test these claims. Remember the alternate hypothesis is always the negation of the original situation. You suspect the standard deviation has decreased from its previous value of 24. ("a") Ha: sigma > 24 ("b") Ha: sigma < 24 ("c") Ha: sigma <> 24 The new standard deviation is more than the old value of 0. ("a") Ha: sigma > 0 ("b") Ha: sigma < 0 ("c") Ha: sigma <> 0 The old standard deviation is no smaller than 0.5 oz. ("a") Ha: sigma > 0.5 oz. ("b") Ha: sigma < 0.5 oz. ("c") Ha: sigma <> 0.5 oz. The old variance is no more than 8. ("a") Ha: sigma^2 > 8 ("b") Ha: sigma^2 < 8 ("c") Ha: sigma^2 <> 8 The new variance seems to be different from the 0.025 value indicated in the specs. ("a") Ha: sigma^2 > 0.025 ("b") Ha: sigma^2 < 0.025 ("c") Ha: sigma^2 <> 0.025 f.) The new variance has decreased from 34.5. ("a") Ha: sigma^2 > 34.5 ("b") Ha: sigma^2 < 34.5 ("c") Ha: sigma^2 <> 34.5 Page #3

Question 5.) Exercise 9.2 & 9.3 & 9.4 When doing a Hypothesis test using the chi-square, we need to calculate X^2* from the sample information, and the hypothesized value of sigma. X^2* =[(n - ) * s^2 ] / sigma^2 Calculate the value of the test statistic, X^2* for the following situation. (Round your answer to 2 decimal places.) Ho: sigma^2 = 4, n = 44, s^2 = 40.99 To find the critical value of X^2, find X^2(df,alpha). For a -tail test, the sign in Ha will tell you which side of the chi-square distribution to look in. For a 2-tail test, report both values, but remember that alpha must be divided in two, before looking on the table. Determine the critical value(s) that would be used to test the following Hypothesis test using the classical approach. Ho: sigma = 0.49, vs. Ha > 0.49, n =, alpha = 0.0 (6 points) Question 6.) Exercise 9.8a A commercial farmer harvests his entire field of a vegetable crop at one time. Therefore, he would like to plant a variety of green beans that mature all at the same time. (Small standard deviation for the maturity times of individual plants.) A seed company has developed a new hybrid strain of green bean that it wants the farmer to test. The maturity times of the standard variety have an average of 54 days and a standard deviation of 2.79 days. A random sample of 24 plants of the new hybrid showed a standard deviation of 2.72 days. Does this sample show a lower standard deviation at the 0.05 level of significance? Assume that maturity times are normally distributed. State the Null and Alternate Hypotheses ("a") Ho: mu = 2.79, Ha: mu < 2.79 ("b") Ho: p = 2.79, Ha: p < 2.79 ("c") Ho: sigma = 2.79, Ha: sigma < 2.79 ("d") Ho: sigma^2 = 2.79, Ha: sigma^2 < 2.79 ("e") Ho: mu = 2.79, Ha: mu > 2.79 ("f") Ho: p = 2.79, Ha: p > 2.79 ("g") Ho: sigma = 2.79, Ha: sigma > 2.79 ("h") Ho: sigma^2 = 2.79, Ha: sigma^2 > 2.79 ("i") Ho: mu = 2.79, Ha: mu <> 2.79 ("j") Ho: p = 2.79, Ha: p <> 2.79 ("k") Ho: sigma = 2.79, Ha: sigma <> 2.79 ("l") Ho: sigma^2 = 2.79, Ha: sigma^2 <> 2.79 Determine the critical value(s). The number of decimal places depends upon the numbers in the table. Make a decision using the classical approach. ("a") Reject Ho ("b") Fail to Reject Ho ("c") Accept Ha Page #4

Question 7.) Illustration 9.5 The soft-drink bottling company wants to control the variablility in the amount of fill by not allowing the variance to exceed 0.00033. Does a sample size of 30 with a variance of 0.00056 indicate that the bottling process is out of control (with regard to variance) at the 0.025 level of significance? Question 8.) Illustration 9.6 The manufacturer claims that a photographic chemical has a shelf life that is normally distributed about a mean of 80 days with a standard deviation of 2 days. As a user of this chemical, Fast Photo is concerned that the standard deviation might be different from 2 days; otherwise, it will buy a larger quantity while the chemical is part of a special promotion. Twelve random samples were selected and tested, with a standard deviation of 6 days resulting. At the 0.05 level of significance, does the sample standard deviation present sufficient evidence to show that the standard deviation is different from 2 days? f.) Should Fast Photo buy larger quantities of the chemical when it is on sale? Page #5

Question 9.) Exercise 9.9 A car manufacturer claims that the miles per gallon for a certain model have a mean of 40.9 miles with a standard deviation equal to 3.58 miles. Use the following data, obtained from a random sample of 5 such cars, to test the hypothesis that the standard deviation differs from 3.58. Use alpha = 0.2. Assume normality. The 5 sample miles per gallon were 34, 37, 42.5, 45, 35, 3, 35, 36.5, 37, 43.5, 39, 4.5, 35, 3, 38.5. Sum of x = Sum of x^2 = Variance = St dev (Rounded to 2 decimals) = (Use the rounded standard deviation in this calculation.) f.) Question 0.) Exercise 9.50 Bright-Lite claims that its 60-watt light bulb burns with a length of life that is approximately normally distributed with a standard deviation of 79 hours. A sample of 5 bulbs had a variance of 8833. Is this sufficient evidence to reject Bright-Lite's claim in favour of the alternative; "The standard deviation is longer than 79 hours," at the 0.005 level of significance? Page #6

Statistics Chapter 9 - Part C Chi-Square Answers 6/29/2009 2:27 Question.) Question 8.) 24.7 <> 7.79 6.7 df = n - = 2 - = 4.57 9.7 alpha = 0.05 X^2(df,alpha) = X^2(, 0.975) = 3.82 X^2(df,alpha) = X^2(, 0.025) = 2.9 Question 2.) 6.84 n = 2 n - = 6.9 s^2 = 256.0 8.2 sigma^2 = 44 X^2* = 9.56 Question 3.) Diagram 0.495 0.945 RH = 3.82 LH = 2.9 X^2* = 9.56 Question 4.) b Ha: sigma < 24 Fail to Reject Ho a Ha: sigma > 0 f.) b Ha: sigma < 0.5 a Ha: sigma^2 > 8 c Ha: sigma^2 <> 0.025 f.) b Ha: sigma^2 < 34.5 Question 9.) Question 5.) 42.99 23.2 Yes, buy larger quantities because the variation is close enough to the time specified by the manufacturer. <> 56.5 2272.25 8.0238095 4.25 Question 6.) df = n - = 5 - = 4 c alpha = 0.2; alpha/2 = 0. 3. X^2(df,alpha) = X^2(4, 0.9) = 7.79 2.86 X^2(df,alpha) = X^2(4, 0.) = 2. b Fail to Reject Ho n = 5 n - = 4 s^2 = 8.0625 Question 7.) sigma^2 = 2.864 > X^2* = 9.73 df = n - = 30 - = 29 Diagram alpha = 0.025 RH = 7.79 X^2(df,alpha) = X^2(29,0.025) = 45.7 LH = 2. X^2* = 9.73 n = 30 n - = 29 s^2 = 0.00056 f.) Fail to Reject Ho sigma^2 = 0.00033 X^2* = 49.2 Question 0.) > Diagram df = n - = 5 - = 50 RH = 45.7 alpha = 0.005 X^2* = 49.2 X^2(df,alpha) = X^2(50, 0.005) = 79.5 n = 5 n - = 50 Reject Ho s^2 = 8833 sigma^2 = 624 X^2* = 70.77 Diagram RH = 79.5 X^2* = 70.77 Fail to Reject Ho Page #7