Syntax
=RSQ(known_ys, known_xs)Arguments
| Argument | Required | Description |
|---|---|---|
known_ys | Required | The dependent values |
known_xs | Required | The independent values |
How to use RSQ
RSQ takes 2 required arguments. Type =RSQ( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=RSQ({2,3,9,1,8,7,5}, {6,5,11,7,5,4,4})Result Related statistical functions
- QUARTILE.EXCReturns a quartile of the values using exclusive percentiles: 1, 2 or 3.
- QUARTILE.INCReturns a quartile of the values: 0 minimum, 1 first quartile, 2 median, 3 third quartile, 4 maximum.
- RANK.AVGReturns the rank of a number in a list; equal values get the average of their ranks.
- RANK.EQReturns the rank of a number in a list; equal values share the top rank.
- SKEWReturns the skewness of a sample (how lopsided the distribution is).
- SKEW.PReturns the skewness of a whole population.
- SLOPEReturns the slope of the straight line that best fits the data.
- SMALLReturns the k-th smallest number in a list.
- STANDARDIZEReturns how many standard deviations a value is from the mean.