intro to stats Flashcards
what is the probability of both A and B occuring?
P of A x P of B
what is the combination rule?
N! / r!(N-r)!
where N = group/sample size
where r = pairs, triplets etc.
when is the Wilcoxon Rank-Sum Test used?
to test for a statistically significant difference between 2 different groups
how to work out significance using the Wilcoxon Rank-Sum Test?
rank all of the data, irrespective of the group it’s in, starting at 1 until the end number
calculate the sum of the ranks in the group with the lower n or if the same, the lower total
result is significant if calculated (W) value is less than or equal to the Wilcoxon value
how to rank 2/3 etc. of the same number in a WIlcoxon Rank-Sum Test?
take the ranks of both/all the number and calculate the mean of them
name three measures of central tendency
mean
median
mode
what type of sttistics are measures of central tendency?
descriptive statistics
when is the only time you would use a 1 tailed hypothesis/test?
if there is previous research indicating a certain outcome
how to work out significance using Wilcoxon matched-pairs test?
calculate the difference between each pair (same persons scores in 2 different conditions)
remove pairs whose difference is 0 and adjust N accordingly
rank the differences, ignoring the sign, from lowest to highest
calculate the sum of the ranks of positive differences and sum of rank of negative differences
T value is the smallest group of either positive or negative
result is significangt if T value is less than or equal to value in the table
what is the formula for the binomial test and what does each letter mean?
prob (X) = ( N! / X! (N-X)! ) x ( p^x ) ( q^n-x )
n = total number of people x = number in group p = probabilty of being in group x q = probabilty of not being in group x
how to do the N-by-1 chi square?
calculate the expected values by finding the mean of the data set
apply the formula (O-E)^2/E and add up all the values
calcultae degrees of freedom (N-1)
compare to the critical value
significant if calculated value is more than the crtical value
how to do the contingency chi square test?
add up the row and column totals
calculate the expected frequency of a cell by doing the row total x column total / overall total
apply the formula (O-E)^2 / E and add up all the values
calculate degrees of freedom by doing number of rows -1 x number of columns -1
work out critical value and significant if calculated value is more than critical value
how to do the vairance test?
- work out the mean for the group
- do each observation minus the mean
- square each value
- add all the values up and divide by N -1
- do the same for the other group
- divide the larger variance by the smaller variance to get the F value
- find the degrees of freedom for both the groups
- use the d.f of the larger vairance on the top and the d.f of the smaller variance across the side to find the critical value
- significant if F is larger than the critical value
how to do the Z test?
when 1 participant and 1 observation normally distributed
1) calculate the Z value using Z = (X - mean) / standard deviation
(X means the observed value)
2) work out whether 1 or 2 tailed depending on info given in question
3) find teh Z score in the table
4) find corresponding p value
5) if 2 tailed then double the p value
6) significant if p<0.05
what is the standard deviation in relation to the variance?
the standard deviation is the square root of the variance