10.07.2015 Views

Using R for Introductory Statistics : John Verzani

Using R for Introductory Statistics : John Verzani

Using R for Introductory Statistics : John Verzani

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Significance tests 2158.5 On a number of highways a toll is collected <strong>for</strong> permission to travel on theroadway. To lessen the burden on drivers, electronic toll-collection systems are oftenused. An engineer wishes to check the validity of one such system. She arranges tosurvey a collection unit <strong>for</strong> single day, finding that of 5,760 transactions, the systemaccurately read 5,731. Per<strong>for</strong>m a one-sided significance test to see if this is consistentwith a 99.9% accuracy rating at the 0.05 significance level. (Do you have any doubts thatthe normal approximation to the binomial distribution should apply here?)8.6 In Example 8.3 a count of 5,850 in the survey produced a p-value of 0.002363.What range of counts would have produced a p-value less than 0.05? (Start by askingwhat observed proportions in the survey would have such a p-value.)8.7 Historically, a car from a given company has a 10% chance of having a significantmechanical problem during its warranty period. A new model of the car is being sold. Ofthe first 25,000 sold, 2,700 have had an issue. Per<strong>for</strong>m a test of significance to seewhether the proportion of these new cars that will have a problem is more than 10%.What is the p-value?8.8 A poll taken in 2003 of 200 Europeans found that only 16% favored the policies ofthe United States. Do a test of significance to see whether this is significantly differentfrom the 50% proportion of Americans in favor of these policies.8.2 Significance test <strong>for</strong> the mean (t-tests)Significance tests can also be constructed <strong>for</strong> the unknown mean of a parent population.The hypotheses take the <strong>for</strong>mH 0 :µ=µ 0 , H A :µµ 0 , or µ≠µ 0 .For many populations, a useful test statistic isT takes the <strong>for</strong>m of “observed” minus “expected,” divided by the standard error, wherethe expected value and the standard error are found under the null hypothesis.In the case of normally distributed initial data, the sampling distribution of T under thenull hypothesis is known to be the t-distribution with n−1 degrees of freedom. If n islarge enough, the sampling distribution of T is a standard normal by the central limittheorem. As both the t distribution and normal distribution are similar <strong>for</strong> large n, thefollowing applies to both assumptions.Test of significance <strong>for</strong> the population meanIf the data X 1 , X 2 , …, X n is an i.i.d. sequence from a Normal (µ, σ) distribution, or n islarge enough <strong>for</strong> the central limit theorem to apply, a test of significance <strong>for</strong>H 0 :µ=µ 0 , H A :µµ 0 , or µ≠µ 0can be per<strong>for</strong>med with test statistic

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!