Ends a statistics templates block in the preferences file.
*EndStatsTemplates()Ends a statistics templates block in the preferences file. |
|||||
*EndStatsTemplates()Ends a statistics templates block in the preferences file. |
Syntax |
*EndStatsTemplates() |
Example |
*BeginStatsTemplates() *BeginTemplate("Linear Regression") *BeginText() {N = min({numpts(x), numpts(y)}) } {q = sum(x)} {K = {{N, q}, {q, sum(x^2)}}} {L = {sum(y), sum(x*y)}'} {A = inverse(K)*L} Linear Least Squares Regression over the chosen range index {from} -> {to}
y = A * x + B where A = {A[1]}B = {A[0]} *EndText() *EndTemplate("Linear Regression") *EndStatsTemplates() |
Application |
HyperGraph 2D |
Context |
|
See also |
|