Revision Flashcards
4 parts of statistics -
What is descriptive statistics?
Summarising data usefully
4 parts of statistics -
What is inference statistics?
(Interpolation) Measured data telling us things about unmeasured data
4 parts of statistics -
What is significance statistics?
Are the data collected or analysis made meaningful?
P-value
4 parts of statistics -
What is prediction statistics?
(Extrapolation) What does the data we have lead us to expect in different situations?
Probability distributions - what’s on the x and y axis?
X-axis = outcomes Y-axis = probability
State the characteristics of the nominal measurement scale (10% of marks)
Nominal data are where individuals have been categorised.
An example -
- Data on first languages of students on the geography course.
- There’s no inherent order to these categories.
- A single nominal variable can only have one value (one first language).
State the characteristics of the ordinal measurement scale (10% of marks)
Individuals ranked according to criterion / individuals ranked into sorted categories
No standard value for the difference between the ranks they’re just 1st 2nd and 3rd.
Example - top Welsh Universities of 2019
1st = Swansea University
2nd = Aberystwyth University
3rd = Bangor University
4th = Cardiff University
State the characteristics of the interval measurement scale (10% of marks)
Numerical measurement data that has an arbitrary origin
Examples include - temperature scales of degrees Celsius or Fahrenheit. - pH values in a lake.
Both data sets can go below zero.
State the characteristics of the ratio measurement scale (10% of marks)
Numerical measurement data that has a meaningful origin where 0 means zero.
Examples include lengths and quantities eg metres or amount of people.
Amounts can be doubled and it’s twice as much
(2m doubled is 4 metres)
What are data?
- what’s a population
A whole body of individuals of whom we are interested
What are data?
- what are the individuals?
Individuals of the population
Eg- the towns in a country
Each row corresponds to an individual
Each column corresponds to a variable
What are data?
- what are the variables?
Variables are the amount of schools / population / amount of cars per household in the town being measured
Each row corresponds to an individual
Each column corresponds to a variable
What are data?
- what is a sample?
A collection of individuals drawn from a population.
It’s is rarely practical to obtain data for a whole population.
What are the measures of central tendency
Mean median and mode
What are the measures of dispersion
(Simple) range Inter-quartile range Standard deviation (and variance) Skewness Kurtosis
What is the mean
The sum of values in a data set divided by the number of observations
What is the median
The middle observation / average of the two middle observations
What is the mode
The value that has the highest frequency
What is the range
The difference between the smallest and largest values in a dataset
What is the inter-quartile range?
The difference between the lowest quarter and highest quarter of ranked values in a dataset
What’s the standard deviation
It measures the dispersion around the mean
What is the variance
Square of the standard deviation
Often used to compare variables measured in different units
What is the Skewness
Indicates how a dataset is distributed about the central value - how symmetrical is the distribution?
Helpful to decide if the data is useful for a parametric test or not
What is the kurtosis
Measures the extent to which data are concentrated in one part of the frequency distribution - how peaky is the distribution?
Explain what the relationship between the mean, median and mode of a dataset reveals about its skewness. (20% of marks)
If mean > median > mode, then the skew is positive (to the right)
If mean = median = mode, then the skewness = 0 (AKA symmetrical)
If mean < median < mode, then the skew is negative (to the left)
What are the different types of kurtosis?
Positive kurtosis = leptokurtic (taller, narrower) (kurtosis > 0)
Zero kurtosis = mesokurtic (normal distribution) (kurtosis = 0)
Negative kurtosis = platykurtic (lower, wider) (kurtosis < 0)
Explain the common elements of statistical tests
- a question about the data
- hypothesis H1 or H0 (default = null hypothesis)
- tests may be one-tailed or two-tailed
- the test gives us a significance level for the answer
- allows us to say how confident we are in the result
What is significance?
Significance = (p-value) is the probability that the result is due to chance / the null hypothesis is true
OR if the null hypothesis were true, how likely would the observed outcome be?
Therefore we want the p-value / significance to be small if we want to reject the null hypothesis
Typically we want is less than 0.05 or even 0.01
What is confidence?
The probability that the result isn’t due to chance, expressed as a %.
Can be calculated by subtracting the significance from 1 and multiplying by 100.
Decide to start at 0.05 significance (95% confidence) then go down to 99% confidence if possible
Name two 1-tailed tests …
T-test
Correlation
Why are 1-tailed tests useful
Useful if we think we can see a pattern in the data at the offset
It’s a more stringent test therefore more useful
What are parametric tests?
Give examples
Variables with normal distributions More powerful than non-parametric tests Examples - T-test Correlation Regression
What is a normal distribution?
Applies to many quantities where values are clustered around a mean value
Many variables in geography are (assumed to be) normally-distributed
This is when you use parametric statistical tests
How much % of a data set lies within 1,2 or 3 standard deviations?
68% within 1 SD
95% within 2 SD
99% within 3 SD
When designing research … what questions?
What are your research questions?
What’s the population?
What are the variables?
What type of data? (Nominal, ordinal, scale (interval or ratio))
Always start with scale data first if possible
What statistical tests are appropriate?
What statistical test is nominal data limited to?
Chi squared??
Hypotheses - what’s the null and alternative and which one should be always assume is correct?
Null hypothesis (H0) = no significant difference Alternative hypothesis (H1) = there is a significant difference Always assume the null hypothesis is correct
What is accuracy?
A measure of how close the result of the experiment is to the true value (lack of bias) - therefore it is a measure of correctness of the result
What is precision?
A measure of how well the result has been determined, without reference to its agreement with the true value - it is a measure of the reproducibility of the result
When does bias arise?
When the sampling method over or under -represents particular characteristics of the population.
Fundamentals of sampling -
For the individuals in a population, sampling should be equal and independent.
This means:
- All individuals have the same chance of inclusion
- The inclusion of a given individual should not affect the chance of selection of any other individual
What are the non-parametric test equivalents of the parametric students t-test?
Mann Whitney u test
Kruscal wallace test
Chi squared
What’s the standard error of a mean?
Quantifies the probable relationship between the sample mean and the population mean
Quantifies the width of the sampling distribution
If we measure a particular sample mean, how close to the population mean is that likely to be?
Equivalent to the standard deviation of the sampling distribution
- The standard error is the sampling distributions own special version of the standard deviation
What 2 statistical tests could you use for correlation?
Pearsons product moment correlation coefficient (for interval and ratio data)
Spearmans rank correlation coefficient (for ordinal data)
What does ‘there is a relationship between x and y’ mean?
As x increases, y increases
What does ‘there is an association between x and y’ mean?
As x changes, y changes
What does ‘there is a positive / negative correlation between x and y’ mean?
x and y are positively / negatively correlated
What are the two types of t-test?
1) comparing the means of sample and population (allows us to calculate using an estimate of the population mean)
2) comparing means of two samples
What statistician devised the students t test?
William sealy gosset (1876-1937)
Employed by Guinness
For the T-test sample Vs population comparison, how do we estimate the standard deviation?
Use the sample
What does the T-statistic represent?
The difference between the means, scaled by an estimate of the standard error
Gives us a measure of the overlap between the two samples
Can be positive or negative
What is a P-P or a Q-Q plot?
Plot of quantities (or proportions) of a variables distribution against the quantities (or proportions) of any of a number of test distributions
What are probability plots used to determine?
Whether the distribution of a variance matches a given distribution
If the selected variable matches the test distribution, the points cluster around a straight line
What is a confidence interval?
Calculated from the standard error
It’s the range of values in which we are confident the true population mean lies
Imagine we want to be 95% confident the true mean lies within our confidence interval. This means there must only be a 5% chance that it lies outside the interval.
What’s a type 1 error?
If we conclude there is a relationship / pattern / presence where none exists (false positive)
What is a type 2 error?
If we conclude there is no relationship / pattern / presence where in fact one does exist (false negative)
Is a type 1 or type 2 error worse?
We would prefer to make a type 2 error than a type 1 error (dependent on the scenario)
Give an example of a bad type 2 error
‘Love canal’
Land contamination
Concluded there was no contamination when there was in fact contamination.
Former landfill site
22,000 tonnes of chemical waste, heavy rain in 1977 caused chemicals to come to the surface and turn the new neighbourhood into a toxic waste area.
Give an example of a bad type 1 error
‘Andrew Wakefield’
Link between MMR vaccine and autism in children
Type 1 error - inferred a casual relationship between receiving a vaccine and developing autism, when no relationship exists.
How do you prevent type 1 and type 2 errors?
Don’t use statistical tests blind - challenge and test them for robustness
Think about how big a sample you need before collecting data
What axies do the independent and dependent variables go on
Independent = x-axis (distance from smelter) Dependent = y-axis (acidity - acidity of lake is caused by distance to smelter)
What are the two main tests for correlation?
Pearsons product-moment correlation coefficient (interval / ratio data)
Spearmans rank correlation coefficient (ordinal data)
What is a misleading statistic?
Misuse of numerical data (whether purposeful or not)
Results in misleading the reader
What’s the difference between purposeful and selective bias?
Purposeful bias deliberately influences data by omission or adjustment. Selective bias is deliberately sampling certain demographic and/or misrepresenting the sample
What is data fishing?
Large volumes of data are analysed to explore relationships and potential correlations
Undertaken without initial hypothesis which makes it misuse
What does correlation tell us?
If there is a statistically significant relationship between two variables x and y
What is a residual?
It is unlikely that the regression line will fit through all of the observed values
The predicted value of the dependent variable (ŷ) will be different from the observed value (y) for any particular value of x.
These deviations (ŷ-y) are known as residuals from the regression.
Smaller the residual - better the fit
The difference between the line and the data points (predicted and actual values of y)
Homoscedasticity ….
What are the differences between homoscedastic and heterscedastic data?
Homoscedastic = variation around the fitted line is the same at all points along it
Heteroscedastic = variation around the fitted line varies
What’s the difference between correlation and regression?
Correlation tests relationship between two variables,
Regression requires us to identify independent and dependent variables
What is the f statistic used for in regression ?
To determine if the overall fit is significant