Docsity

Lecture Notes on Introduction to Statistical Methods | STAT 301, Study notes of Statistics

Toggle sidebar
bg1
STAT 301 TA : Lisa Chung [email protected]
DISCUSSION 13
(Dec. 6. 2004)
•Two Types of Hypothesis
Alternative hypothesis H1- the claim we wish to establish.
Null hypothesis H0- the current belief.
H0H1
µ < µ0
µ=µ0µ > µ0
µ6=µ0
•Test Statistic
A sample statistic used to decide whether to reject H0. (Never say reject H1)
•Rejection Region
The numerical values of the test statistic for which H0will be rejected.
•Two Types of Errors and Their Probabilities
Type I error - wrong rejection of H0when H0is true.
Type II error - wrong retention of H0when H1is true.
α= P(making type I error) = size of the test = level of significance
β= P(making type II error)
•P-value (observed significance level)
The probability calculated under H0that the test statistic takes a value equal to or more extreme
than the value actually observed. The P-value serves as a measure of the strength of evidence
against H0. A small P-value means that the null hypothesis is strongly rejected or the result is
highly statistically significant.
•Summary of Steps
1. List H0and H1.
2. Using Z to determine rejection region.
3. Compute Zobs from the data.
4. Draw conclusion.
5. Compute P-value.
Example 1. With a random sample of size n= 144, someone proposes
(¯
X−.12S, ¯
X+.12S) to be a confidence interval for µ. What then is the level of confidence?
Example 2. Suppose you are to verify the claim that µ > 20 on the basis of a random sample of
size 70, and you know that σ= 5.6.
a. If you set the rejection region to be R:¯
X≥21.31, what is the level of significance of your test?
b. Find the numerical value of cso that the test R:¯
X≥chas a 5 % level of significance.
Example 3. A sample of 40 sales receipts from a university bookstore has ¯x= $121 and s=$10.2.
Use these values to perform a test of
a. H0:µ= 125 versus H1:µ < 125 with α= .05
Off. Hour: W 1:00-3:00 p.m. 1 1275A MSC, 262-1577
pf2

Partial preview of the text

Download Lecture Notes on Introduction to Statistical Methods | STAT 301 and more Study notes Statistics in PDF only on Docsity!

STAT 301 TA : Lisa Chung [email protected]

DISCUSSION 13

(Dec. 6. 2004)

  • Two Types of Hypothesis Alternative hypothesis H 1 - the claim we wish to establish. Null hypothesis H 0 - the current belief. H 0 H 1 μ < μ 0 μ = μ 0 μ > μ 0 μ 6 = μ 0
  • Test Statistic A sample statistic used to decide whether to reject H 0. (Never say reject H 1 )
  • Rejection Region The numerical values of the test statistic for which H 0 will be rejected.
  • Two Types of Errors and Their Probabilities Type I error - wrong rejection of H 0 when H 0 is true. Type II error - wrong retention of H 0 when H 1 is true. α = P(making type I error) = size of the test = level of significance β = P(making type II error)
  • P-value (observed significance level) The probability calculated under H 0 that the test statistic takes a value equal to or more extreme than the value actually observed. The P-value serves as a measure of the strength of evidence against H 0. A small P-value means that the null hypothesis is strongly rejected or the result is highly statistically significant.
  • Summary of Steps
    1. List H 0 and H 1.
    2. Using Z to determine rejection region.
    3. Compute Zobs from the data.
    4. Draw conclusion.
    5. Compute P-value.

Example 1. With a random sample of size n = 144, someone proposes ( X¯ −. 12 S, X¯ +. 12 S) to be a confidence interval for μ. What then is the level of confidence?

Example 2. Suppose you are to verify the claim that μ > 20 on the basis of a random sample of size 70, and you know that σ = 5.6. a. If you set the rejection region to be R : X¯ ≥ 21 .31, what is the level of significance of your test? b. Find the numerical value of c so that the test R : X¯ ≥ c has a 5 % level of significance.

Example 3. A sample of 40 sales receipts from a university bookstore has ¯x = $121 and s=$10.2. Use these values to perform a test of a. H 0 : μ = 125 versus H 1 : μ < 125 with α=.

Off. Hour: W 1:00-3:00 p.m. 1 1275A MSC, 262-

STAT 301 TA : Lisa Chung [email protected]

b. H 0 : μ = 125 versus H 1 : μ 6 = 125 with α=.

Example 4. It is claimed that a new treatment is more effective than the standard treatment for prolonging the lives of terminal cancer patients. The standard treatment has been in use for a long time, and from records in medical journals, the mean survival period is known to be 4. years. The new treatment is administered to 80 patients and their duration of survival recorded. The sample mean and the standard deviation are found to be 4.5 and 1.1 years, respectively. Is the claim supported by these results? Test at α = 0.05. Also, calculate the P-value.

Example 5. Calculating from a random sample of 36 observations, one obtains the results ¯x = 80.4 and s = 16.2. In the context of each of the following hypothesis testing problems, determine the P-value of these results and state Whether or not it signifies a strong rejection of H 0. a. Test H 0 : μ = 85 versus H 1 : μ < 85 b. Test H 0 : μ = 76 versus H 1 : μ 6 = 76

Off. Hour: W 1:00-3:00 p.m. 2 1275A MSC, 262-