Statistics for Study of residual stress in a thin platinum layer by means of nondestructive x-ray diffraction