6 2 large sample significance tests for a mean
Download
Skip this Video
Download Presentation
6.2 Large Sample Significance Tests for a Mean

Loading in 2 Seconds...

play fullscreen
1 / 40

6.2 Large Sample Significance Tests for a Mean - PowerPoint PPT Presentation


  • 123 Views
  • Uploaded on

6.2 Large Sample Significance Tests for a Mean. “The reason students have trouble understanding hypothesis testing may be that they are trying to think.” Deming. In a law case, there are 2 possibilities for the truth—innocent or guilty

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' 6.2 Large Sample Significance Tests for a Mean' - darren


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
6 2 large sample significance tests for a mean
6.2 Large Sample Significance Tests for a Mean

“The reason students have trouble understanding hypothesis testing may be that they are trying to think.” Deming

slide2
In a law case, there are 2 possibilities for the truth—innocent or guilty
  • Evidence is gathered to decide whether to convict the defendant. The defendant is considered innocent unless “proven” to be guilty “beyond a reasonable doubt.” Just because a defendant is not found to be guilty doesn’t prove the defendant is innocent. If there is not much evidence one way or the other the defendant is not found to be guilty.
for statistical hypothesis testing we have 2 possibilities to choose from
For Statistical Hypothesis Testing, We have 2 possibilities to choose from,
  • H0=Null hypothesis (innocent)

Held on to unless there is sufficient evidence to the contrary

  • Ha=Alternative hypothesis (guilty)

We reject H0 in favor of Haif there is enough evidence favoring Ha

tests of hypotheses
Tests of Hypotheses
  • Distribution(s) or population(s):
  • Parameter(s) such as mean and variance
  • Assertion or conjecture about the population(s) – statistical hypotheses

1. About parameter(s): means or variances

2. About the type of populations: normal ,

binomial, or …

example
Example
  • Is a coin balanced?

This is the same as to ask if p=0.5

  • Is the average lifetime of a light bulb equal to 1000 hours?

The assertion is μ=1000

null hypotheses and alternatives
Null Hypotheses and Alternatives
  • We call the above two assertions

Null Hypotheses

Notation: H0: p=0.5 and H0:μ=1000

If we reject the above null hypotheses,

the appropriate conclusions we arrive are

called alternative hypotheses

Ha: p0.5 Ha: μ1000

null hypothesis vs alternative
Null Hypothesis vs Alternative
  • H0: p=0.5 vsHa: p0.5
  • H0:μ=1000vsHa: μ1000
  • It is possible for you to specify other alternatives
  • Ha: p>0.5 or Ha: p<0.5
  • Ha: μ>1000 or Ha: μ<1000
significance testing hypothesis testing
Significance Testing /Hypothesis Testing
  • A company claims its light bulbs last on average 1000 hours. We are going to test that claim.
  • We might take the null and alternative hypotheses to be

H0:μ=1000vsHa: μ1000

or may be

H0:μ=1000vsHa: μ<1000

mistakes or errors
Mistakes or errors:
  • Law case—convict an innocent defendant; or fail to convict a guilty defendant.
  • The law system is set up so that the chance of convicting an innocent person is small. Innocent until “proven guilty” beyond a reasonable doubt.
two types of errors in statistical testing
Two Types of Errors in statistical testing
  • Type I error -- reject H0 when it is true (convict innocent person)
  • Type II error -- accept H0 when it is not true (find guilty person innocent)
statistical hypotheses are set up to
Statistical hypotheses are set up to
  • Control type I error

=P(type I error)

=P(reject H0 when H0 true)

(a small number)

  • Minimize type II error

=P(type II error)

=P(accept H0 when H0 false)

control types of errors
Control Types of Errors
  • In practice,  is set at some small values, usually 0.05
  • If you want to control  at some small values, you need to figure out how large a sample size (n) is required to have a small  also.
  • 1-  is called the power of the test
  • 1- =Power=P(reject H0 when H0 false)
example1
Example
  • X=breaking strength of a fish line, normal distributed with σ=0.10.
  • Claim: mean is =10
  • H0: =10 vs HA: 10

A random sample of size n=10 is taken,

and sample mean is calculated

  • Accept H0 if
  • Type I error?
  • Type II error when =10.10?
solution
Solution
  • Type I error=P(reject H0 when =10)
solution1
Solution
  • Type II error=P(accept H0 when H0 false)
  • Power=1-0.0571=0.9429
tests concerning means
Tests concerning Means
  • 5 steps to set up a statistical hypothesis test
steps p 350
Steps (p. 350)
  • Steps 1 and 2: State the null and alternative hypothesis.
  • Step 3: State the test criteria. That is, give the formula for the test statistic (plugging in only the hypothesized value from the null hypothesis but not any sample information) and the reference distribution. Then state in general terms what observed values of the test statistic constitute evidence against the null hypothesis.
slide20

Step 4: Show the sample based calculations.

  • Step 5: Report an observed level of significance, p-value, and (to the extent possible) state its implications in the context of the real engineering problem.
slide25

Interpret the Results

If the p-value is small,

This type of data are unlikely if H0 is true.

The fact that we are looking at this data set right now indicates that H0 is likely not true.

The null hypothesis looks bad  reject H0 .

slide26

The p-value is the probability of a result at least as extreme (away from what the null hypothesis would have predicted) if in fact the null hypothesis is true.

  • So if the data are extremely unlikely when the null hypothesis is true,
    • The p-value is small and
    • The null hypothesis looks bad.
slide32

P-values and hypothesis testing are widely used.

  • However, in my opinion and some others’ opinions (see author’s comments later in the chapter), more often than not, such significance tests are not useful summaries. See Deming quote earlier.
  • Generally, confidence intervals are more useful summaries.
exercise
Exercise

Given that n=25, s=100, and sample mean is 1050,

1. Test the hypotheses H0: m=1000 vs HA: m<1000 at level a=0.05.

2. Test the hypotheses H0: m=1000 vs HA: m≠1000 at level a=0.05.

solution2
Solution

1.

2.

More evidence against H0 is smaller values of z

Evidence against H0 is z values away from 0 in either direction

ad