Statistical analysis
Introduction / Definition
Statistical analysis summarizes data and helps identify patterns, differences, relationships, and uncertainty. Descriptive measures include mean, median, variance, and standard deviation. Inferential methods estimate parameters or test hypotheses. The chosen method should match the data and research design.
Framework / Formula / Structure
Mean: x̄=(1/n)Σxᵢ; Variance: s²=(1/(n−1))Σ(xᵢ−x̄)²
Detailed Explanation
Clean data first, inspect distributions and outliers, then apply suitable statistical methods. Report uncertainty and effect size where appropriate.
Example
Example: Execution times \[10,12,11\] ms have x̄=(10+12+11)/3=11 ms.
Output / Expected Result
The mean execution time is 11 ms.
Important Points / Notes
- Mean is sensitive to outliers.
- Median is more robust to extreme values.
- Check statistical assumptions.
Mini Practice Question
Find the mean of 8, 10, 12, and 10.