Docsity

Understanding P-Values & Hypothesis Testing: Guide to Test Statistics & Significance, Study notes of Statistics

Toggle sidebar
bg1
Stat 4473 – Data Analysis
HOW P-VALUES ARE CALCULATED
TEST STATISTICS
A hypothesis test uses the sample data in the form of a test statistic.
• The test is based on a statistic that compares the value of the parameter stated by the null hypothesis
with an estimate of the parameter from the sample data.
• Values of the test statistic that are large in magnitude indicate that the estimate is far from the
parameter value specified by Ho. These values give evidence against Ho. (The alternative hypothesis
determines which directions count against Ho.)
• Example 1: Fire Insurance
Ho: : = 4.7
Ha: : < 4.7
: = average distance from homes to the
nearest fire department
test statistic is
Values of t that are large in the negative
direction give good evidence that : is not
4.7, but rather less than 4.7. (We are talking
about values of t that are in the far left tail of
the t-distribution.)
p-value = probability of obtaining sample
results as extreme or even more
extreme than those obtained
= P(t # tobs)
A low p-value suggests that sample results
like those obtained (or even more extreme
than those obtained) rarely occur when Ho is
true, and so we conclude that Ho is not true
but rather Ha is true. That is, reject Ho in
favor of Ha.
• Example 2: Study Habits for Older Students
(SSHA test)
Ho: : = 115
Ha: : > 115
: = average SSHA score for older students
test statistic is
Values of t that are large in the positive
direction give good evidence that : is not
115, but rather greater than 115. (We are
talking about values of t that are in the far
right tail of the t-distribution.)
p-value = probability of obtaining sample
results as extreme or even more
extreme than those obtained
= P(t $ tobs)
A low p-value suggests that sample results
like those obtained (or even more extreme
than those obtained) rarely occur when Ho is
true, and so we conclude that Ho is not true
but rather Ha is true. That is, reject Ho in
favor of Ha.
pf3

Partial preview of the text

Download Understanding P-Values & Hypothesis Testing: Guide to Test Statistics & Significance and more Study notes Statistics in PDF only on Docsity!

Stat 4473 – Data Analysis HOW P-VALUES ARE CALCULATED TEST STATISTICS

A hypothesis test uses the sample data in the form of a test statistic.

  • The test is based on a statistic that compares the value of the parameter stated by the null hypothesis with an estimate of the parameter from the sample data.
  • Values of the test statistic that are large in magnitude indicate that the estimate is far from the parameter value specified by Ho. These values give evidence against Ho. (The alternative hypothesis determines which directions count against Ho.)
  • Example 1: Fire Insurance

Ho: : = 4. Ha : : < 4.

: = average distance from homes to the nearest fire department

test statistic is

Values of t that are large in the negative direction give good evidence that : is not 4.7, but rather less than 4.7. (We are talking about values of t that are in the far left tail of the t -distribution.)

p-value = probability of obtaining sample results as extreme or even more extreme than those obtained

= P( t # t obs )

A low p-value suggests that sample results like those obtained (or even more extreme than those obtained) rarely occur when Ho is true, and so we conclude that Ho is not true but rather Ha is true. That is, reject Ho in favor of Ha.

  • Example 2: Study Habits for Older Students (SSHA test)

Ho: : = 115 Ha :^ :^ > 115

: = average SSHA score for older students

test statistic is

Values of t that are large in the positive direction give good evidence that : is not 115, but rather greater than 115. (We are talking about values of t that are in the far right tail of the t -distribution.)

p-value = probability of obtaining sample results as extreme or even more extreme than those obtained

= P( t $ t obs )

A low p-value suggests that sample results like those obtained (or even more extreme than those obtained) rarely occur when Ho is true, and so we conclude that Ho is not true but rather Ha is true. That is, reject Ho in favor of Ha.

  • Example 3: Fill Amount at the Dairy

Ho: : = 32 Ha : : … 32

: = average fill amount in 32 ounce cartons

test statistic is

Values of t that are large in the negative direction OR large in the positive direction give good evidence that : is not 32, but rather has deviated from 32. (We are talking about values of t that are in the far left tail of the t -distribution OR in the far right tail of the t -distribution.)

p-value = probability of obtaining sample results as extreme or even more extreme than those obtained

= 2 P( t $ | t obs | )

A low p-value suggests that sample results like those obtained (or even more extreme than those obtained) rarely occur when Ho is true, and so we conclude that Ho is not true but rather Ha is true. That is, reject Ho in favor of Ha.