Regression weights as a function of test length