Calculate comprehensive quality statistics from numeric scores
Array of numeric quality scores
Statistical summary including mean, median, quartiles
const stats = calculateQualityStats([30, 35, 40, 35, 30]);console.log(`Mean quality: ${stats.mean.toFixed(1)}`);console.log(`Median quality: ${stats.median}`); Copy
const stats = calculateQualityStats([30, 35, 40, 35, 30]);console.log(`Mean quality: ${stats.mean.toFixed(1)}`);console.log(`Median quality: ${stats.median}`);
Calculate comprehensive quality statistics from numeric scores