-
|
I have a feeling this may be out of scope but I was curious if anyone has had success in creating a linear regression line using column expressions. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
It is not ergonomic to calculate a linear regression in Perspective currently, though this can be done with This is not out of scope though. We can conquer this in a number of ways, but e.g. |
Beta Was this translation helpful? Give feedback.
It is not ergonomic to calculate a linear regression in Perspective currently, though this can be done with
vlookup()and aforloop if all of yourTable's indices can be easily iterated over. It is also difficult to plot one if you calculate the parameters independently due to bugs/misbehavior - e.g."Y Line"and"Y Scatter"seem to erroneously setfloatcolumns as category axes when used in theGroup Byposition, though it is easy to calculate e.g.a * "Sales" + blinear regression from the column"Sales"with knownaandb.This is not out of scope though. We can conquer this in a number of ways, but e.g.
Candlestickcharts calculate a moving average window independently already, which…