DOC PREVIEW
UCLA STATS 10 - slides_chapters8

This preview shows page 1-2-3-25-26-27 out of 27 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Chapter 8: Hypothesis Testing for Population ProportionsTesting a claim•Earlier we calculated a 95% confidence interval for the true population proportion of UCLA students who travelled outside the US. (0.26, 0.44) •A 95% confidence interval of 26% to 44% means that:•We are 95% confident that the true population proportion of UCLA students who travelled outside the US is between 26% and 44%. •95% of random samples of size n = 100 will produce confidence intervals that contain the true population proportion.Testing a claim•The true population proportion, p, may be outside the interval, but we would expect it to be somewhat close to . •In our random sample of 100 students we had found that 35 of them have at some point in their lives travelled outside the US, . = 0.35.•Do you think it's possible that: •p = 0.90?•p = 0.05?•p =0.34 or p=0.36? •p = 0.25 or p = 0.45? •It is difficult to decide how close is close enough, or how far is too far, and this decision should not be made subjectively.Hypothesis Testing•In Statistics when testing claims we use an objective method called hypothesis testing •Given a sample proportion, ,and sample size, n, we can test claims about the population proportion, p. •We call these claims hypotheses •Our starting point, the status quo, is called the null hypothesis and the alternative claim is called the alternative hypothesisHypothesis Testing•If our null hypothesis was that p = 0.35 and our sample yields . = 0.35, then the data are consistent with the null hypothesis, and we have no reason to not believe this hypothesis. •This doesn't prove the hypothesis but we can say that the data support it. •If our null hypothesis was different than p = 0.35, let's say p = .30 and our sample yields = 0.35, then the data are not consistent with the hypothesis and we need to make choices as to whether this inconsistency is large enough to not believe the hypothesis. •If the inconsistency is significant, we reject the null hypothesisHypothesis Testing for One Proportion•Research conducted a few years ago showed that 35% of UCLA students had travelled outside the US. UCLA has recently implemented a new study abroad program and results of a new survey show that out of the 100 randomly sampled students 42 have travelled abroad. Is there significant evidence to suggest that the proportion of students at UCLA who have travelled abroad has increased after the implementation of the study abroad program? •Population proportion used to be 0.35. New sample proportion is 0.42. •We are testing the claim that the population proportion is now greater than 0.35. •The new data indicate that it may be since 0.42 is clearly grater than 0.35. •But is this difference statistically significant, i.e. are the data inconsistent enough? •We do a formal hypothesis test to answer this question. H0: p = 0.35HA: p>0.35alpha = 0.05check conditions: random; np > 10; n(1-p) >10; N>10nFind z-scoreFind p-valueMake a decision about H0Setting Up Hypotheses•Null hypothesis, denoted by Ho, specifies a population model parameter of interest and proposes a value for that parameter (p). Ho: p = 0.35 •Alternative hypothesis, denoted by HA, is the claim we are testing for.HA: p > 0.35 •Even though we are testing for the alternative hypothesis, we check to see whether or not the null hypothesis is plausible. •If the null hypothesis is not plausible, we reject the null hypothesis and conclude that there is sufficient evidence to support the alternative. If the null hypothesis is plausible, we fail to reject the null hypothesis and conclude that there isn't sufficient evidence to support the alternative.Why do we check if Ho is plausible and not if HA is plausible? •Think about the logic of jury trials: •To prove someone is guilty, we start by assuming they are innocent. •We retain that hypothesis until the facts make it unlikely beyond a reasonable doubt. •Then, and only then, we reject the hypothesis of innocence and declare the person guilty. •The same logic used in jury trials is used in statistical tests of hypotheses: •We begin by assuming that the null hypothesis is true.Next we consider whether the data are consistent with this hypothesis. •If they are, all we can do is retain the hypothesis we started with. If they are not, then like a jury, we ask whether they are unlikely beyond a reasonable doubt.A Trial as a Hypothesis Test•Hypothesis testing is very much like a court trial. •This doesn't prove the hypothesis but we can say that the data support it. •Ultimately we must make a decision. How unlikely is unlikely? •Ho: Defendant is innocent •HA: Defendant is guilty •We then present the evidence - collect data. •Then we judge the evidence - “Could these data plausibly have happened by chance if the null hypothesis were true?” •If they were very unlikely to have occurred, then the evidence raises more than a reasonable doubt in our minds about the null hypothesis. •Ultimately we must make a decision. How unlikely is unlikely?A Trial as a Hypothesis Test•If the evidence is not strong enough to reject the presumption of innocent, the jury returns with a verdict of “not guilty” •The jury does not say that the defendant is innocent. •All it says is that there is not enough evidence to convict, to reject innocence. •The defendant may, in fact, be innocent, but the jury has no way to be sure. •Said statistically, we fail to reject the null hypothesis. •We never declare the null hypothesis to be true, because we simply do not know whether it's true or not. •Therefore we never “accept the null hypothesis”A Trial as a Hypothesis Test•In a trial, the burden of proof is on the prosecution. •In a hypothesis test, the burden of proof is on the unusual claim. •The null hypothesis is the ordinary state of affairs (the status quo), so it's the alternative hypothesis that we consider unusual (and for which we must gather evidence).How do we determine if Ho is plausible? •In Statistics we can quantify our level of doubt. •How unlikely is it to get a random sample of 100 students where 42 have travelled abroad if in fact the true population proportion is 35%? •To answer this question we use the model proposed by the null hypothesis as a given and calculate the probability that the event we have witnessed could happen. Prob(observed or more extreme outcome | H0 true) = Prob(


View Full Document

UCLA STATS 10 - slides_chapters8

Download slides_chapters8
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view slides_chapters8 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view slides_chapters8 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?