Docsity

Hypothesis Testing: One-Sided vs Two-Sided, Calculating p-value and Z-score, Exams of Statistics

Toggle sidebar
bg1
There are 2 sides to every story. EX. 20% take
12 hours or less versus more than 20% take 12
hours or less.
DEFN. The Alternative Hypothesis is what you
want to prove and is labeled HA (because data
can disprove the Null Hypothesis which we
label H0 )
Q. How many ways can we make a mistake
when we draw a conclusion (either support 20%
or deduce more than 20%)? P. 396
TRUTH
DECISION = 20% > 20%
> 20%
= 20%
1
I FP
II FN
pf3
pf4
pf5

Partial preview of the text

Download Hypothesis Testing: One-Sided vs Two-Sided, Calculating p-value and Z-score and more Exams Statistics in PDF only on Docsity!

There are 2 sides to every story. EX. 20% take 12 hours or less versus more than 20% take 12 hours or less. DEFN. The Alternative Hypothesis is what you want to prove and is labeled HA (because data can disprove the Null Hypothesis which we label H 0 ) Q. How many ways can we make a mistake when we draw a conclusion (either support 20% or deduce more than 20%)? P. 396 TRUTH DECISION = 20% > 20%

20% = 20% I FP II FN

TERMINOLOGY

DEFN One-sided Test is a hypothesis testing process where our hypotheses have “less thans” or “greater thans”. Two-sided test has hypotheses of “equal to” and “not equal to”. EX. Which is ours? DEFN You find a p-value by asking what’s the probability that the observed sample’s statistic could occur if the sample came from the population described by the null hypothesis. EX. Rules of Thumb:  if a one-sided test then look at the ‘pointed to’ tail for probability  if two-sided then use both tails=probs

I believe that 20% of Math2200ers take 12 or fewer hours. Let  = Type I = .05? Calculate a p-value; state a conclusion.

HO : p =. HA : p >.

  1. we expect p = .20 (mean) with wiggle room of

p * (1 p)

n

so our 11 of 26 (i.e. 11/26) or .42 , does it seem unusual? Z = (.42 - .20)/.078 = 2.

  1. 2.82 is big. In fact, p-value is 1-. = .0024 4. .0024<.05 so reject p=.

DEFN. A p-value is the probability of getting the observed statistic given the null hypothesis is true. EX it is the prob I see 11 of 26 if truly only 20% take 12 or fewer hours. DEFN Results are called statistically significant if our data is unusual enough, i.e. the p-value is smaller than a pre-designated  (alpha or Type I) error. EX since I specified and my p-value is like .002 then this means my original data is far away from what is expected or another way to say it is my z-score is big and our results are statistically significant. Note: .05 is usual…what does it mean? Some researchers use .10 or .01. This is also called the significance level. Skip calculating power.

Do trials by asking the ‘n’ students around you (how many is that?) if they walk or bike. What proportion or percentage do walk or bike? Is this far from your guess? Answer that by generating a z-score. Find your p-value by finding the normal tail area and doubling it (due to the not equal in alternative hypothesis). Is p-value < ? Is your z-score big? Is your data collected far from your guess? What do you conclude about the data supporting your guess? About rejecting your guess?