Data analysis Flashcards
Conditions for chi square
- Independence
- 5+ Sample size
- > 1 degree of freedom
What do rows in data represent?
Observations
What do columns in data represent
Variables
Experimental Study
Manipulation of an independent variable to measure the impact on a dependent variable (control group etc.)
Observational study
Study of the relationship between variables with no manipulation/intervention
Where does the explanatory variable belong
Horizontal axis
Where does the response variable belong
Vertical axis
What is sample standard deviation
Variance
Calculate the probability (A AND B)
P(A) x P(B)
Calculate the probability (A OR B)
P(A) + P(B) - P(A AND B)
- e.g. (0.3 + 0.7) - (0.7 x 0.3) = 0.79
Calculate the Probability A given B
If the events are independent, the probability is just P(A) - the occurrence of B does not affect the probability of A
A given B - conditional
P(A and B)/P(B)
Bayes Theorem
P(A/B) = P(B/A)P(A) / P(B)
Z score formula
x-mean / standard deviation
Binomial distribution
- Fixed number of independent trials
- 2 possible outcomes ‘success’ and ‘failure’