Goodness of Fit Tests Flashcards

1
Q

If Y ∼ Bi(n, p), what is the equation for P[Y = k]?

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

What are the three conditions for the binomial distribution?

A
  • n independent trials
  • two outcomes, success or failure
  • probability of success, p, is constant
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

If Y ∼ Bi(n, p) what is 𝔼[Y] and Var[Y]?

A
  • 𝔼[Y] = np
  • Var[Y] = np(1 - p)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

If Y ∼ Bi(n, p), for large n what is the distrubtion of Y approximately equal to?

A

N(np, np(1 - p))

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

What do k, pi, Oi, and Ei, stand for in the Chi-square test?

A
  • k - the number of outcomes or cells
  • pi - the probability of outcome i
  • Oi - the number of times outcome i is oberved
  • Ei - the expected value of Oi, Ei = npi
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does Var[Oi] and E[Oi] equal?

A
  • Var[Oi] = npi (1 - pi)
  • E[Oi] = npi
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the test statistic for the Chi-square goodness of fit test?

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

What is the distrubtion of Oi?

A

Oi ∼ Bi(n, pi)

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

What does E[𝒳2] equal ? And Why?

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

Finish this theorm:

Given H0 the sampling distribution of 𝒳2, with k cells, for large n, is approximately …

A

Given H0 the sampling distribution of 𝒳2, with k cells, for large n, is approximately a chi-squared distribution with k - 1 degrees of freedom.

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

What does each Ei have to be bigger than to justify a chi-squared approximation?

A

Ei ≧ 5

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

What do you do if Ei​ < 5 for some cells?

A

Pool the cells and add up the Oi’s

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

What are the degrees of freedom for a chi-squared distribution when we estimated s independent parameters?

A

k - s - 1

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

Do small or large values for 𝒳2 cast doubt on H0?

A

Large

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

How can you perform a significance test of H0 at level α, using the Chi-squared goodness of fit test?

A
  • Calculate 𝒳2
  • Identify the value Vα such that P[𝒳2 > Vα] = α
  • The test rejects H0 at significance level α (or significant at level α) if 𝒳2 > Vα
  • If 𝒳2 < Vα say test does not reject at level α (or result not significant at level α)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a p-value?

A

The probability that test statistic is larger than the observed value, if H0 is true

17
Q

Are small or larger p-values evidence against H0? Provided?

A

Small, provided that there are other plausible hypotheses which would male the given outcome more likely

18
Q

How do you calculate a p-value?

A

P[𝒳2 > Vα] = p٭

19
Q

What two values do we typically use when pre-assignign the p-value?

A

0.01 or 0.05

20
Q

What does nij, ni. and n.j stand for?

A
  • nij is the number of observations for which R = i, C = j
  • ni. is the number of observations with R = i
  • n.j is the number of observations with C = j
21
Q

What does πij, πi., π.j stand for?

A
  • πij = P[R = i, C=j]
  • πi. = P[R = i]
  • π.j = = P[C=j]
22
Q

In the Chi-squared test for independence what is the null hypothesis, H0?

A

πij = πi. x π.j

23
Q

In the Chi-squared test for independence how do we estimate πi. , π.j and πij?

A
24
Q

What is the test statistic in the Chi-squared test for independnce?

A
25
Q

What is the degrees of freedom in the Chi-squared test for independence?

A

(r - 1)(c - 1)

26
Q

If 𝒳2 < 𝒳2(r-1)(c-1) what does the say about the independence of the rows and columns?

A

They are independent

27
Q

If 𝒳2 > 𝒳2(r-1)(c-1) what does the say about the independence of the rows and columns?

A

They are not independent

28
Q
A