Skip to main content

%DeepSee.extensions.utils.SimpleRegression

Class %DeepSee.extensions.utils.SimpleRegression Extends %RegisteredObject [ System = 4 ]

Properties

N

Property N As %Integer;

Sx

Property Sx As %Double;

Sx2

Property Sx2 As %Double;

Sy

Property Sy As %Double;

Sy2

Property Sy2 As %Double;

Sxy

Property Sxy As %Double;

Slope

Property Slope As %Double;

Intercept

Property Intercept As %Double;

R

Property R As %Double;

Methods

%OnNew

Method %OnNew(initvalue As %RawString) As %Status [ Private, ServerOnly = 1 ]

add

Method add(x As %Double, y As %Double) As %Status

result

Method result(Output b As %Double, Output y0 As %Double, Output r As %Double) As %Status

test

ClassMethod test(b As %Double = 1, a As %Double = 3, e As %Double = 0.1, n As %Integer = 100) As %Status