Changeset 730 for trunk/yat/regression/Linear.cc
 Timestamp:
 Jan 6, 2007, 12:02:21 PM (16 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/yat/regression/Linear.cc
r729 r730 66 66 67 67 alpha_ = ap_.y_averager().mean(); 68 beta_ = ap_. covariance() / ap_.x_averager().variance();68 beta_ = ap_.sum_xy_centered() / ap_.x_averager().sum_xx_centered(); 69 69 70 70 // calculating deviation between data and model
Note: See TracChangeset
for help on using the changeset viewer.