Download Document

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
ENGR 610
Applied Statistics
Fall 2007 - Week 6
Marshall University
CITE
Jack Smith
Overview for Today


Go over exam #1
Hypothesis Testing (Ch 9, sections 1-3)



Introduction and Basic Concepts
One-Sample Tests for the Mean
Homework assignment
Hypothesis Testing

Introduction and Basic Concepts





Null hypothesis
Critical value and regions of rejection,
acceptance (non-rejection)
Type I and Type II errors
Level of significance
Power of a test
Hypothesis Testing

One-Sample Tests for the Mean






Z Test ( known)
t Test ( unknown)
Two-tailed and one-tailed tests
p-value
Connection with Confidence Interval
Z Test for the proportion
Null hypothesis





A suspect “no difference” claim about a population
parameter
Tested by sample statistics and either rejected or
accepted based on critical value
Rejection implies that an alternative (opposite)
hypothesis is more probable
Analogous to ‘proof by contradiction’ or ‘innocent until
proven guilty’
Only the null hypothesis involves an equality, while
the alternative hypothesis deals only with inequalities
Critical Regions

Critical value (Z, t, F, 2,…)


Rejection (alternative hypothesis) region


Based on desired level of significance
One-tailed or two-tailed
Acceptance (non-rejection) region
Type I and Type II errors

Type I error - false negative


Null hypothesis rejected when in fact true
Occurs with probability 



Type II error - false positive


Null hypothesis accepted when in fact false
Occurs with probability 




 = level of significance - chosen!
(1- ) = confidence coefficient
 = consumer’s risk
(1- ) = power of test
Depends on , difference between hypothesized and actual
parameter value, and sample size
Seek proper balance between Type I and II errors
Z Test ( known) - Two-tailed

Critical value (Zc) based on chosen level of
significance, 



Typically  = 0.05 (95% confidence), where
Zc = 1.96 (area = 0.95/2 = 0.475)
 = 0.01 (99%) and 0.001 (99.9%) are also common, where
Zc = 2.57 and 3.29
Null hypothesis rejected if sample Z > Zc or < -Zc,
where
Z
X 

n
Z Test ( known) - One-tailed

Critical value (Zc) based on chosen level of
significance, 


Typically  = 0.05 (95% confidence), but where
Zc = 1.645 (area = 0.95 - 0.50 = 0.45)
Null hypothesis rejected if sample Z > Zc, where
Z
X 

n
t Test ( unknown) - Two-tailed

Critical value (tc) based on chosen level of
significance, , and degrees of freedom, n-1


Typically  = 0.05 (95% confidence), where, for example
tc = 2.045 (upper area = 0.05/2 = 0.025), for n-1 = 29
Null hypothesis rejected if sample t > tc or < -tc, where
X 
t
s
n
t
Z Test on Proportion

Using normal approximation to binomial
distribution
p
Z
n (1  )

p-value

Use probabilities corresponding to Z
values



If the p-value  , accept null hypothesis
If the p-value < , reject null hypothesis
More direct, does not necessarily
assume distribution is normal
Connection with Confidence Interval


Compute the Confidence Interval for the
statistic (e.g., the mean) as in Ch 8
If the computed statistic is within the
interval, accept the null hypothesis,
otherwise reject it
Homework



Read Chapter 9 (all sections)
Work through Appendix 9.1 (Z test and t test)
Work and hand in Problem 9.2
Related documents