• Nie Znaleziono Wyników

Lecture 5

N/A
N/A
Protected

Academic year: 2021

Share "Lecture 5"

Copied!
26
0
0

Pełen tekst

(1)
(2)

A

Hypothesis

is a statement about the value of a

population parameter developed for the purpose

of testing. Examples of hypotheses made about a

population parameter are:

– The mean monthly income for systems analysts is $3,625.

(3)

• Hypotheses are tested in pairs.

• The alternative hypothesis is the claim that we

are trying to prove.

• The null hypothesis is the claim that we want

to disprove. The null hypothesis often

represents current belief about the value of

the parameter. We think that the current

(4)

Important Things to Remember about H

0

and H

1

• H

0

: null hypothesis and H

1

: alternate hypothesis

• H

0

and H

1

are mutually exclusive and collectively exhaustive

• H

0

is always presumed to be true

• H

1

has the burden of proof

• A random sample (n) is used to “reject H

0

• If we conclude 'do not reject H

0

', this does not necessarily mean

that the null hypothesis is true, it only suggests that there is not

sufficient evidence to reject H

0

; rejecting the null hypothesis then,

suggests that the alternative hypothesis may be true.

• Equality is always part of H

0

(e.g. “=” , “≥” , “≤”).

(5)
(6)

.

• Type I Error -

– Defined as the probability of rejecting the null

hypothesis when it is actually true.

– This is denoted by the Greek letter “

– Also known as the significance level of a test

• Type II Error:

– Defined as the probability of “accepting” the

null hypothesis when it is actually false.

(7)

.

• p-VALUE

is the probability of observing a sample value as

extreme as, or more extreme than, the value observed,

given that the null hypothesis is true.

• In testing a hypothesis, we can also compare the p-value

to with the significance level (

).

(8)

Steps in hypotheses testing

• Specify null and alternative hypotheses and select

• significance level

• Choose test statistic and formulate a decision rule

• Take a sample, make decision and interpret

(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)

Example:

A random sample of 17 police officers in Brownsville has a mean annual income of

$35,800 and a standard deviation of $7,800. In Greensville, a random sample of 18 police officers has a mean annual income of $35,100 and a standard deviation of $7,375. Test the claim at  = 0.01 that the mean annual incomes in the two cities are not the same. Assume the population variances are equal.

(21)
(22)

H_0 is not rejected

(23)

Two-Sample Tests of Hypothesis:

Dependent Samples

Dependent samples are samples that are paired or related in some fashion.

For example:

– If you wished to buy a car you would look at the same car at two (or more)

different dealerships and

compare the prices.

– If you wished to measure the effectiveness of a new diet you would weigh the dieters at the start and at the finish of the program.

EXAMPLE

(24)

To perform a two-sample hypothesis test with dependent samples, the

difference between each data pair is first found:

d = x1 – x2

Difference between entries for a data pair.

The test statistic is the mean of these differences.

d

t

d

s

d

n

/

Where

is the mean of the differences

sd is the standard deviation of the differences

n is the number of pairs (differences)

(25)

Step 1: State the null and alternate hypotheses.

H0: d = 0 H1: d ≠ 0

Step 2: State the level of significance.

The .05 significance level is stated in the problem.

Step 3: Find the appropriate test statistic.

We will use the t-test

Step 4: State the decision rule.

Reject H0 if

t > t/2, n-1 or t < - t/2,n-1

t > t.025,9 or t < - t.025, 9

t > 2.262 or t < -2.262

Step 5: Compute the value of t and make a decision

The computed value of t (3.305) is greater than the higher critical value (2.262), so our decision is to reject the null hypothesis.

(26)

Cytaty

Powiązane dokumenty

W niniejszej pracy stosuje się termin urbanonimia wymiennie z nazewnic- two miejskie jako pojęciem o najszerszym zakresie treściowym, obejmującym nazwy własne wszystkich

22. What is a weather forecast ensemble? How does it differ from a climate forecast ensemble?.. 23. What arguments support the reliability of

The basic rule of comparing tests is the following: for a given set of null and alternative hypotheses, for a given significance level, the test which is more powerful is

In Section 2 we give a general scheme for constructing unbiased estima- tors with a random sample size which can be applied to several situations where there does not exist an

Meanwhile a subsequent paper The mean square of the Riemann zeta-function in the critical strip III was published in Acta Arith.. 64

But the proof of Theorem 2 requires the following ideas: the averaging technique introduced in Meurman [12]; the application of Montgomery–Vaughan’s inequality as Preissmann [17]

Furstenberg used ergodic theory, S´ ark¨ ozy applied the circle method together with a combinatorial idea and Pintz, Steiger and Szemer´ edi introduced further

Key words and phrases: σ-ideal, Marczewski’s ideal, nowhere Ramsey sets, Mycielski’s ideal; Sacks forcing, Miller forcing, Laver forcing, Matet forcing, Silver forcing, Mathias