S2 Flashcards

1
Q

What is the sum of the probabilities in a probability distribution

A

1

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

How do you calculate the mean and variance of a cumulative distribution function

A
  1. Mean= total (x1*p1) Multiply the x-values by the probabilities
  2. Variance= total(X1^2*P1)-mean^2
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

List the variation for the mean and variance for (aX), (x+b) and (aX+b)

A
  1. E(ax) = aE(X)
  2. E(X+b) = E(X) + b
  3. E(aX+b) = aE(X)+b
  4. Var(aX)= a^2Var(X)
  5. Var(X+b) = Var(X)
  6. Var(aX+b) = a^2Var(X)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When is poisson distribution used

A
  1. When events occur independently
  2. At random
  3. At a constant average rate
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

State 4 things about probability density function f(x)

A
  1. Area under the graph represents the probability
  2. Total area under the curve=1
  3. If linear graph use formula for area of triangle or trapezium
  4. If quadratic- integrate to calculate probability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you find E(x) and Var(x)of probability density function f(x)

A
  1. E(x)= integral( f(x)*x) dx

2. Var(x)= integral( f(x)*x^2) dx - [E(x)]^2

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

How do you find E(x) and Var(x) of a rectangular distribution

A
  1. E(x) = 1/2(a+b)

2. Var(x) = 1/12 (b-a)^2

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

How would you find E(1/x) for a probability density function

A
  1. Integral ( f(x) *1/x) dx
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the cumulative distribution function F(x)

A
  1. Integral of f(x)

2. Useful when finding medians F(X)=0.5, lower quartile F(x)=0.25

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

What are the different scenarios that would result in using z or t in hypothesis testing

A
  1. Population variance given- Any sample size- use z
  2. Population variance unknown- large sample size >30- use z - central limit theorem
  3. Population variance unknown- small sample size <30 - use t
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the formula for degrees of freedom

A
  1. d.f=n-1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the formula for confidence intervals

A
  1. x̅ +/- (z or t) * Root(Population variance/n)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What may be the different assumptions when doing confidence intervals

A
  1. The data can be regarded as a random sample
  2. If large sample size- central limit theorem
  3. Contents are normally distributed if small sample size with t
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the steps carried out in hypothesis testing

A
  1. State null hypothesis H0:μ=a
  2. State the alternative
    H1 : μ =≠ a - two-tailed
    H1:μa- One-tailed positive critical value
  3. Test statistic z or t
    Z/t= (x̅-μ)/root(population variance/n)
  4. Use calculator to find the critical value
  5. If the value of the test statistic falls in the critical region then you reject H0 and it is significant
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the formula for expected frequency for Chi-squared

A
  1. Row total * column total / total
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the formula for the normal test statistic

A
  1. Total = (O-E)^2/ E
  2. O: observed frequency
  3. E: expected frequency
17
Q

What are two special cases in Chi-squared

A
  1. 1 degree of freedom- Use Yates’ correction

2. The expected frequency must be bigger than 5- if not group the columns appropriately

18
Q

What is the formula for Yates’ correction

A
  1. Total (mod(O-E)-0.5)^2/E
19
Q

When do you accept H0 using Yates correction

A
  1. When Chi data < Chi n

2. When the value you worked out from the data is smaller than the calculator value.

20
Q

What is a type 1 error in hypothesis testing

A

Rejecting H0 and accepting H1 when H0 is actually correct

21
Q

What is a type 2 error in hypothesis testing

A

H0 is accepted even though it is incorrect

22
Q

How do you find the variance from the mean in poisson distribution

A

Mean=variance