JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Gallery
StatKit Demo
Overview
Linear Models
K Means Clustering
More
Share
Explore
Linear Models
Basic
Here’s how we can use an equation (
y = 1 (x_1) + 0
) to make predictions. Making the equation is as simple as typing in a Coda formula referencing lists (or columns) of data.
x_1:
10
Prediction:
10
Data for Basic Model
Data for Basic Model
1
2
3
y=x
x
y=x
x
1
1
2
2
3
3
There are no rows in this table
MultiInput
Here’s how we can use an equation (
y = 0.5492162435679556 (x_1) + 1.0993361202567526 (x_2) + 5.022340004823343
) to make predictions. Making the equation is as simple as typing in a Coda formula referencing lists (or columns) of data.
x_1:
10
x_2:
10
21.50786364307043
Data for MultiInput Model
Data for MultiInput Model
1
2
3
y=x_1 + 5*x_2 + 10
x_1
x_2
y=x_1 + 5*x_2 + 10
x_1
x_2
77
1
15
13
2
2
54
3
10
There are no rows in this table
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.