I’ve learned how to perform multi-linear regression using Apache Commons Math3, to create polynomial lines of best fit for orders 1 (linear) through 6, in just over one-tenth of a second. This was a critical piece to being able to actually transform drawings of pixels on screen into meaningful entities to use in equations – and it’s very accurate, and very fast.

I used data from the NHANES 3 surveys for age and hand length (in centimeters) for ages 8 through 16. This is part of the data I’ll use to calculate the size of people’s hands, which affect everything from what size gloves they’ll be able to wear, to the measurement of their Thumb Crotch Length (TCL):

It turns out that your TCL is directly related to the ‘ideal’ diameter of anything you grip, affecting your maximum voluntary grip force. In other words, depending on the size of your hand, there’s a definite, mathematical way to figure out just how wide the hilt of that blade needs to be in order for you to most efficiently cleave through your enemies – or just how thick the rope tied to their corpses should be to make it easiest for you to drag them, with a maximum of efficiency and a minimum of discomfort and fatigue.
Tonight was a great success. Next step: calculate R2 (ranges from no fit at 0.0 to perfect fit at 1.0) for these formulas, to see just how well the lines themselves do fit the data, and be able to choose the best one for the best situation. Mid-Ocean Ridges, you’re fast approaching.