Regress computes the linear correlation between provided data X an Y.
Public Member Functions | |
| Regress (Simulation *s, Label title) | |
| Construction. | |
| virtual | ~Regress () |
| Destruction. | |
| void | update (double vx, double vy) |
| Update statistics. | |
| virtual void | reset () |
| Reset statistics. | |
| bool | hasSufficientData () |
| Has sufficient data for a regress analysis? | |
| double | getXBar () |
| double | getYBar () |
| double | getDx () |
| double | getDy () |
| double | getV1 () |
| double | getV2 () |
| double | getV3 () |
| double | getV4 () |
| double | getV5 () |
| virtual void | report (Report *r) |
| Report generation. | |
Protected Attributes | |
| double | x |
| double | y |
| double | xx |
| double | xy |
| double | yy |
1.3