Statistical Calculations Flashcards
(8 cards)
How do you calculate range
Range = Max (π₯π) β Min (π₯π)
- Identify the maximum value in your data
- Identify the minimum value in your data
- Subtract the minimum from the maximum.
How do calculate sample variance
π Β² = (β(π₯π β xΜ)Β²) / π β1
- Calculate the mean xΜ of the data
- Subtract the mean from each data point to get the deviation
- Square each deviation
- Sum all the squared deviations
- Divide the sum by (sample size minus 1) to get the sample variance.
How do you calculate the standard deviation
π = β π Β²
1. Find the sample variance π Β²
2. Take the square root of the sample variance to find the sample standard deviation
How do you calculate the IQR
IQR = Qβ β Qβ
- Sort your data in ascending order
- Find Qβ (the 25th percentile) - the value below which 25% of the data lies
- Find Qβ (the 75th percentile) - the value below which 75% of the data lies
- Subtract Qβ from Qβ to get the Interquartile Range (IQR)
How do you calculate population variance
Formula (Population Variance):
πΒ² = β(π₯π β π)Β² / π
Where:
π is the population mean (average of the entire population).
π is the population size (total number of data points in the population).
- Find the population mean π
- Subtract the population mean from each data point: (π₯π β π)
- Square each deviation
- Sum all squared deviations
- Divide the sum by π (the total population size) to get the population variance πΒ²
How do you calculate standard error
SE = π / β π
β
1. Find the sample standard deviation π
2. Find the sample size π
3. Divide π by the square root of π to get the standard error.
How do you calculate coefficient of variation
CV = (π / xΜ) x 100%
- Find the sample standard deviation π
- Find the sample mean xΜ
- Divide π by xΜ then multiply by 100 to get the coefficient of variation as a percentage.
How do you calculate a 95% confidence interval
CI = xΜ Β± z x (π / β π)
Where:
xΜ = Sample mean
π§ = Z-value corresponding to a 95% confidence level (approximately 1.96 for a normal distribution)
π = sample standard deviation
π = sample size
- Calculate the sample mean
- Calculate the sample standard deviation
- Find the Z-value for 95% confidence (typically 1.96)
- Calculate the Standard Error
- Multiply the Z-value by the Standard Error to get the margin of error
- Calculate the Confidence Interval by adding and subtracting the margin of error from the sample mean