Difference between revisions of "Documentation/How Tos/Calc: STEYX function"
From Apache OpenOffice Wiki
< Documentation | How Tos
m |
m |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:STEYX function}} |
+ | {{Documentation/CalcFunc StatisticalTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_SLOPE_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_LARGE_function | ||
+ | }}__NOTOC__ | ||
== STEYX == | == STEYX == | ||
Line 30: | Line 35: | ||
: where the x values in A2:A6 are 1, 2, 3, 4, 5 and the y values in B2:B6 are 2, 4, 7, 8, 10 returns approximately <tt>'''0.51'''</tt>. The equation of the straight line found is very nearly <i>y</i> = 2<i>x</i>, and would be if B4 contained 6. The standard error is therefore quite small. | : where the x values in A2:A6 are 1, 2, 3, 4, 5 and the y values in B2:B6 are 2, 4, 7, 8, 10 returns approximately <tt>'''0.51'''</tt>. The equation of the straight line found is very nearly <i>y</i> = 2<i>x</i>, and would be if B4 contained 6. The standard error is therefore quite small. | ||
− | {{ | + | {{SeeAlso|EN| |
* [[Documentation/How_Tos/Calc: FORECAST function|FORECAST]] | * [[Documentation/How_Tos/Calc: FORECAST function|FORECAST]] | ||
* [[Documentation/How_Tos/Calc: INTERCEPT function|INTERCEPT]] | * [[Documentation/How_Tos/Calc: INTERCEPT function|INTERCEPT]] |
Latest revision as of 14:47, 2 February 2024
Spreadsheet Lookup functions
Measures of dispersion / spread
Probability and statistics
Correlation and line fitting
See also (in the Arrays Functions category); GROWTH, LINEST, LOGEST, TREND
Ranking
< {{#switch:Previous Page | Previous Section = Previous Section | Next Section = Next Section | Previous Page = Previous Page | Next Page = Next Page | }} | {{#switch:Next Page | Previous Section = Previous Section | Next Section = Next Section | Previous Page = Previous Page | Next Page = Next Page | }} > |
STEYX
Fits a straight line to data using linear regression and returns the standard error of y values.
Syntax:
STEYX(yvalues; xvalues)
- yvalues and xvalues are single row or column ranges specifying points in a set of data. yvalues and xvalues must be the same size.
- STEYX in effect fits a straight line through these data points, using the linear regression method (least squares). It then returns the standard error of actual y values compared to y values on the straight line found.
- The equation of a straight line may be given as y = a + bx. The linear regression method calculates:
- and
- where yi are the actual values and yi' are the computed values on the line.
- Advanced topic:
- The parameters xvalues and yvalues are always evaluated as array formulas.
Example:
STEYX(B2:B6; A2:A6)
- where the x values in A2:A6 are 1, 2, 3, 4, 5 and the y values in B2:B6 are 2, 4, 7, 8, 10 returns approximately 0.51. The equation of the straight line found is very nearly y = 2x, and would be if B4 contained 6. The standard error is therefore quite small.
{{#switch:EN
| RU = Смотрите также:
| UA = Дивіться також:
| EN = See Also
| PT = Ver também
| #default = See Also
}}