# STEYX Function

> Return the standard error of predicted y-values of a linear regression with STEYX in TX Sheet Control: known y and x values, #DIV/0! and an example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > STEYX Function
- **216 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/steyx/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/steyx/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/steyx/llms-full.txt

---

Return the standard error of the predicted y-values of a linear regression. STEYX measures how far the points of `known_y` and `known_x` lie from the regression line, as the standard error of each predicted y-value. Fewer than three points return `#DIV/0!`. STEYX takes two arguments; a third argument, the name `x` in the syntax, returns `#VALUE!`.

### Syntax

```text
STEYX(known_y, known_x, x)
```

Category: Statistics. Minimum arguments: 2. Maximum arguments: 2.

Available for supported offline calculation.

### Examples

```text
=STEYX({1,2,3},{2,4,6})
```

The formula returns 0, because the three points lie exactly on a line.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [STDEV.S Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/stdev-s/llms-full.txt)
- **Next:** [STOCKHISTORY Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/stockhistory/llms-full.txt)
