Prior Selection by an Adaptive Smoothing Splines Approach