Example functions for modeling data
The elementary functions in the Tuva function editor, each fit to a small example dataset.
Last reviewed: November 2020
The function editor fits linear and non-linear functions to a scatter plot. This page shows seven of them, each with the constants fit to a small example dataset.
To try one, drag two numeric attributes onto the axes, open the Model Data menu in the toolbar and choose f(x). In the Modeling Card, use the arrow next to the formula (Select Predefined Functions) to pick a function, then change its constants. For the steps, see Create a non-linear model.
The example data are made up for this page, except the planet orbits, which are real values. The menu also holds variants of these functions, such as a shifted parabola, y = a·(x − h)^2 + k.
Linear
Section titled “Linear”y = m·x + b

Inverse
Section titled “Inverse”y = k/x

Quadratic
Section titled “Quadratic”y = a·x^2

Power law
Section titled “Power law”y = a·x^p

Square root
Section titled “Square root”y = a·√x

Exponential
Section titled “Exponential”y = a·b^x

Sinusoidal
Section titled “Sinusoidal”y = a·sin(x)

Was this page helpful?
This opens the ticket form with your comment and a link to this page, so we can reply to you.
Submit a ticket