lecture 7 Flashcards

1
Q

Describe the two types of error possible in a hypothesis test decision.

A

Type 1 error (occurs if null is rejected but null was true; bad scientist analogy)
Type 2 error (occurs when null is not rejected when it was false; a significant finding was
missed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which decision results in a Type II Error?

Rejecting the claim p ≤ 0.26 when it is actually the case that p ≤ 0.26.

Not supporting the claim p > 0.26 when it is actually the case that p ≤ 0.26.

Not supporting the claim p > 0.26 when it is actually the case that p > 0.26.

Rejecting the claim p ≤ 0.26 when it is actually the case that p > 0.26.

I don’t know yet

A

Not supporting the claim p > 0.26 when it is actually the case that p > 0.26.

A type II error is committed when Ho is false and it is not rejected.

The alternative hypothesis (Hₐ) is actually true, but we fail to support it (we stick with H₀).
So, if Hₐ: p > 0.26 is true, but we don’t support it, that’s a Type II Error — we missed detecting a real effect

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

An environmental action group took six readings to analyze whether the true mean discharge of wastewater per hour exceeded the company claim of 800 gallons.
When a decision is made using a one-sided test using α = 0.01…
Answer

Unselected
If Ho is rejected, the probability that it is actually true is 0.01.

Unselected
The probability that the sample mean equals exactly the observed value is 0.01 if Ho were true.

Unselected
If the plant is exceeding the limit, there is only a 1% chance that we will conclude that they are not exceeding the limit.

Unselected
If the plant is not exceeding the limit, but actually μ = 800, there is only a 1% chance that we will conclude that they are exceeding the limit.

A

If the plant is not exceeding the limit, but actually μ = 800, there is only a 1% chance that we will conclude that they are exceeding the limit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Key points about the alternative hypothesis:

A

It states that a change, difference, or relationship does exist.
It’s what researchers hope to support or prove.
It’s typically written as Hₐ: followed by an inequality (≠, >, <).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Two statisticians, John and Kathryn, used a t-test with the same statistics to perform a hypothesis test.

John tested the claim μ > 50 and Kathryn tested the claim μ ≠ 50.
Knowing that they got the same value for the standardized test statistic, how do their P-values compare?

John’s P-value is twice Kathryn’s.

Kathryn’s P-value is twice John’s

Their P-values are the same.

A

Kathryn’s two-tailed P-value must be twice John’s one-tailed P-value.
This is because Kathryn’s test looks for a difference in either direction, while John only checks for values greater than 50.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

To test the claim μ ≤ 50, it is determined that the requirements to use the standard normal distribution are met.
If α = 0.05, which of the following describes the critical region?

Answer
z₀ > 1.96
z₀ < -1.96
z₀ > 1.645
z₀ < -1.645

A

z₀ > 1.645

The critical region is determined by the alternative hypothesis, which is μ>50. Thus, this is a right-tailed test.
This means that the critical value is the value of z0 that leaves an area of 0.05 to its right. This means that the critical value is z0 = 1.645, which means the critical region is z0 > 1.645.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

An urban planner wants to test the claim that at least 23% of all residents in a large city are in favour of expanding mass transit.

After performing the appropriate hypothesis test, the decision is to reject H₀. What is the appropriate conclusion?

There is not sufficient evidence to reject the claim that at least 23% of all residents in a large city are in favour of expanding mass transit.

There is sufficient evidence to reject the claim that at least 23% of all residents in a large city are in favour of expanding mass transit.

There is not sufficient evidence to support the claim that at least 23% of all residents in a large city are in favour of expanding mass transit.

There is sufficient evidence to support the claim that at least 23% of all residents in a large city are in favour of expanding mass transit.

A

There is sufficient evidence to reject the claim that at least 23% of all residents in a large city are in favour of expanding mass transit.

The claim is p≥23
, which is a null hypothesis. Therefore, the decision is based on rejecting the claim.

Since the null hypothesis is rejected, there is enough evidence to reject the claim that at least 23
of all residents in a large city are in favor of expanding mass transit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

type 1 error vs type 2

A

Type I Error (False Positive)
What it is: Rejecting a true null hypothesis (H₀).
Example: You conclude that less than 23% of residents support mass transit when, in fact, 23% do.
Outcome: You think you found something significant, but it’s not actually true.
Probability of making a Type I Error: α (alpha), the significance level (commonly set to 0.05), represents the chance of making a Type I Error.

Type II Error (False Negative)
What it is: Failing to reject a false null hypothesis (H₀).
Example: You conclude that 23% of residents support mass transit when, in fact, less than 23% do.
Outcome: You miss detecting a real effect.
Probability of making a Type II Error: β (beta), and it’s influenced by sample size, variability, and the actual effect size.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The manager of a coffee shop claims that the average amount of time spent waiting for a hot drink is 5.4 minutes.

Which hypothesis test is most appropriate to test this claim? Assume that the sample was collected at random from a normally distributed population.

t-test for a population mean

z-test for a population mean

z-test for a population proportion

χ2-test for a variance or standard deviation

A

t-test for a population mean

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

When do you use a t test?

A

t-test for a Population Mean:
A t-test is used when you want to test a claim about a population mean (μ) and:

You are working with a small sample size (typically n < 30).
The population standard deviation (σ) is unknown.
The data is assumed to come from a normally distributed population.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When to use a z test for a pop mean?

A

The population standard deviation (σ) is known:

The key difference between a z-test and a t-test is that for a z-test, you must know the population standard deviation (σ). In contrast, for a t-test, the population standard deviation is unknown, and we use the sample standard deviation (s) as an estimate.
The sample size is large (typically n ≥ 30):

If the sample size is large, the Central Limit Theorem suggests that the sampling distribution of the sample mean will be approximately normal, even if the population distribution is not. Therefore, a z-test can be used.
If the sample size is smaller than 30, and the population standard deviation is known, you may still use a z-test, but the population should be approximately normally distributed.

The data is approximately normally distributed (especially important if the sample size is small, n < 30):

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which of these claims would result in a left-tailed test?

The average number of sick days taken by each employee last year was at least 6.

On average, a family of 4 spends $300 per week on groceries.

Most employees are in favor of having more days per week to work at home.

A

A left-tailed test occurs when the alternative hypothesis (Ha) contains a “<” symbol.

The statement “The average number of sick days taken by each employee last year was at least 6. “ is a null hypothesis, written μ≥6
. Thus, the alternative hypothesis is μ<6
, which results in a left-tailed test.

The statement “Most employees are in favor of having more days per week to work at home. “ is an alternative hypothesis, written p > 0.5 (most means more than 50%, which is a statement about a proportion). This results in a right-tailed test.

The statement “On average, a family of 4 spends $300 per week on groceries. “ is a null hypothesis, written μ=300
. Thus, the alternative hypothesis is μ≠300
, which results in a two-tailed test.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

why do we work with alternative hypothesis when finding out what tailed test

A

When determining whether to use a one-tailed or two-tailed test, we focus on the alternative hypothesis (Hₐ) because it indicates the direction of the effect or relationship we are trying to test for. The alternative hypothesis specifies what we believe is true or what we want to prove, and this guides whether the test should focus on one side (one-tailed) or both sides (two-tailed) of the distribution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A hypothesis test for a population mean yields a standardized test statistic of t = -2.13.
Which of the following are possible claims for the hypothesis test (Select all that apply)?
Select All That Apply

μ>50

μ=50

μ<50

A

μ=50

μ<50

If the test statistic is negative, the test is either left-tailed or two-tailed.

When the test is left-tailed, the sample mean is less than the population mean, which produced a negative t-value.

When the test is two-tailed, the sample mean could be either more or less than the population mean, which means a negative test statistic is possible.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

When to use a z-test for a population proportion

A

%

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The claim μ = 10 was tested using the normal distribution. Rounded to two decimal places, the standardized test statistic is z = 2.13.

What is the P-value for this test?

0.0166

0.9834

0.9668

0.0332

A

0.0332
The claim μ=10
is a null hypothesis with alternative hypothesis μ≠10 , which results in a two-tailed test.

Since z = 2.13 is positive, the P-value is the area to the right of z = 2.13, then doubled.

If you look up z = 2.13 in the z-chart, you obtain 0.9834 as the area to the left.

Then, the area to the right is 1 - 0.9834 = 0.0166.

Finally, the P-value is 2(0.0166) = 0.0332.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Which statement is not true about all one-sample hypothesis tests from this chapter?

If the standardized test statistic is not in the critical region, fail to reject the null hypothesis.

If n ≥ 30, then a z-test is used to test the claim.
Unselected
The null hypothesis is the statement that allows the parameter to be equal to a specified value

If P ≤ α, reject the null hypothesis.

A

b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

A manufacturer wants to test a claim that the variance of the production times is no more than 40.
A sample of 12 production times gave a mean of 5 minutes and a variance of 30.

To test this claim using α = 0.05, what is the value of the test statistic?

A

8.25
For variance tests, we use the Chi-squared test statistic formula:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Each statement below its true about hypothesis testing except….

Since decisions are made based on samples, there is some risk (error) involved.
Unselected
The smaller the P-value, the more evidence there is to reject the null hypothesis.

Unselected
If the goal is to support a claim, write it as an alternative hypothesis.

Hypothesis tests are used to prove whether a claim is true or false.

20
Q

What is a hypothesis test?

A

A process that uses sample statistics to test a claim about the value of a population parameter. This is a formalized way of
using statistics to infer our predictions and research findings.

21
Q

To test a population parameter, you will state a pair of hypotheses what do they each represent?

A
  • One represents the claim, and the other is the complement (recall from probability)
  • Either hypothesis—the null hypothesis or the alternative hypothesis—may represent
    the original claim.
22
Q

Null hypothes ( Ho) is

A

<, =, or >.

23
Q

alternative hypothesis Ha is….

A

the complement of the null hypothesis. It is
a statement that must be true if H0 is false and it contains a statement of
strict inequality, such as >, not=, or <.

24
Q

Write each claim as a mathematical sentence. State the null and alternative hypotheses, and identify which represents the claim.
a) A car dealership announces that the mean time for their oil change service is less than 15 minutes

