Class: MaximumLikelihoodSlope
Constant Summary
Constants included
from TeguGears
TeguGears::REPOSITORY_CLASS
Instance Method Summary
collapse
Methods included from TeguGears
included
Instance Method Details
#process(x, y) ⇒ Object
30
31
32
33
|
# File 'lib/examples/regression.rb', line 30
def process(x, y)
raise ArgumentError, "x and y need to be the same size" unless x.size == y.size
b = SSXY.call(x, y) / SSX.call(x)
end
|