S2 Flashcards
What is the sum of the probabilities in a probability distribution
1
How do you calculate the mean and variance of a cumulative distribution function
- Mean= total (x1*p1) Multiply the x-values by the probabilities
- Variance= total(X1^2*P1)-mean^2
List the variation for the mean and variance for (aX), (x+b) and (aX+b)
- E(ax) = aE(X)
- E(X+b) = E(X) + b
- E(aX+b) = aE(X)+b
- Var(aX)= a^2Var(X)
- Var(X+b) = Var(X)
- Var(aX+b) = a^2Var(X)
When is poisson distribution used
- When events occur independently
- At random
- At a constant average rate
State 4 things about probability density function f(x)
- Area under the graph represents the probability
- Total area under the curve=1
- If linear graph use formula for area of triangle or trapezium
- If quadratic- integrate to calculate probability
How do you find E(x) and Var(x)of probability density function f(x)
- E(x)= integral( f(x)*x) dx
2. Var(x)= integral( f(x)*x^2) dx - [E(x)]^2
How do you find E(x) and Var(x) of a rectangular distribution
- E(x) = 1/2(a+b)
2. Var(x) = 1/12 (b-a)^2
How would you find E(1/x) for a probability density function
- Integral ( f(x) *1/x) dx
What is the cumulative distribution function F(x)
- Integral of f(x)
2. Useful when finding medians F(X)=0.5, lower quartile F(x)=0.25
What are the different scenarios that would result in using z or t in hypothesis testing
- Population variance given- Any sample size- use z
- Population variance unknown- large sample size >30- use z - central limit theorem
- Population variance unknown- small sample size <30 - use t
What is the formula for degrees of freedom
- d.f=n-1
What is the formula for confidence intervals
- x̅ +/- (z or t) * Root(Population variance/n)
What may be the different assumptions when doing confidence intervals
- The data can be regarded as a random sample
- If large sample size- central limit theorem
- Contents are normally distributed if small sample size with t
What are the steps carried out in hypothesis testing
- State null hypothesis H0:μ=a
- State the alternative
H1 : μ =≠ a - two-tailed
H1:μa- One-tailed positive critical value - Test statistic z or t
Z/t= (x̅-μ)/root(population variance/n) - Use calculator to find the critical value
- If the value of the test statistic falls in the critical region then you reject H0 and it is significant
What is the formula for expected frequency for Chi-squared
- Row total * column total / total