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