Statistics Flashcards
when do we use a spearman’s rank test?
used when looking for CORRELATION between two variables,
e.g. smoking and lung cancer.
when do we use a student T-test?
used if looking at the difference between two MEAN VALUES.
e.g. height in males and females.
when do we uuse a Chi2 test?
for when associations in CATEGORIC data is being investigated
e.g. how many men and women stopped/
did not stop at the traffic lights!
what is a Null Hypothesis?
a prediction which assumes that the independent variable will not have an affect on the dependent variable
or no difference between observed and expected frequencies
give an example of a Null hypothesis?
fertiliser does not affect the distribution of species
what is an alternative/experimental hypothesis?
Assumes that there will be a significant difference between the observed and expected frequencies
e.g fertiliser does affect the distribution of plant species
Chi squared test (x^2)
what does this statistical test (chi squared) measure?
a statistical test to compare observed frequencies with expected frequencies, which help decide the significance of results
when is a chi squared test used?
used when:
- there are two sets of frequencies (categoric data)
- the total number of observations should be 20
- the expected frequency in any category is 5 or more
what is the equation used to calculate chi squared?
x^2 = Σ(O-E)^2/ E
Σ = sum of
o = observed data
E = expected data
How can E be calculated?
e can be calculated as the mean of the observed data or with a contingency table
E = raw total x column total / grand total
how to carry out a chi squared test?
- justify choice of statistic
- write a null hypothesis
- calculate the expected value
- calculate x^2
- work out the degrees of freedom
- compare the x^2 against the critical value
- make conclusions
how do we calculate the degrees of freedom?
n-1
n = number of categories
when is chi squared considered to be significant and insignificant?
if the calculated value is greater than the critical value, then the null hypothesis can be rejected and there is no significant difference between the…
- if calculate value of X^2 > critical value - reject null hypothesis
- if calculated value is < critical value - accept the null hypothesis
spearman’s rank