Method: Statsample::Regression::Simple#y
- Defined in:
- lib/statsample/regression/simple.rb
#y(val_x) ⇒ Object
Obtain y value given x value x=a+bx
22 23 24 |
# File 'lib/statsample/regression/simple.rb', line 22 def y(val_x) @a+@b*val_x end |