Statistics - Hypothesis Testing Flashcards

1
Q

what type of situations would you apply hypothesis testing

A

is a population parameter different from a predicted value, difference between two observations on each of the elements of a population (paired measurements), difference between two groups of a population

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

what is a hypothesis

A

a statement about the value of a population parameter or probability distribution

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

what is H0 and what does it typically indicate

A

the null hypotheses which typically indicates no difference

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

what is H1 and what does it typically indicate

A

the alternative hypothesis which typically indicates some difference eg <, >, ≠

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

what is the test idea

A

take a random sample, test if there is sufficient evidence to reject the null hypothesis in favour of the alternative hypothesis

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

what is a type I error

A

rejecting H0 when it should have been accepted

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

what is a type II error

A

accepting H0 when it should have been rejected

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

what is the meaning of the confidence level in hypothesis testing

A

α is the maximum probability with which we are willing to risk a type I error, ie rejecting H0 when it is correct

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

what are the seven general steps to a hypothesis test

A
  1. decide null hypothesis
  2. decide alternative hypothesis
  3. decide significance level
  4. calculate observed value of test statistic
  5. find tabulated test statistic
  6. compare values from 4 and 5
  7. state conclusion
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what is μ0

A

the predicted mean

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

for a one sample t-test what is the calculated test statistic Calc T

A

(xbar - μ0)/(s/sqrt(n))

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

for a one sample t-test what is the tabulated test statistic Tab T for one sided tests

A

tn-1;α

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

for a one sample t-test what is the tabulated test statistic for a two sided test

A

tn-1;α/2

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

for a one sided t-test what is the rejection criteria for H0 if H1 is μ > μ0

A

Calc T>Tab T

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

for a one sided t-test what is the rejection criteria for H0 if H1 is μ < μ0

A

Calc T<-Tab T

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

for a two sided t-test what is the rejection criteria for H0 if H1 is μ ≠ μ0

A

|Calc T|>Tab T

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

what is the p-value of the test

A

assuming H0 is true, the probability that the calculated test statistic will take on values as extreme or more extreme than the observed test statistic computed from the sample data

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

a small p-value computed from the sample data shows

A

strong evidence against H0

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

what is the p-value for the one sided t-test H1:μ > μ0

A

P(T>Calc T)

20
Q

what is the p-value for the one sided t-test H1:μ < μ0

A

P(T<-CalcT)

21
Q

what is the p-value for the two sided t-test

A

P(T<-Calc T)+P(T>CalcT)

22
Q

what is the rejection criteria in terms of the p-value

A

H0 is rejected if p-value>α, where α is the confidence level

23
Q

Paired data (X1,Y1),…,(Xn,Yn) are pairs of random variables satisfying what criteria

A

Xi and Yi can be related to each other and Xi is independent of all the rest of the variables

23
Q

how do we go about a t-test for paired data

A

reduce it to a two sided one sample t-test by calculating a new r.v which shows the difference, calculate xbar and s from this set of values

24
Q

what is the null hypothesis for paired data t-test

A

H0: μd = 0

25
Q

what is the alternative hypothesis for paired data t-test

A

H1 : μd ≠ 0

26
Q

what is being tested for in a two sample t-test

A

a difference in the population means

27
Q

what is the null hypothesis for a two sample t-test

A

H0: μ1 = μ2

28
Q

what is the one sided alternative hypotheses for a two sample t-test

A

H1: μ1 > μ2

29
Q

what is the two sided alternative hypothesis for a two sample t-test

A

H1 : μ1 ≠ μ2

30
Q

for a two sample t-test how do you obtain the case μ1< μ2

A

by exchanging X1 and X2

31
Q

what is the calculated test statistic Calc T for a two sample t-test

A

(xbar1-xbar2)/(sp*sqrt(1/n1+1/n2))

32
Q

what is sp^2

A

the pooled variance

33
Q

what is the pooled variance

A

the weighted average of the two sample variances s1^2 and s2^2

34
Q

for a two sample t-test what does T~tn1+n2-2 mean

A

the samples of X1 and X2 are normally distributed and the population variances σ1^2 and σ2^2 are equal and they have a t-distribution with v=n1+n2-2 degrees of freedom

35
Q

for a two sample t-test how can we know if σ1^2 and σ2^2 are equal

A

we can assume this if 1/2<s1^2/s2^2<2

36
Q

what is the tabulated test statistic Tab T for a two sample, one-sided t-test

A

tn1+n2-2;α

37
Q

what is the tabulated test statistic Tab T for a two sample, two-sided t-test

A

tn1+n2-2;α/2

38
Q

what are the rejection criteria for H0 for two sample t-tests

A

the same as 1 sample t-tests if Calc T or |Calc T| are >= Tab T

39
Q

when would we use a z-test

A

when the degrees of freedom is more than 30

40
Q

what is the only difference between the t-test and the z-test

A

the tabulated statistic Tab Z

41
Q

what is the tabulated statistic for the z-test

A

the critical values for the standard normal which is the critical values of the t distribution with infinite degrees of freedom

42
Q

what is Tab Z for one sided z-tests

A

43
Q

what is Tab Z for two sided z-tests

A

zα/2

44
Q

does Tab Z change for a two sample z-test

A

no, Tab Z does not depend on sample size