Friday, July 24, 2015

Technical features correlation vs Cost - Kaggle's Caterpillar Tube Pricing


Wondering if for higher levels of quantity tube technical features are less correlated to the selling price. This could be pretty expectable as the more the quantity the more the discount Caterpillar buyers are likely to ask.
Here I uploaded a script showing this fact for tube diameter (here you find data). Output plot is reported here below. As you can see the slope of the linear model becomes flatter for higher levels of quantity.