Understanding the sum of products
The sum of products is a core building block in statistics. It measures how two variables move together after their average values are considered. A positive value means higher x values tend to pair with higher y values. A negative value means higher x values tend to pair with lower y values.
Why it matters
This calculator is useful for regression, covariance, correlation, and class exercises. You can enter raw paired scores. You can also enter deviation scores when your table already contains values around each mean. The tool then builds a working table, so each product can be reviewed.
Raw score method
For raw scores, the calculator first finds the mean of each variable. It multiplies every x value by its matching y value. It then subtracts the correction term from the raw product total. This creates the corrected sum of products, often written as SP. The same idea is used for SSx and SSy, which measure spread for each variable.
Covariance and correlation
SP is not scaled by sample size. That makes it perfect for formulas, but not always easy to compare across data sets. Covariance divides SP by n minus one for a sample, or by n for a population. Correlation divides SP by the square root of SSx times SSy. This produces a value between negative one and one when variation exists.
Regression use
The regression section uses SP to estimate a straight line. The slope equals SP divided by SSx. The intercept equals mean y minus slope times mean x. These values help predict y from x and show the direction of a relationship.
Good data practice
Always enter paired data in the same order. Each x value must match the y value from the same case, person, trial, or observation. Unequal lists can be trimmed or rejected, depending on your chosen option. Review warnings before using results in reports.
Exports and reporting
Use the CSV export for spreadsheets. Use the PDF export for quick notes. Keep original data with your answer, because statistical results need context.
Small rounding choices can slightly change displayed numbers. Internal calculations keep full precision until output is formatted. For homework, match the decimal places required by your instructor. For research, report method, sample size, and whether sample or population covariance was selected. This supports clear reporting.