calqulio.
◎ English · Global

Sum of x y products — Regression Slope from Summary Sums Calculator

Regression Slope from Summary Sums: Calculate sum of x y products from Regression slope, Paired sample size, Sum of x, Sum of y, Sum of squared x. Check the formula, input units and worked result on this page.

Enter your values

Formula symbol: slope. Enter a numeric value.
Formula symbol: n. Enter a numeric value. Use a whole number. Must be greater than zero.
Formula symbol: sx. Enter a numeric value.
Formula symbol: sy. Enter a numeric value.
Formula symbol: sxx. Enter a numeric value. Use a non-negative value.

Use a decimal point, without thousands separators.

All sums need the same paired observations and positive x spread. This solves the slope relation, without raw-data validation, prediction intervals or causal claims.
Example result
Sum of x y products
60

The initial result uses the example values. Enter your own values and calculate again.

Edit inputs

How it works

An ordinary least-squares slope with intercept is obtained from sample size and paired x/y summary sums. This form solves for sum of x y products; enter the known quantities in Regression slope, Paired sample size, Sum of x, Sum of y, Sum of squared x.

Inputs and units
Sum of x y products — Regression Slope from Summary Sums Calculator · Inputs and units
InputExample valueWhat to enter
Regression slope2Formula symbol: slope. Enter a numeric value.
Paired sample size4Formula symbol: n. Enter a numeric value. Use a whole number. Must be greater than zero.
Sum of x10Formula symbol: sx. Enter a numeric value.
Sum of y20Formula symbol: sy. Enter a numeric value.
Sum of squared x30Formula symbol: sxx. Enter a numeric value. Use a non-negative value.
sxy = (((slope * ((n * sxx) - (sx ^ 2))) + (sx * sy)) / n)

Worked example

Show example inputs and results

This example is generated by the same calculation engine using the starting values in the form. Your own inputs produce your own result.

Regression slope
2
Paired sample size
4
Sum of x
10
Sum of y
20
Sum of squared x
30

Complete example results

Sum of x y products
60

Reading the result

The result solves for sum of x y products from the entered quantities. Check the result unit and the formula conditions before using it.

Questions and answers

Can I use the example values for my own calculation?

The example values illustrate the calculation. Replace every input with your own information, especially dates, rates and the selected operation.

When can I use the sum of x y products result?

All sums need the same paired observations and positive x spread. This solves the slope relation, without raw-data validation, prediction intervals or causal claims.

Why are some results rounded?

Results display up to 8 decimal places. Calculations use the unrounded values; very small values use scientific notation. JavaScript floating-point arithmetic can introduce tiny rounding differences.

Are my inputs sent to a server?

The calculator processes inputs in your browser. Its code does not send your values to a server.

Method sources: itl.nist.gov

Methods & accuracy

What would you like to calculate?

Browse all calculators

Graphing calculator ↗