A

Null: u>_15
Alternate: u <15 (claime)

25
When we began with the hypothesis, we always assume ----- is true.
null hypothesis is true We either reject the null or fail to reject the null
26
Types of error: type 1 type 2
False + False -
27
What is level of significance?
Level of significance = the maximum probability of making a type I error. We want this to be small, so we commonly use: a = 0.10 (10%); a = 0.05 (5%); a = 0.01 (1%)
28
P value
A p-value (or probability value) is the probability, if the null hypothesis is true, of obtaining a sample statistic with a value as extreme or more extreme than the one determined from the sample data
29
Left-tailed test vs right-tailed test vs two-tailed test
Left tailed test: The alternative hypothesis, Ha, contains the less-than inequality symbol (<). Right tailed test: The alternative hypothesis, Ha, contains the greater-than inequality symbol (>) Two-tailed test: The alternative hypothesis, Ha, contains the not-equal-to inequality symbol (≠). Each tail has an area of P. So, when you obtain p-value for standardized test stat, divide by two and put half of the probability on each tail.
30
Smaller p value means....
More evidence there is to reject the null hypothesis
31
"Once you find the p value of the standardized test statistic, compare the P-value with a" What does this mean?
1. If P value <_ a, then reject H0 (null). (e.g., a = .05 and you get p = .01) 2. If P value >a, then fail to reject H0 (null) fail to reject= right. (e.g., a = .05 and you get p = .07)
32
You perform a hypothesis test for the following claim. How should you interpret your decision if you reject H0? If you fail to reject H0? Ha (Claim): A car dealership announces that the mean time for an oil change is less than 15 minutes.
Reject null: evidence to support dealerships claim fail to reject: not enough evidence to reject
33
What are the steps for hypothesis testing
1. State the claim mathematically and verbally. Identify the null and alternative hypotheses. 2. Specify the level of significance (α). 3. Determine the standardized sampling distribution and draw its graph. 4. Calculate the test statistic and its standardized value. Add it to your sketch. 5. Find the P-value. 6. Use the following decision rule. 7. Write a statement to interpret the decision in the context of the original claim.
34
How to apply the decision rule:
Decision rule based on p-value: To use a P-value to make a conclusion in a hypothesis test, compare the P-value with a. 1. If P <_ a, then reject H0. 2. If P > a, then fail to reject H0 Example: Imagine a scenario where you are just given the p-value for a hypothesis test. The P-value for a hypothesis test is P = 0.0237. What is your decision if the level of significance is (a) a = 0.05? (b) a = 0.01? (a) As obtained P (0.0237) is < 0.05, you should reject the null hypothesis. (b) As obtained P (0.0237) is > 0.01, you fail to reject the null hypothesis.
35
How to figure out p
For a left-tailed test, P = area in the left tail.  For a right-tailed test, P = area in right tail.  For a two-tailed test, P = 2 × area in each tail (find table value first)
36
Using P-values for a z-test for mean μ steps
1. Verify that  is known, the sample is random, and either the population is normally distributed or n  30. 2. State the claim mathematically and verbally. Identify the null and alternative hypotheses. 3. Specify the level of significance. 4. Find the standardized test statistic. 5. Find the area that corresponds to z. 6. Find the P-value (see previous slides). 7. Make a decision to reject or fail to reject the null hypothesis. 8. Interpret the decision in the context of the original claim.
37
Steps for Using a z-test for a proportion p
1. Verify that the sampling distribution of can be approximated by the normal distribution. np>_ 5 nq>_5 2. State the claim mathematically and verbally. Identify the null and alternative hypotheses. 3. Specify the level of significance. Indentify a 4. Determine the critical value(s) (table 4) 5. Determine the rejection region(s). 6. Find the standardized test statistic and sketch the sampling distribution. 7. Make a decision to reject or fail to reject the null hypothesis. 8. Interpret the decision in the context of the original claim.
38
What are the two decisions that you can make from performing a hypothesis​ test?
D. Reject the null hypothesis B. fail to reject the null hypothesis
39
complement is...
alternate
40
Explain the difference between the​ z-test for mu using rejection​ region(s) and the​ z-test for mu using a​ P-value. Question content area bottom Part 1 Choose the correct answer below. A. The​ z-test using rejection​ region(s) is used when the population is not normal. The​ z-test using a​ P-value is used when the population is normal. B. In the​ z-test using rejection​ region(s), the test statistic is compared with critical values. The​ z-test using a​ P-value compares the​ P-value with the level of significance alpha. C. The​ z-test using rejection​ region(s) is used when the population is normal. The​ z-test using a​ P-value is used when the population is not normal. D. In the​ z-test using rejection​ region(s), the test statistic is compared with the level of significance alpha. The​ z-test using a​ P-value compares the​ P-value with the
b
41
When P greater than alpha​, does the standardized test statistic lie inside or outside of the rejection​ region(s)? Explain your reasoning. Choose the correct answer below. A. ​Inside; When the standardized test statistic is outside the rejection​ region, Pgreater thanalpha. B. ​Outside; When the standardized test statistic is inside the rejection​ region, Pgreater thanalpha. C. ​Outside; When the standardized test statistic is inside the rejection​ region, Pless thanalpha. D. ​Inside; When the standardized test statistic is outside the rejection​ region, Pless thanalpha.
c
42
Find the​ P-value for a​ left-tailed hypothesis test with a test statistic of z=negative 1.01.
Use table 4 ​P-valueequals    . 1562 ​(Round to four decimal places as​ needed.)
43
p>a
fail to reject
44
Properties of t distribution *7
Mean, median, and mode of the t-distribution are equal to 0. 2. Bell shaped and symmetric about the mean. 3. Total area under a t-curve is 1. 4. Tails are “thicker” vs. normal distribution (especially for smaller degrees of freedom). 5. The SD of the t-distribution varies with the sample size, but it is greater than 1. . 6. The t-distribution is a family of curves, each determined by a parameter called the degrees of freedom (d.f.), which are the number of free choices left after a sample statistic such as തx is calculated. In a t-distribution to estimate a population mean, the d.f. are equal to one less than the sample size or n – 1 7. As d.f. increases, the t-distribution approaches the normal distribution. For ≥ 30 degrees of freedom the t- distribution is essentially the same as the standard normal distribution (the z-distribution
45